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.).

Python Version License

📖 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

# TODO: Once published to PyPI
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 = {0.1.0}
}

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.0.tar.gz (2.4 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.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cobjectric-1.0.0.tar.gz
  • Upload date:
  • Size: 2.4 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.0.tar.gz
Algorithm Hash digest
SHA256 bd374d23e8f0d14e3a243e27924dea2e7767483ebfa38d4e3c4a266867cf6f25
MD5 a25b2ad0ce39bb5ab1424c4fe6c77e3f
BLAKE2b-256 487b3d259347ce400c430101d0c8dda7049b25e7c98e4a947e97f9e4071421ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for cobjectric-1.0.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: cobjectric-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0c99474d008170bdc9c7bcc0e1e4bebece514feeddb7a3e37c1bf45bf94cda2
MD5 78ebd99b6d8a6c5fd2e56b917d50e93e
BLAKE2b-256 92d6ce34012423803ecad312eeb5e4f00c4824aa36208c011aec5fa91155da63

See more details on using hashes here.

Provenance

The following attestation bundles were made for cobjectric-1.0.0-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