Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (28 sloc) 1.03 KB

Quick notes while I am developing learning python

Project structure

http://docs.python-guide.org/en/latest/writing/structure/

Testing:

https://github.com/spulec/moto http://echorand.me/replacing-boto-s3-mocks-using-moto-in-python.html

Libraries

Tabulate and align: https://pypi.python.org/pypi/tabulate/

Dont forget to add

  • A docker file
  • A travis file for CI
  • A public docker image in docker hub
  • An AWS instance where all this is installed

More indexes than the one per bucket:

By storage type By storage and by region By storage and by bucket

Async to process buckets in parallel

https://github.com/aio-libs/aiobotocore Problem: asyncio for aws seems flaky and low-level. The mock lib moto wont work This looks more main stream: https://www.ploggingdev.com/2017/01/multiprocessing-and-multithreading-in-python-3/ https://docs.python.org/3/library/multiprocessing.html