{"id":22229992,"url":"https://github.com/desertthunder/async-python-demo","last_synced_at":"2025-06-18T06:39:28.182Z","repository":{"id":264420261,"uuid":"893324424","full_name":"desertthunder/async-python-demo","owner":"desertthunder","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-24T06:01:49.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T08:16:51.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/desertthunder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-24T05:58:53.000Z","updated_at":"2024-11-24T06:01:52.000Z","dependencies_parsed_at":"2024-11-24T08:15:31.862Z","dependency_job_id":null,"html_url":"https://github.com/desertthunder/async-python-demo","commit_stats":null,"previous_names":["desertthunder/async-python-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertthunder%2Fasync-python-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertthunder%2Fasync-python-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertthunder%2Fasync-python-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertthunder%2Fasync-python-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/desertthunder","download_url":"https://codeload.github.com/desertthunder/async-python-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245431708,"owners_count":20614182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T01:14:00.934Z","updated_at":"2025-03-25T08:44:31.941Z","avatar_url":"https://github.com/desertthunder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Async Python\n\nThis is a short command line application built with [click](https://click.palletsprojects.com/en/8.0.x/)\nto demonstrate the concepts of asynchronous programming in Python. The application includes two\nsubcommands, `http` and `queue`, which demonstrate the use of asynchronous HTTP requests and simple\ndistributed task queues, respectively.\n\n## Setup\n\nPython versions are managed with [asdf](https://asdf-vm.com/) and [Poetry](https://python-poetry.org/)\nis for dependency management. A requirements.txt is included if you prefer to use pip.\n\n### `pip` Setup\n\n```bash\npip install -r requirements.txt\n```\n\n### `poetry` Setup\n\n```bash\nasdf install python 3.12.3\npip install poetry\nasdf reshim\n```\n\n```bash\npoetry env use python3.12\nsource .venv/bin/activate\npoetry install\n```\n\n## Usage\n\n```bash\n$ python -m cli --help\nUsage: python -m cli [OPTIONS] COMMAND [ARGS]...\n\n  Demo Command line for asynchronous programming post.\n\nOptions:\n  --help  Show this message and exit.\n\nCommands:\n  http   Requests \u0026 HTTPx demo.\n  queue  Basic task queue demo.\n```\n\n```bash\n$ python -m cli http --help\nUsage: python -m cli http [OPTIONS] COMMAND [ARGS]...\n\n  Requests \u0026 HTTPx demo.\n\nOptions:\n  --help  Show this message and exit.\n\nCommands:\n  async     Run asynchronous HTTP requests using HTTPx.\n  requests  Run HTTP requests using the requests library.\n  sync      Run synchronous HTTP requests using HTTPx.\n```\n\n```bash\n$ python -m cli queue --help\nUsage: python -m cli queue [OPTIONS] COMMAND [ARGS]...\n\n  Basic task queue demo.\n\nOptions:\n  --help  Show this message and exit.\n\nCommands:\n  async  Run asynchronous non-blocking tasks.\n  sync   Run synchronous blocking tasks.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesertthunder%2Fasync-python-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdesertthunder%2Fasync-python-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesertthunder%2Fasync-python-demo/lists"}