nanci is the engine behind Nanci — a CI system where pipelines are plain Python files. Install this package to run Nanci pipelines locally or to build tooling on top of the same runtime the cloud uses.
from nanci import job, ci
import asyncio
@job(image="python:3.12-slim")
async def test():
await ci.upload("src/", "/app/src")
await ci.upload("tests/", "/app/tests")
"cd /app && pip install -e . -q && pytest"
asyncio.run(test())
Each @job-decorated function runs inside an isolated Docker container. String literals in the function body are shell commands. Parallelism is plain asyncio.gather.
Quickstart
pip install nanci
# nanci_ci.py
from nanci import job
import asyncio
@job
async def hello():
"echo Hello, world!"
asyncio.run(hello())
python nanci_ci.py
Full documentation at nanci.dev.
Metadata
Release files for nanci 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nanci-0.1.5.tar.gz | 16.9 kB | Without provenance | Details for nanci-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nanci-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for nanci-0.1.5-py3-none-any.whl |
Total release size: 40.0 kB
Release files / nanci-0.1.5.tar.gz
| Download URL | nanci-0.1.5.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f321b119fe3c4a5021813501fbe67f99a34f3274f70ea802a88e9ef6a79348b3
|
|
BLAKE2b-256 checksum How to use checksums |
7ab5592787b9f6bbcfd0463a0eb3cc1d726677c189fee97a2b53e8c17bca8806
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / nanci-0.1.5-py3-none-any.whl
| Download URL | nanci-0.1.5-py3-none-any.whl |
|---|---|
| Size | 23.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e09e4f5f54c2a9037e8ca79ca29dc86f04cdb63745cb1c7360e23c3b648e8e1
|
|
BLAKE2b-256 checksum How to use checksums |
d71907ef4b24b4b7e0fb34318bb23afbc85815692680d0180ada5bcd87b42c30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for nanci 0.1.5
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.