Skip to main content

Local-first CLI and Python package for Neksus JobSpec files

Project description

Neksus JobSpec

CI docs.jobspec.neksusai.com PyPI version PyPI downloads

Neksus JobSpec is an open-source, local-first CLI and Python package for creating, validating, and rendering structured job specifications written in YAML.

Status

Current focus is a stable CLI and reusable core library. Hosted API and MCP server capabilities are planned, not yet implemented.

Installation

Once published:

pip install neksus-jobspec

Import example

import neksus_jobspec

print(neksus_jobspec.__version__)

Basic usage

neksus-jobspec init
neksus-jobspec spec new backend-engineer
neksus-jobspec spec validate jobspecs/backend-engineer.jobspec.yaml
neksus-jobspec spec render jobspecs/backend-engineer.jobspec.yaml --format markdown

Development

uv sync
uv run ruff check .
uv run ruff format --check .
uv run pytest
./scripts/smoke.sh

Development build commands

python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
python -m pip install --force-reinstall dist/neksus_jobspec-0.1.0-py3-none-any.whl
python -c "import neksus_jobspec; print(neksus_jobspec.__version__)"

Release process

Create and push a semantic version tag to trigger publishing:

git tag v0.1.0
git push origin v0.1.0

You can also run the publish workflow manually from GitHub Actions (workflow_dispatch).

PyPI publishing notes

Publishing is configured through GitHub Actions Trusted Publishing (OIDC) in .github/workflows/publish-pypi.yml. No PyPI API token is used by the workflow.

License

Licensed under AGPL-3.0-or-later. See LICENSE.

Contribution policy

This repository is owner-maintained and does not use a public external contribution workflow.

Testing Strategy

Three required layers:

  • Unit/CLI layer: uv run pytest -m "not integration"
  • Smoke layer: ./scripts/smoke.sh
  • Integration layer: uv run pytest -m integration

Recommended local sequence:

uv run pytest -m "not integration"
./scripts/smoke.sh
uv run pytest -m integration

Project details


Download files

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

Source Distribution

neksus_jobspec-0.1.0.tar.gz (36.1 kB view details)

Uploaded Source

Built Distribution

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

neksus_jobspec-0.1.0-py3-none-any.whl (51.2 kB view details)

Uploaded Python 3

File details

Details for the file neksus_jobspec-0.1.0.tar.gz.

File metadata

  • Download URL: neksus_jobspec-0.1.0.tar.gz
  • Upload date:
  • Size: 36.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for neksus_jobspec-0.1.0.tar.gz
Algorithm Hash digest
SHA256 54eefcb81d7e9c1b58319aaf11dfc8563bc55763bec199742bdacc4dae78565b
MD5 bc2679e4a0d1f8dfcf96999bec4dd367
BLAKE2b-256 0845c589ff79e0a5123b58588c4398a6c7a5730d11b4b1234f6656f7ad114d8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for neksus_jobspec-0.1.0.tar.gz:

Publisher: publish-pypi.yml on NeksusAI/NeksusJobSpec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file neksus_jobspec-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: neksus_jobspec-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 51.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for neksus_jobspec-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5941916e058973f7329f677187bd6dbe55cdeaa393888afaf6fe330dcc35800f
MD5 37cfc4138c2e0b515bfa9a063810be4e
BLAKE2b-256 29e82babf2c0f40cc5e6c7cdbbe021e2c246e6adc87ae8c11735eb20e28d6f5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for neksus_jobspec-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on NeksusAI/NeksusJobSpec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page