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.).
📖 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
- Install dependencies with uv:
uv sync --dev
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd374d23e8f0d14e3a243e27924dea2e7767483ebfa38d4e3c4a266867cf6f25
|
|
| MD5 |
a25b2ad0ce39bb5ab1424c4fe6c77e3f
|
|
| BLAKE2b-256 |
487b3d259347ce400c430101d0c8dda7049b25e7c98e4a947e97f9e4071421ed
|
Provenance
The following attestation bundles were made for cobjectric-1.0.0.tar.gz:
Publisher:
release.yml on nigiva/cobjectric
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cobjectric-1.0.0.tar.gz -
Subject digest:
bd374d23e8f0d14e3a243e27924dea2e7767483ebfa38d4e3c4a266867cf6f25 - Sigstore transparency entry: 747795823
- Sigstore integration time:
-
Permalink:
nigiva/cobjectric@ea6376e7a24406995bbbc3cd7945cceb7213811e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/nigiva
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ea6376e7a24406995bbbc3cd7945cceb7213811e -
Trigger Event:
pull_request
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0c99474d008170bdc9c7bcc0e1e4bebece514feeddb7a3e37c1bf45bf94cda2
|
|
| MD5 |
78ebd99b6d8a6c5fd2e56b917d50e93e
|
|
| BLAKE2b-256 |
92d6ce34012423803ecad312eeb5e4f00c4824aa36208c011aec5fa91155da63
|
Provenance
The following attestation bundles were made for cobjectric-1.0.0-py3-none-any.whl:
Publisher:
release.yml on nigiva/cobjectric
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cobjectric-1.0.0-py3-none-any.whl -
Subject digest:
e0c99474d008170bdc9c7bcc0e1e4bebece514feeddb7a3e37c1bf45bf94cda2 - Sigstore transparency entry: 747795825
- Sigstore integration time:
-
Permalink:
nigiva/cobjectric@ea6376e7a24406995bbbc3cd7945cceb7213811e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/nigiva
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ea6376e7a24406995bbbc3cd7945cceb7213811e -
Trigger Event:
pull_request
-
Statement type: