No project description provided
Project description
PyProject Script
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
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
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 pyproject-script-0.0.0a1.tar.gz.
File metadata
- Download URL: pyproject-script-0.0.0a1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-1032-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f9581a38b9599cef45fe18630622ec0e124fa00f5adcc9edcc531a51719bd06
|
|
| MD5 |
459217c43adb20a1b0e052c3e1f4a3dc
|
|
| BLAKE2b-256 |
4dcd7e03caa74148d59e5da29246fa840cdaaa678dd40a965abada28240195b4
|
File details
Details for the file pyproject_script-0.0.0a1-py3-none-any.whl.
File metadata
- Download URL: pyproject_script-0.0.0a1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-1032-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf8ebc6ce23a004ef3add9375d3e4865700a5396577370a36fe5e373ecfc2dbb
|
|
| MD5 |
8106d01a4a11a483f8b172f29b2b4f9a
|
|
| BLAKE2b-256 |
447678ba534ccdebdedf11837dbacb9b89d9d165b8b94438ff9a7a367153c0e1
|