Skip to main content

This package aims to offer helper functions that simplify model building and evaluation

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

DMQCLib

The DMQCLib package offers helper functions and classes that simplify model building and evaluation for the AIQC project.

Package Manager

You can create a new environment using any package management system, such as conda and mamba.

Additionally, using uv is recommended when contributing modifications to the package.

After the installation of uv, running uv sync inside the project will create the environment.

Example of Environment Setup

For example, the following commands create a new conda environment with mamba and set up the library environment with uv:

mamba create -n aiqc -c conda-forge python=3.12
mamba activate aiqc
mamba install uv

cd /your/path/to/dmqclib
uv sync

Unit Test

You may need to install the library in editable mode at least once before running unit tests.

uv pip install -e .

After the library installation, you can run unit tests with pytest.

uv run pytest -v

Python Linter

To lint the code under the src folder with ruff, use the following command:

uvx ruff check src

and the unit test code under the tests folder:

uvx ruff check tests

Alternatively, to lint the code with flake8, use the following command:

uvx flake8 src --max-line-length=100

Code Formatter

To format the code under the src folder with ruff, use the following command:

uvx ruff format src

and the unit test code under the tests folder:

uvx ruff format tests

Alternatively, to format the code with black, use the following command:

uvx black src

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

dmqclib-0.2.4.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

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

dmqclib-0.2.4-py3-none-any.whl (34.5 kB view details)

Uploaded Python 3

File details

Details for the file dmqclib-0.2.4.tar.gz.

File metadata

  • Download URL: dmqclib-0.2.4.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dmqclib-0.2.4.tar.gz
Algorithm Hash digest
SHA256 a250c62034b7d10f2a299d8337e8e974fc87196a6a4803d369a95253386ddbb7
MD5 b35d21841015cea22202eb99279eea42
BLAKE2b-256 8d197ee0ad3a1c0ae4315cb914c6f78a324144fa6c1aaf82ef7c5b5e6d70046a

See more details on using hashes here.

Provenance

The following attestation bundles were made for dmqclib-0.2.4.tar.gz:

Publisher: publish_to_pypi.yml on AIQC-Hub/dmqclib

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

File details

Details for the file dmqclib-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: dmqclib-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dmqclib-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 46aa2facf2d527699b28aab42b0325b0098994e020384f53f504cc2cd4008ee6
MD5 dc5d8ae8342df891d1e322d645e620da
BLAKE2b-256 021db80288b304280de0825e2d649043735da15136977bdefd815748ceb6d417

See more details on using hashes here.

Provenance

The following attestation bundles were made for dmqclib-0.2.4-py3-none-any.whl:

Publisher: publish_to_pypi.yml on AIQC-Hub/dmqclib

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