Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/volker48/python-concurrency
Code examples from my toptal engineering blog article
https://github.com/volker48/python-concurrency
asyncio multiprocessing python python-concurrency
Last synced: 14 days ago
JSON representation
Code examples from my toptal engineering blog article
- Host: GitHub
- URL: https://github.com/volker48/python-concurrency
- Owner: volker48
- License: mit
- Created: 2015-03-11T02:16:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-31T14:25:56.000Z (over 1 year ago)
- Last Synced: 2024-07-31T19:15:52.743Z (3 months ago)
- Topics: asyncio, multiprocessing, python, python-concurrency
- Language: Python
- Homepage: http://www.toptal.com/python/beginners-guide-to-concurrency-and-parallelism-in-python
- Size: 27.3 KB
- Stars: 156
- Watchers: 8
- Forks: 66
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome-starred - python-concurrency - Code examples from my toptal engineering blog article (Python)
README
# Python concurrency
This is the code used as examples in the [post that I wrote](http://www.toptal.com/python/beginners-guide-to-concurrency-and-parallelism-in-python) for the [Toptal Engineering Blog](https://www.toptal.com/developers/blog).
## Running the examples
The examples have all been tested under Python 3.6.4 running on OS X. They _should_ work on other operating systems and Python 3.5+, but I haven't tested it everywhere.
1. Get an [Imgur](https://imgur.com/account/settings/apps) API Key
2. Install dependencies with `pip install -r requirements.txt`
3. Run an example `IMGUR_CLIENT_ID=your_client_id threading_imgur.py`
1. For the `rq_imgur.py` example you will also need to be running a redis server