A utility package designed to enhance workflows projects that use ticdat.
Project description
A utility package to enhance workflows in projects using TicDat.
The mwcommons library is designed to streamline development and improve usability for optimization and machine
learning projects that rely on TicDat. This shared utility package offers specialized tools, helper functions,
and custom exceptions, enabling faster development and consistent workflows.
Key Features
- Workflow Enhancements: Tools specifically tailored for projects using TicDat.
- Helper Functions: Simplifies repetitive or complex tasks in optimization and machine learning workflows.
- Custom Exceptions: Provides meaningful error handling to improve debugging and development efficiency.
- Shared Utilities: Promotes reusability and consistency across projects.
Why Use mwcommons?
- Save time by reusing proven tools and utilities.
- Improve code clarity and maintainability with a standardized approach.
- Simplify the integration of TicDat in your projects.
- Enhance error handling and logging with custom exceptions.
Common Maintenance Tasks
-
Installing dependencies:
- For fresh environments or setting up the project for the first time.
- Install uv using pip or pipx. The last one is more recommended to its global isolation property.
pipx install uv
- Install uv using pip or pipx. The last one is more recommended to its global isolation property.
- Create virtual environment using uv.
uv venv- If you need to create the venv based on a specific python you can use:
uv venv --python python3.11
- Install dependencies using uv.
uv sync
- For fresh environments or setting up the project for the first time.
-
Add dependencies:
uv add <package-name>
-
Removing dependencies:
uv remove <package-name>
-
Updating version of the project:
- Change the version into the pyproject.toml.
- It uses semantic versioning: '<patch/minor/major>`
-
Running tests:
- python -m unittest discover test_mw_utils
-
Maintaining a changelog:
- Update
CHANGELOG.mdwith each release
- Update
-
Tagging the release:
git tag v<new-version>
-
Building the package:
- This will create a
distdirectory with the built package. uv build
- This will create a
-
Publishing to PyPI:
uv publish --repository pypi,- or
twine upload dist/*.
Project details
Release history Release notifications | RSS feed
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 mwcommons-0.0.1.tar.gz.
File metadata
- Download URL: mwcommons-0.0.1.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bcbef3e396eb146f7a96f42d6d87efb8e59f270efdaa4a8f475dfb806d63e97
|
|
| MD5 |
58ea85d2d5d62d8dfd889afdcc85b91e
|
|
| BLAKE2b-256 |
2abe26d7a51fef5d7ab81f0ecc5b25dd9c164dc55e84d89db7e5fdbadc766664
|
File details
Details for the file mwcommons-0.0.1-py3-none-any.whl.
File metadata
- Download URL: mwcommons-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9552469884e808a233abdbf6797db8a02fbdd192f937cd171fa6c6669ac593f2
|
|
| MD5 |
0a16294cbad340b1443e2b912b40bf74
|
|
| BLAKE2b-256 |
fd5352fbf3c27ca5146ceb617ecd16f1ce6759dfa4679a6084c614aef9a5aaf2
|