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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dmqclib-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 79c064981f04cfb48eade41ac3dd25118deb6472a3a49449d07d3c52ef249ea9
MD5 de01bc040d08decbc203d63788fd1eef
BLAKE2b-256 c18c26537a1842d6601a41bcf1e1eb165594f597ef2082ea3502c52bebad2918

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dmqclib-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3b3d01bc95f601c86117881fef83378a940afb2f9e80a65979d4f39f4822c6b9
MD5 29e8d085bb6ba26f88dadc85a4ceffa4
BLAKE2b-256 c75e1076aec7b92ec801134c28f4a77e20e59406877fa04b94d47bda88c086e2

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