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.3.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.3-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dmqclib-0.2.3.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for dmqclib-0.2.3.tar.gz
Algorithm Hash digest
SHA256 6734519c7dc60f325e43571fc59ebf5927374312034b0242402d9a8d609bfd18
MD5 cb2cf81896bbc03949064da1a4f40a5d
BLAKE2b-256 62bdcc06bf9d77a3cbe3a2d19961f2b467ede0969c2d02665d19b96af3151b96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dmqclib-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 34.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for dmqclib-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 888761958aa48f718876faebb976d7b295cacd66a02d39a5809a2bc6d8344ed7
MD5 702b30b71fe9e93f68ab2fd0c149cd4a
BLAKE2b-256 cdb126d1a8acc6dd353493384b45bfea5b70a2a4047da326316dc054773bb152

See more details on using hashes here.

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