Skip to main content

Complex Object Metric - A library for measuring complexity of Python objects

Project description

Cobjectric

[!WARNING] > Status: 🚧 Work in Progress - This project is in early development

Complex Object Metric - A Python library for computing metrics on complex objects (JSON, dictionaries, lists, etc.).

CI codecov PyPI version PyPI downloads Python Version License Code style: black Ruff

📖 Description

Cobjectric is a library designed to help developers calculate metrics on complex objects such as JSON, dictionaries, and arrays. It was originally created for Machine Learning projects where comparing and evaluating generated JSON structures against ground truth data was a repetitive manual task.

🚀 Getting Started

For Users

pip install cobjectric

For Development

Prerequisites

  • Python 3.13.9 or higher
  • uv - Fast Python package installer
  1. Install dependencies with uv:
uv sync --dev
  1. Install pre-commit hooks:
uv run pre-commit install --hook-type pre-push

🛠️ Development

Available Commands

The project uses invoke for task management.

To see all available commands:

uv run inv --list
# or shorter:
uv run inv -l

To get help on a specific command:

uv run inv --help <command>
# Example:
uv run inv --help precommit

📚 Usage

TODO: Add usage examples and API documentation

# Example usage will go here
from cobjectric import ...

# TODO: Add code examples

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

Citing Cobjectric

If you use Cobjectric in your research or projects, please consider citing it:

@software{cobjectric2025,
  author = {Nigiva},
  title = {Cobjectric: A Library for Computing Metrics on Complex Objects},
  year = {2025},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/nigiva/cobjectric}},
  version = {1.0.1}
}

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

cobjectric-1.0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

cobjectric-1.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file cobjectric-1.0.1.tar.gz.

File metadata

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

File hashes

Hashes for cobjectric-1.0.1.tar.gz
Algorithm Hash digest
SHA256 9cdf5a1b96df633aeb4c452119dfc2dd0987488f4b53db37b2cce1f9431281a5
MD5 970e8862c20a114da67f9e5889a394bd
BLAKE2b-256 80792f67d50bdf66bc00b35f87224b18eb7f6f0851d3b099d5a848823f4ec3f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for cobjectric-1.0.1.tar.gz:

Publisher: release.yml on nigiva/cobjectric

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

File details

Details for the file cobjectric-1.0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for cobjectric-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c1cb9b73f62598f4c7f1dae45c8796f409f285d56673e6ce97c773dad898e6d
MD5 9726d98ff77c6596e5b4855b57860ef2
BLAKE2b-256 9a3c3221e169a8746f69079b32b239eab14c5b897a9cc1ad20da4cea3b2540e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for cobjectric-1.0.1-py3-none-any.whl:

Publisher: release.yml on nigiva/cobjectric

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