Skip to main content

CLI utilities for csrd service generation and feature augmentation

Project description

csrd-utils

CLI and runtime helpers for generating csrd services and augmenting existing services with optional features.

Install

pip install "csrd-utils @ git+https://github.com/csrd-api/fastapi-common.git#subdirectory=packages/utils"

CLI

csrd --help
csrd feature plan workers --service .
csrd feature add workers --service .

Bundled assets

  • features/workers/ feature manifests and fragments
  • templates/cookiecutter-service/ template starter

Python API

from pathlib import Path
from csrd_utils import ServiceAugmentor
from csrd_utils.resources import features_path

with features_path() as feature_lib:
    augmentor = ServiceAugmentor(Path("."), feature_lib)
    ok, changes = augmentor.add_feature("workers", plan=True)

Project details


Release history Release notifications | RSS feed

This version

0.3.2

Download files

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

Source Distribution

csrd_utils-0.3.2.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

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

csrd_utils-0.3.2-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file csrd_utils-0.3.2.tar.gz.

File metadata

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

File hashes

Hashes for csrd_utils-0.3.2.tar.gz
Algorithm Hash digest
SHA256 e6dd89d26bd743dc5aa4c0040d21e8f50b5f0e4c1b29c1445ba48acfc183c18b
MD5 ea33e4d17ad510a9dff53e939e136aee
BLAKE2b-256 ab5c9da4609b199bf94737b7757ff9de5d0b04a5d96e1b53a783c2e1aac57d4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for csrd_utils-0.3.2.tar.gz:

Publisher: release.yml on csrd-api/fastapi-common

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

File details

Details for the file csrd_utils-0.3.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for csrd_utils-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7ba8c93f4047f62c641b9c6aee1ef647072456d89cea4df13d853aba38b20c5d
MD5 b3648d1f418a8b50592ea327cf00ff74
BLAKE2b-256 8e60598b9a3e5166ec53071bd26d4fe6ccca0f14e9c9c8c7d38cd1e47a61d1bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for csrd_utils-0.3.2-py3-none-any.whl:

Publisher: release.yml on csrd-api/fastapi-common

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