Python Package Creator (pyproject.toml)
Create modern Python packages in seconds — ready for Poetry, Hatch, setuptools, Flit (2026 standards)
About the pyproject.toml Creator
Enter a package name, version, author, description, licence and one dependency per line. The tool writes a pyproject.toml for you. With Poetry selected, you get a [tool.poetry] file with the poetry-core build backend. The other choices produce a standard PEP 621 [project] table. You can also download a ZIP containing the TOML, a README and a package folder with __init__.py.
Example
Input: Name my-awesome-lib, dependencies requests>=2.31.0 and pydantic>=2.0, build system Poetry.
Output (excerpt):
[tool.poetry]
name = "my-awesome-lib"
version = "0.1.0"
[tool.poetry.dependencies]
python = "^3.9"
requests = "2.31.0"
pydantic = "2.0"
Limits
- In Poetry mode, a
>=constraint becomes an exact version ("2.31.0"). Change it to">=2.31.0"if that is what you meant. - With Hatch, setuptools or Flit selected, the file has no
[build-system]table. Add one, for examplerequires = ["hatchling"]andbuild-backend = "hatchling.build". - The licence classifier is always MIT, whatever licence you type.
- Check the result with
pip install -e .orpython -m buildbefore you publish.
Privacy
All conversion happens in JavaScript inside your browser. The tool code on this page makes no network request with what you type, so your input is not uploaded or stored by PyInns. (The page itself still loads ads and shared libraries from third-party CDNs.)