Skip to main content

add-pyproject

PyPI - Version PyPI - Python Version

A CLI that just adds python dependencies directly into pyproject.toml

$ add_pyproject "numpy>=1.26"

Before

[project]
name = "mypackage"
version = "0.1.0"

After

[project]
name = "mypackage"
version = "0.1.0"
dependencies = ["numpy>=1.26"]

Integration

Pip

pip install add-pyproject

uvx

uvx add-pyproject
uv tool install add-pyproject

Hatch

[project]
name = "mypackage"
version = "0.1.0"
dependencies = []

[tool.hatch.envs.default]
dependencies = [
  "add-pyproject"
]

[tool.hatch.envs.default.scripts]
add = "python -m add_pyproject {args}"
$ hatch run add "numpy>=1.26"

License

add-pyproject is distributed under the terms of the MIT license.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

add_pyproject-0.2.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

add_pyproject-0.2.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file add_pyproject-0.2.0.tar.gz.

File metadata

  • Download URL: add_pyproject-0.2.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for add_pyproject-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f391c73e81d70d01b8318130d43f3bd7bafdd84fa0bc21e6c86cd935fadff557
MD5 acbd3fe4ba4efd2ab5895ad4df17c574
BLAKE2b-256 61d5009b8f8bf01393d8823035c8bfa593c65efca96eade6d14ec34cc54e1e32

See more details on using hashes here.

File details

Details for the file add_pyproject-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: add_pyproject-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for add_pyproject-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f54333943fa01da12fc8d0f22fe35465cda4acbdb05126f7570a66f0902d90d
MD5 9c9d3e95dcfb585f034aeff66df6f242
BLAKE2b-256 33a99732204cdd406bb3941e1641b6a00c056011bb4acdf444a4335e142ee10e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page