|
1 |
| -# nlw-python |
2 |
| -A Python project using Flask. |
| 1 | +<h1 align="center"> |
| 2 | + <img |
| 3 | + alt="Python-barcode" |
| 4 | + title="Python-barcode Logo" |
| 5 | + src="./assets/logo.svg" |
| 6 | + width="300px" /> |
| 7 | +</h1> |
| 8 | + |
| 9 | +<h4 align="center">A Python project using Flask for generating barcodes. This project belongs to Rocketseat's event called NLW-Experts.</h4> |
| 10 | + |
| 11 | +<center>  |
| 12 | + |
| 13 | +## ⚙️Techs: |
| 14 | +- [Virtualenv](https://pypi.org/project/virtualenv/) |
| 15 | +- [Pylint](https://pypi.org/project/pylint/) |
| 16 | +- [Pre-commit](https://pre-commit.com/) |
| 17 | +- [Flask](https://pypi.org/project/Flask/) |
| 18 | +- [Python-barcode](https://pypi.org/project/python-barcode/) |
| 19 | +- [Pillow](https://pypi.org/project/pillow/) |
| 20 | + |
| 21 | +## 🔗Useful links: |
| 22 | +- [Notion](https://efficient-sloth-d85.notion.site/NLW-14-Expert-9e11ff472de64b08a5f9e277a20c3ecc) |
| 23 | +- [Event Website](https://www.rocketseat.com.br/eventos/nlw) |
| 24 | +- [Wallpapers](https://drive.google.com/drive/folders/1bdX5SIrw6MBBqBkZgryc4H_omPQhuPx-) |
| 25 | + |
| 26 | +## 📋Notes: |
| 27 | +<details> |
| 28 | + |
| 29 | +<summary>⏰Day-1</summary> |
| 30 | +- Adding Pylint to project |
| 31 | +- Adding pre-commit to project |
| 32 | +- Adding server base params, including route and feature for generating barcode |
| 33 | +- Adding and update the requirements |
| 34 | +- Adding README.md and LICENSE |
| 35 | + |
| 36 | +**Pylint and naming conventions**: |
| 37 | +```py |
| 38 | +def my_func(): # snake_case -> Functions, Variables, Methods |
| 39 | + print('Ola') |
| 40 | + |
| 41 | +def myFunc(): # camelCase -> It's not the usual default. |
| 42 | + print('Ola2') |
| 43 | + |
| 44 | +class MyFunc: # PascalCase -> Classes |
| 45 | + |
| 46 | +SCREAMING_SNAKE_CASE: # -> Const |
| 47 | + |
| 48 | +``` |
| 49 | +---- |
| 50 | +**Requirements**: <br> |
| 51 | +When we want to keep a record of installed dependencies and their versions, we use this command in the terminal. |
| 52 | +```sh |
| 53 | + .venv\Scripts\pip3 freeze > requirements.txt |
| 54 | +``` |
| 55 | +</details> |
| 56 | + |
| 57 | +<details> |
| 58 | + |
| 59 | +<summary>⏰Day-2</summary> |
| 60 | + |
| 61 | +</details> |
| 62 | + |
| 63 | +<details> |
| 64 | + |
| 65 | +<summary>⏰Day-3</summary> |
| 66 | + |
| 67 | +</details> |
0 commit comments