pfxposter/data
Umut Karcı e01b61143d
1- example `updated` timestamp replaced to epoch
2- __init__ or another file shouldn't be used as a main entry point. __main__ is the correct way. python3 -m pfxposter will work this way.
3- renamed pfxposter to poster, easier to import, easier to understand.
4- moved all stuff into functions, this is cleaner, hope for the cleanest code for all.
5- pip3 is not the best way, python3 -m pip is better due to pip3 may be in a different PATH than your virtual environment.
6- requests must be in requirements for development and setup.py for installation. Excluding it to not break the OS is just a bad workaround.
7- textwrap.dedent and triple quotes helps with readability
8- when using regular expressions, you should use raw strings (strings that ignores escape sequences like `\s`)
9- os._exit(0) is an immediate exit, sys.exit(0) will also exit the software but after flushing any open buffers and running any atexit callbacks.
10- breaking long chain calls is more readable
2020-08-24 14:10:20 +03:00
..
config.toml 1- example `updated` timestamp replaced to epoch 2020-08-24 14:10:20 +03:00