Training data synthesizer for OMR
Project description
Smashcima
A library and a framework for synthesizing images containing music, intended for use as training data for OMR models.
A tutorial
Note: The tool is under development and does not yet have a fixed public API. The tutorial is being developed and from it the whole tool is being built top-down.
To quickly learn how to start using Smashcima for your project, start with the tutorial.
How it works
Smashcima is not really a single tool, but more like a framework. To fully learn how to leverage its abilities, start by reading its documentation:
Smashcima Documentation - Introduction
After cloning
Create a virtual environment and install dependencies:
python3 -m venv .venv
.venv/bin/pip3 install -e .
# to run jupyter notebooks:
.venv/bin/pip3 install -e .[jupyter]
Publishing new version to PyPI
Production PyPI at: https://pypi.org/
Testing PyPI at: https://test.pypi.org/
- Update the version in
smashcima/__init__.py. - Build the package
make build. - Upload to PyPI
make push-prodor TestPyPImake push-test. - When asked, use
__token__for username and paste in the access token for the password (with thepypi-prefix). - Check the version has been uploaded and try its installation.
- Submit the version commit and create a release on GitHub.
Note: Don't forget keeping the version at
X.Y.Zdevwhen developing versionX.Y.Z. See thesmashcima/__init__.pyfile.
Note: to install from the test pypi, use:
pip3 install --index-url https://test.pypi.org/simple/ --no-deps smashcima. More info here.
Packaging and development notes
- Read this: https://packaging.python.org/en/latest/tutorials/packaging-projects/
- Package configuration inspired by this: https://github.com/vega/altair/blob/main/pyproject.toml
- For development setup inspiration check out: https://altair-viz.github.io/getting_started/installation.html#development-installation
- jupyter notebooks in git: https://mg.readthedocs.io/git-jupyter.html
- deploying voila: https://voila.readthedocs.io/en/stable/deploy.html
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 smashcima-0.1.0.tar.gz.
File metadata
- Download URL: smashcima-0.1.0.tar.gz
- Upload date:
- Size: 65.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc676b6fc8531ebbd5b7bb506d803977c713081e040b06b3090b8903b6039aec
|
|
| MD5 |
832645b3e99626ee598fb30862e71890
|
|
| BLAKE2b-256 |
18f0504366f3f400f7d404d72fc14310f6dc211d6356dd34f4a5f9f0b613c3eb
|
File details
Details for the file smashcima-0.1.0-py3-none-any.whl.
File metadata
- Download URL: smashcima-0.1.0-py3-none-any.whl
- Upload date:
- Size: 102.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
875fb2b5acefbe161fbff0a60cb4b114ee921c009355870b6ac7d03330ba82e9
|
|
| MD5 |
413e8b45566257aa71b0b5c5ffbb67a6
|
|
| BLAKE2b-256 |
be6dd3580a2cd79ac10f524c281b3e7ffcfba47eac1615bc998ddd4b141a680c
|