Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PyProject Script

Code style: black codecov Build

Overview

PyProject Script is a very simple development tool intended to be used with pyproject.toml configuration files. The intention is to provide an interface for running scripts within a local development workflow.

# in your pyproject.toml
[tool.pyscript]
tests = "path.to.my.tests.script:entrypoint_callable"

Running pyscript tests after installing pyscript will import the path.to.my.tests.script module and will call entrypoint_callable callable.

This works in much the same way as poetry's poetry run command without actually including those scripts in your project build.

NOTE: This is an alpha release. Use it your own risk.

Installation

pip install pyproject-script

or if you're using poetry

poetry add -D pyproject-script

Local Development

Pyenv

It's recommended that you use pyenv

pyenv-installer

curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash

Install poetry

This project uses poetry. Install it using the following command.

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -

More instructions here

Install the dependencies:

poetry install

Install pre-commit hooks:

poetry run pre-commit install

Running Tests:

poetry run pyscript tests

Metadata

Release files for pyproject-script 0.0.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyproject-script 0.0.0a1
File Size Uploaded Provenance Actions
pyproject-script-0.0.0a1.tar.gz 3.8 kB Without provenance Details for pyproject-script-0.0.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyproject-script 0.0.0a1
File Interpreter ABI Platform Actions
pyproject_script-0.0.0a1-py3-none-any.whl Python 3 none any Details for pyproject_script-0.0.0a1-py3-none-any.whl

Total release size: 7.4 kB

Release files / pyproject-script-0.0.0a1.tar.gz

Download URL pyproject-script-0.0.0a1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7f9581a38b9599cef45fe18630622ec0e124fa00f5adcc9edcc531a51719bd06
BLAKE2b-256 checksum
How to use checksums
4dcd7e03caa74148d59e5da29246fa840cdaaa678dd40a965abada28240195b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-1032-azure

Release files / pyproject_script-0.0.0a1-py3-none-any.whl

Download URL pyproject_script-0.0.0a1-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf8ebc6ce23a004ef3add9375d3e4865700a5396577370a36fe5e373ecfc2dbb
BLAKE2b-256 checksum
How to use checksums
447678ba534ccdebdedf11837dbacb9b89d9d165b8b94438ff9a7a367153c0e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-1032-azure

Security for pyproject-script 0.0.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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