This project is a demonstration of mastering asynchronous programming in Python. It includes a set of utility functions and tests to ensure the correct functionality of the code.
The project has the following structure:
README.md
: This file, containing project description and setup instructions.requirements.txt
: Contains all the necessary packages that need to be installed.main.py
: The main script of the project.async_utils.py
: Contains utility functions for asynchronous programming.tests/
: This directory contains all the test files.test_main.py
: Contains tests for the main script.test_async_utils.py
: Contains tests for the async utility functions.
.gitignore
: Specifies intentionally untracked files to ignore when using Git.
To set up and run the project, follow these steps:
- Clone the repository to your local machine.
- Navigate to the project directory.
- Install the required packages using the command
pip install -r requirements.txt
. - Run the main script using the command
python main.py
.
To run the tests, navigate to the project directory and run the command python -m unittest discover tests
.
Contributions are welcome. Please make sure to update tests as appropriate.