├── .gitattributes ├── .gitignore ├── Chapter02 ├── Listings.txt ├── Listings.txt~ ├── a1.py ├── a2.py ├── a_text.py ├── a_text2.py ├── b1.py ├── b_text.py ├── b_text2.py ├── codecomments.py ├── codecomments2.py ├── codecomments3.py ├── codecomments4.py ├── codecomments5.py ├── codecomments6.py ├── codecomments7.py ├── factorial.py ├── loop1.py ├── loop2.py ├── metrictest.py ├── metrictest1.py ├── metrictest2.py ├── metrictest_fix1.py ├── metrictest_fix2.py ├── power.py ├── rankbase.py ├── textrank.py ├── textrank2.py ├── urlrank.py └── urlrank2.py ├── Chapter03 ├── .cache │ └── v │ │ └── cache │ │ └── lastfailed ├── .coverage ├── Listings.txt ├── datetimehelper.py ├── factorial.py ├── fakelogger.py ├── palindrome1.py ├── palindrome2.py ├── palindrome3.py ├── selenium_testcase.py ├── test_datetimehelper1.py ├── test_datetimehelper2.py ├── test_datetimehelper_object.py ├── test_palindrome1.py ├── test_palindrome2.py ├── test_palindrome3.py ├── test_textsearch.py ├── textsearcher.py └── url_data.py ├── Chapter04 ├── Listings.txt ├── big_o.py ├── bloomtest.py ├── chainmap_example.py ├── common_items.py ├── defaultdict_example.py ├── hound_words.py ├── mem_profile_example.py ├── named.py ├── objgraph_example.py ├── ordered.py ├── plot.py ├── primes.py ├── rotate.py ├── sub_string.py └── sub_string2.py ├── Chapter05 ├── Listings.txt ├── async_fetch_url.py ├── async_fetch_url2.py ├── asyncio_tasks.py ├── celery_mandelbrot.py ├── concurrent_factorial.py ├── concurrent_thumbnail.py ├── create_random_nums.py ├── generator_tasks.py ├── mandelbrot.py ├── mandelbrot_mp.py ├── mandelbrot_tasks.py ├── prime_joblib.py ├── prime_process.py ├── prime_thread.py ├── requirements.txt ├── sort_counter.py ├── sort_counter_mp.py ├── sort_in_memory.py ├── thumbnail_converter.py ├── thumbnail_limit_lock.py ├── thumbnail_limit_sema.py ├── thumbnail_pc.py ├── thumbnail_url_controller.py └── uwsgi.conf ├── Chapter06 ├── Listings.txt ├── compare_passwords.py ├── crytpo_password_compare.py ├── guessing.py ├── guessing_fix.py ├── len_overflow.py ├── passwd.db ├── print_employee.py ├── ssti-example-dos-fix.py ├── ssti-example-dos.py ├── ssti-example-fixed.py ├── ssti-example.py ├── test_eval.py ├── test_eval2.py ├── test_serialize.py ├── test_serialize_json.py └── test_serialize_safe.py ├── Chapter07 ├── Listings.txt ├── __pycache__ │ ├── adapter.cpython-35.pyc │ ├── adapter_o.cpython-35.pyc │ ├── borg.cpython-35.pyc │ ├── builder.cpython-35.pyc │ ├── facade.cpython-35.pyc │ ├── factory.cpython-35.pyc │ ├── hash_stream_run.cpython-35.pyc │ ├── iterator.cpython-35.pyc │ ├── observer.cpython-35.pyc │ ├── prototype.cpython-35.pyc │ ├── prototype2.cpython-35.pyc │ ├── proxy.cpython-35.pyc │ ├── singleton.cpython-35.pyc │ └── state.cpython-35.pyc ├── adapter.py ├── adapter_o.py ├── borg.py ├── builder.py ├── facade.py ├── factory.py ├── hash_stream.py ├── hash_stream2.py ├── hasher.py ├── hasher.pyc ├── iterator.py ├── observer.py ├── observer_async.py ├── prototype.py ├── proxy.py ├── read_stream.pyc ├── singleton.py ├── singleton.pyc └── state.py ├── Chapter08 ├── Listings.txt ├── chatclient.py ├── chatserver.py ├── communication.py ├── eventlet_chat_server.py ├── gevent_chat_server.py ├── models.py ├── pipe_recent_gen.py ├── pipe_words.py ├── pipe_words_gen.py ├── twisted_chat_client.py ├── twisted_chat_server.py └── twisted_fetch_url.py ├── Chapter09 ├── Listing.txt ├── dependencies.yaml ├── fabfile.py └── mandelbrot │ ├── README │ ├── mandelbrot │ ├── __init__.py │ ├── mp │ │ ├── __init__.py │ │ └── mandelbrot.py │ └── simple │ │ ├── __init__.py │ │ └── mandelbrot.py │ └── setup.py ├── Chapter10 ├── Listings.txt ├── custom_logger.py ├── external_api.py ├── maxsubarray.py ├── maxsubarray_v2.py ├── maxsubarray_v3.py ├── maxsubarray_v4.py ├── mocking_data.py ├── random_data.py └── word_searcher.py ├── LICENSE ├── README.md └── README.txt /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/.gitignore -------------------------------------------------------------------------------- /Chapter02/Listings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/Listings.txt -------------------------------------------------------------------------------- /Chapter02/Listings.txt~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/Listings.txt~ -------------------------------------------------------------------------------- /Chapter02/a1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/a1.py -------------------------------------------------------------------------------- /Chapter02/a2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/a2.py -------------------------------------------------------------------------------- /Chapter02/a_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/a_text.py -------------------------------------------------------------------------------- /Chapter02/a_text2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/a_text2.py -------------------------------------------------------------------------------- /Chapter02/b1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/b1.py -------------------------------------------------------------------------------- /Chapter02/b_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/b_text.py -------------------------------------------------------------------------------- /Chapter02/b_text2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/b_text2.py -------------------------------------------------------------------------------- /Chapter02/codecomments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/codecomments.py -------------------------------------------------------------------------------- /Chapter02/codecomments2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/codecomments2.py -------------------------------------------------------------------------------- /Chapter02/codecomments3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/codecomments3.py -------------------------------------------------------------------------------- /Chapter02/codecomments4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/codecomments4.py -------------------------------------------------------------------------------- /Chapter02/codecomments5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/codecomments5.py -------------------------------------------------------------------------------- /Chapter02/codecomments6.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/codecomments6.py -------------------------------------------------------------------------------- /Chapter02/codecomments7.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/codecomments7.py -------------------------------------------------------------------------------- /Chapter02/factorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/factorial.py -------------------------------------------------------------------------------- /Chapter02/loop1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/loop1.py -------------------------------------------------------------------------------- /Chapter02/loop2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/loop2.py -------------------------------------------------------------------------------- /Chapter02/metrictest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/metrictest.py -------------------------------------------------------------------------------- /Chapter02/metrictest1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/metrictest1.py -------------------------------------------------------------------------------- /Chapter02/metrictest2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/metrictest2.py -------------------------------------------------------------------------------- /Chapter02/metrictest_fix1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/metrictest_fix1.py -------------------------------------------------------------------------------- /Chapter02/metrictest_fix2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/metrictest_fix2.py -------------------------------------------------------------------------------- /Chapter02/power.py: -------------------------------------------------------------------------------- 1 | # Code listing #22 2 | 3 | def power(x,y): 4 | return x^y 5 | -------------------------------------------------------------------------------- /Chapter02/rankbase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/rankbase.py -------------------------------------------------------------------------------- /Chapter02/textrank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/textrank.py -------------------------------------------------------------------------------- /Chapter02/textrank2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/textrank2.py -------------------------------------------------------------------------------- /Chapter02/urlrank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/urlrank.py -------------------------------------------------------------------------------- /Chapter02/urlrank2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter02/urlrank2.py -------------------------------------------------------------------------------- /Chapter03/.cache/v/cache/lastfailed: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /Chapter03/.coverage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/.coverage -------------------------------------------------------------------------------- /Chapter03/Listings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/Listings.txt -------------------------------------------------------------------------------- /Chapter03/datetimehelper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/datetimehelper.py -------------------------------------------------------------------------------- /Chapter03/factorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/factorial.py -------------------------------------------------------------------------------- /Chapter03/fakelogger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/fakelogger.py -------------------------------------------------------------------------------- /Chapter03/palindrome1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/palindrome1.py -------------------------------------------------------------------------------- /Chapter03/palindrome2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/palindrome2.py -------------------------------------------------------------------------------- /Chapter03/palindrome3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/palindrome3.py -------------------------------------------------------------------------------- /Chapter03/selenium_testcase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/selenium_testcase.py -------------------------------------------------------------------------------- /Chapter03/test_datetimehelper1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/test_datetimehelper1.py -------------------------------------------------------------------------------- /Chapter03/test_datetimehelper2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/test_datetimehelper2.py -------------------------------------------------------------------------------- /Chapter03/test_datetimehelper_object.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/test_datetimehelper_object.py -------------------------------------------------------------------------------- /Chapter03/test_palindrome1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/test_palindrome1.py -------------------------------------------------------------------------------- /Chapter03/test_palindrome2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/test_palindrome2.py -------------------------------------------------------------------------------- /Chapter03/test_palindrome3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/test_palindrome3.py -------------------------------------------------------------------------------- /Chapter03/test_textsearch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/test_textsearch.py -------------------------------------------------------------------------------- /Chapter03/textsearcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/textsearcher.py -------------------------------------------------------------------------------- /Chapter03/url_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter03/url_data.py -------------------------------------------------------------------------------- /Chapter04/Listings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/Listings.txt -------------------------------------------------------------------------------- /Chapter04/big_o.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/big_o.py -------------------------------------------------------------------------------- /Chapter04/bloomtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/bloomtest.py -------------------------------------------------------------------------------- /Chapter04/chainmap_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/chainmap_example.py -------------------------------------------------------------------------------- /Chapter04/common_items.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/common_items.py -------------------------------------------------------------------------------- /Chapter04/defaultdict_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/defaultdict_example.py -------------------------------------------------------------------------------- /Chapter04/hound_words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/hound_words.py -------------------------------------------------------------------------------- /Chapter04/mem_profile_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/mem_profile_example.py -------------------------------------------------------------------------------- /Chapter04/named.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/named.py -------------------------------------------------------------------------------- /Chapter04/objgraph_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/objgraph_example.py -------------------------------------------------------------------------------- /Chapter04/ordered.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/ordered.py -------------------------------------------------------------------------------- /Chapter04/plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/plot.py -------------------------------------------------------------------------------- /Chapter04/primes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/primes.py -------------------------------------------------------------------------------- /Chapter04/rotate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/rotate.py -------------------------------------------------------------------------------- /Chapter04/sub_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/sub_string.py -------------------------------------------------------------------------------- /Chapter04/sub_string2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter04/sub_string2.py -------------------------------------------------------------------------------- /Chapter05/Listings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/Listings.txt -------------------------------------------------------------------------------- /Chapter05/async_fetch_url.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/async_fetch_url.py -------------------------------------------------------------------------------- /Chapter05/async_fetch_url2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/async_fetch_url2.py -------------------------------------------------------------------------------- /Chapter05/asyncio_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/asyncio_tasks.py -------------------------------------------------------------------------------- /Chapter05/celery_mandelbrot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/celery_mandelbrot.py -------------------------------------------------------------------------------- /Chapter05/concurrent_factorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/concurrent_factorial.py -------------------------------------------------------------------------------- /Chapter05/concurrent_thumbnail.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/concurrent_thumbnail.py -------------------------------------------------------------------------------- /Chapter05/create_random_nums.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/create_random_nums.py -------------------------------------------------------------------------------- /Chapter05/generator_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/generator_tasks.py -------------------------------------------------------------------------------- /Chapter05/mandelbrot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/mandelbrot.py -------------------------------------------------------------------------------- /Chapter05/mandelbrot_mp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/mandelbrot_mp.py -------------------------------------------------------------------------------- /Chapter05/mandelbrot_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/mandelbrot_tasks.py -------------------------------------------------------------------------------- /Chapter05/prime_joblib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/prime_joblib.py -------------------------------------------------------------------------------- /Chapter05/prime_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/prime_process.py -------------------------------------------------------------------------------- /Chapter05/prime_thread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/prime_thread.py -------------------------------------------------------------------------------- /Chapter05/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/requirements.txt -------------------------------------------------------------------------------- /Chapter05/sort_counter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/sort_counter.py -------------------------------------------------------------------------------- /Chapter05/sort_counter_mp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/sort_counter_mp.py -------------------------------------------------------------------------------- /Chapter05/sort_in_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/sort_in_memory.py -------------------------------------------------------------------------------- /Chapter05/thumbnail_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/thumbnail_converter.py -------------------------------------------------------------------------------- /Chapter05/thumbnail_limit_lock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/thumbnail_limit_lock.py -------------------------------------------------------------------------------- /Chapter05/thumbnail_limit_sema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/thumbnail_limit_sema.py -------------------------------------------------------------------------------- /Chapter05/thumbnail_pc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/thumbnail_pc.py -------------------------------------------------------------------------------- /Chapter05/thumbnail_url_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/thumbnail_url_controller.py -------------------------------------------------------------------------------- /Chapter05/uwsgi.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter05/uwsgi.conf -------------------------------------------------------------------------------- /Chapter06/Listings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/Listings.txt -------------------------------------------------------------------------------- /Chapter06/compare_passwords.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/compare_passwords.py -------------------------------------------------------------------------------- /Chapter06/crytpo_password_compare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/crytpo_password_compare.py -------------------------------------------------------------------------------- /Chapter06/guessing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/guessing.py -------------------------------------------------------------------------------- /Chapter06/guessing_fix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/guessing_fix.py -------------------------------------------------------------------------------- /Chapter06/len_overflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/len_overflow.py -------------------------------------------------------------------------------- /Chapter06/passwd.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/passwd.db -------------------------------------------------------------------------------- /Chapter06/print_employee.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/print_employee.py -------------------------------------------------------------------------------- /Chapter06/ssti-example-dos-fix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/ssti-example-dos-fix.py -------------------------------------------------------------------------------- /Chapter06/ssti-example-dos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/ssti-example-dos.py -------------------------------------------------------------------------------- /Chapter06/ssti-example-fixed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/ssti-example-fixed.py -------------------------------------------------------------------------------- /Chapter06/ssti-example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/ssti-example.py -------------------------------------------------------------------------------- /Chapter06/test_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/test_eval.py -------------------------------------------------------------------------------- /Chapter06/test_eval2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/test_eval2.py -------------------------------------------------------------------------------- /Chapter06/test_serialize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/test_serialize.py -------------------------------------------------------------------------------- /Chapter06/test_serialize_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/test_serialize_json.py -------------------------------------------------------------------------------- /Chapter06/test_serialize_safe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter06/test_serialize_safe.py -------------------------------------------------------------------------------- /Chapter07/Listings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/Listings.txt -------------------------------------------------------------------------------- /Chapter07/__pycache__/adapter.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/adapter.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/adapter_o.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/adapter_o.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/borg.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/borg.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/builder.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/builder.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/facade.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/facade.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/factory.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/factory.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/hash_stream_run.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/hash_stream_run.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/iterator.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/iterator.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/observer.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/observer.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/prototype.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/prototype.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/prototype2.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/prototype2.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/proxy.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/proxy.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/singleton.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/singleton.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/__pycache__/state.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/__pycache__/state.cpython-35.pyc -------------------------------------------------------------------------------- /Chapter07/adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/adapter.py -------------------------------------------------------------------------------- /Chapter07/adapter_o.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/adapter_o.py -------------------------------------------------------------------------------- /Chapter07/borg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/borg.py -------------------------------------------------------------------------------- /Chapter07/builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/builder.py -------------------------------------------------------------------------------- /Chapter07/facade.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/facade.py -------------------------------------------------------------------------------- /Chapter07/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/factory.py -------------------------------------------------------------------------------- /Chapter07/hash_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/hash_stream.py -------------------------------------------------------------------------------- /Chapter07/hash_stream2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/hash_stream2.py -------------------------------------------------------------------------------- /Chapter07/hasher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/hasher.py -------------------------------------------------------------------------------- /Chapter07/hasher.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/hasher.pyc -------------------------------------------------------------------------------- /Chapter07/iterator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/iterator.py -------------------------------------------------------------------------------- /Chapter07/observer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/observer.py -------------------------------------------------------------------------------- /Chapter07/observer_async.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/observer_async.py -------------------------------------------------------------------------------- /Chapter07/prototype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/prototype.py -------------------------------------------------------------------------------- /Chapter07/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/proxy.py -------------------------------------------------------------------------------- /Chapter07/read_stream.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/read_stream.pyc -------------------------------------------------------------------------------- /Chapter07/singleton.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/singleton.py -------------------------------------------------------------------------------- /Chapter07/singleton.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/singleton.pyc -------------------------------------------------------------------------------- /Chapter07/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter07/state.py -------------------------------------------------------------------------------- /Chapter08/Listings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/Listings.txt -------------------------------------------------------------------------------- /Chapter08/chatclient.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/chatclient.py -------------------------------------------------------------------------------- /Chapter08/chatserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/chatserver.py -------------------------------------------------------------------------------- /Chapter08/communication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/communication.py -------------------------------------------------------------------------------- /Chapter08/eventlet_chat_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/eventlet_chat_server.py -------------------------------------------------------------------------------- /Chapter08/gevent_chat_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/gevent_chat_server.py -------------------------------------------------------------------------------- /Chapter08/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/models.py -------------------------------------------------------------------------------- /Chapter08/pipe_recent_gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/pipe_recent_gen.py -------------------------------------------------------------------------------- /Chapter08/pipe_words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/pipe_words.py -------------------------------------------------------------------------------- /Chapter08/pipe_words_gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/pipe_words_gen.py -------------------------------------------------------------------------------- /Chapter08/twisted_chat_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/twisted_chat_client.py -------------------------------------------------------------------------------- /Chapter08/twisted_chat_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/twisted_chat_server.py -------------------------------------------------------------------------------- /Chapter08/twisted_fetch_url.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter08/twisted_fetch_url.py -------------------------------------------------------------------------------- /Chapter09/Listing.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter09/Listing.txt -------------------------------------------------------------------------------- /Chapter09/dependencies.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter09/dependencies.yaml -------------------------------------------------------------------------------- /Chapter09/fabfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter09/fabfile.py -------------------------------------------------------------------------------- /Chapter09/mandelbrot/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter09/mandelbrot/README -------------------------------------------------------------------------------- /Chapter09/mandelbrot/mandelbrot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter09/mandelbrot/mandelbrot/mp/__init__.py: -------------------------------------------------------------------------------- 1 | from . import mandelbrot 2 | -------------------------------------------------------------------------------- /Chapter09/mandelbrot/mandelbrot/mp/mandelbrot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter09/mandelbrot/mandelbrot/mp/mandelbrot.py -------------------------------------------------------------------------------- /Chapter09/mandelbrot/mandelbrot/simple/__init__.py: -------------------------------------------------------------------------------- 1 | from . import mandelbrot 2 | -------------------------------------------------------------------------------- /Chapter09/mandelbrot/mandelbrot/simple/mandelbrot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter09/mandelbrot/mandelbrot/simple/mandelbrot.py -------------------------------------------------------------------------------- /Chapter09/mandelbrot/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter09/mandelbrot/setup.py -------------------------------------------------------------------------------- /Chapter10/Listings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter10/Listings.txt -------------------------------------------------------------------------------- /Chapter10/custom_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter10/custom_logger.py -------------------------------------------------------------------------------- /Chapter10/external_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter10/external_api.py -------------------------------------------------------------------------------- /Chapter10/maxsubarray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter10/maxsubarray.py -------------------------------------------------------------------------------- /Chapter10/maxsubarray_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter10/maxsubarray_v2.py -------------------------------------------------------------------------------- /Chapter10/maxsubarray_v3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter10/maxsubarray_v3.py -------------------------------------------------------------------------------- /Chapter10/maxsubarray_v4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter10/maxsubarray_v4.py -------------------------------------------------------------------------------- /Chapter10/mocking_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter10/mocking_data.py -------------------------------------------------------------------------------- /Chapter10/random_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter10/random_data.py -------------------------------------------------------------------------------- /Chapter10/word_searcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/Chapter10/word_searcher.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Software-Architecture-with-Python/HEAD/README.md -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- 1 | Chapter 1 does not have any code files --------------------------------------------------------------------------------