The quickest way to get up and running with Python
Project description
Poetry Creator
Poetry Creator is a Python package that makes it super easy to get started with a new Poetry project. It helps you initialize a new project with a basic structure and install some common Python packages that you might need.
Installation
To install Poetry Creator, simply run:
pip install poetry-creator
Usage
Once Poetry Creator is installed, you can use it to create a new project like this:
poetry-creator my_project_name
This command will:
- Create a new directory called
my_project_name. - Initialize a new Poetry project in that directory.
- Create a
pyproject.tomlfile with the required dependencies. - Initialize a basic FastAPI project structure.
The pyproject.toml file includes dependencies for a variety of common Python packages, including:
- FastAPI
- Uvicorn
- Gunicorn
- OpenAI and OpenAI-Async
- Redis
- Black
- Termcolor
- Python-dotenv
- Websockets
- Aiofiles
- Loguru
- Webrtcvad
After creating the project, Poetry Creator will automatically install these dependencies and then run your new project using Uvicorn.
Remember to replace "<your name here> <your email here>" in the pyproject.toml file with your actual name and email.
Errors
If there's a problem during project creation (for example, if the project directory already exists), Poetry Creator will print an error message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poetry-creator-0.1.1.tar.gz.
File metadata
- Download URL: poetry-creator-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a25d75a36a86359e08239633b7437508117e82a4bb1bc05b4f38e44b3506aec
|
|
| MD5 |
7ad64ce97b87579732c9dc1e742e3376
|
|
| BLAKE2b-256 |
3e1d3edd8bdf88f0bf33dc62e1b1e72c68d25c1df4d3366b60bacb39383b0d17
|
File details
Details for the file poetry_creator-0.1.1-py3-none-any.whl.
File metadata
- Download URL: poetry_creator-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a80b8f0f8374cf7ed038e37ba7753e71ab34fef517555911e6e2088540dc5e58
|
|
| MD5 |
3aab2dab97c6a3c0e676e5c4a83d52f9
|
|
| BLAKE2b-256 |
d7799ca070b83182ba8e3d275b5a97b8b90ac5aff714b2b4280a57c57b89be64
|