Skip to main content

Utility functions for Curv Python packages

Project description

curvpyutils

Utility functions used by the Curv Python packages, curv and curvtools.

Development/testing

  • cd into the package directory:
cd packages/curvpyutils
  • Create venv + install packages in editable mode
  • Run both unit and e2e tests:
pytest -m "unit or e2e"

Demo

  • multi_progress has a demo script that can be run to see the progress bars in action:
cd test
python multi_progress_demos.py

TOML helper functions

  • curvpyutils.tomlrw provides helper functions for working with TOML files across multiple Python versions:

    import curvpyutils.tomlrw as tomlrw
    
    d = {"a": 1, "b": 2}
    s = tomlrw.dumps(d)
    print(s)
    
  • Other functions include loadf and loads for reading TOML files and strings into dictionaries. See test_tomlrw.py for examples.

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

curvpyutils-0.0.51.tar.gz (44.3 kB view details)

Uploaded Source

Built Distribution

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

curvpyutils-0.0.51-py3-none-any.whl (45.8 kB view details)

Uploaded Python 3

File details

Details for the file curvpyutils-0.0.51.tar.gz.

File metadata

  • Download URL: curvpyutils-0.0.51.tar.gz
  • Upload date:
  • Size: 44.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for curvpyutils-0.0.51.tar.gz
Algorithm Hash digest
SHA256 cf031857312c4a694d2780a0896e533c2cedf767e120f4358a18dcc787d430c7
MD5 0a70efa08d34dfc28e96739ae109a755
BLAKE2b-256 59263abb98c374d62b805ce1020d5189b497df293ec31db4c76554d1ccf9b21e

See more details on using hashes here.

Provenance

The following attestation bundles were made for curvpyutils-0.0.51.tar.gz:

Publisher: ci.yaml on curvcpu/curv-python

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

File details

Details for the file curvpyutils-0.0.51-py3-none-any.whl.

File metadata

  • Download URL: curvpyutils-0.0.51-py3-none-any.whl
  • Upload date:
  • Size: 45.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for curvpyutils-0.0.51-py3-none-any.whl
Algorithm Hash digest
SHA256 df4fd06eb5ca7f06e802ac1267646d7a64bcd5d50ac895d4fdf8ea29aa78a6fd
MD5 2cf0553d35af8ce006445065fe4ee7b2
BLAKE2b-256 2ed3b58673d2bf4710a06de1cd174de1516bf27dd00a9ae71487fd7b55526df1

See more details on using hashes here.

Provenance

The following attestation bundles were made for curvpyutils-0.0.51-py3-none-any.whl:

Publisher: ci.yaml on curvcpu/curv-python

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