DCTag is a graphical toolkit for manually annotating RT-DC events for machine-learning purposes.
Installing DCTag
This section is only for users. If you are a developer and want to contribute to DCTag, you have to clone the repository and install in editable mode (see further below).
There are no graphical installers. You must install Python 3.10 or later and install DCTag via pip:
pip install dctag
To upgrade to a new version, use the --upgrade argument:
pip install --upgrade dctag
Running DCTag
If installed properly, a simple dctag should work. Otherwise (make sure the virtual environment is active):
python -m dctag
For Developers
Here is how to work on contributions:
Fork this repository, create your virtual environment and install in editable mode via pip install -e . in the repository root.
Create an issue or open the issue that you want to address.
Assign yourself to that issue so nobody else is working on it.
Verify that nobody else is currently working an an issue that might interfere with your issue (e.g. editing same part of a file)
Activate your virtual environment and install dctag in editable mode:
pip install -e .
Create a new branch that starts with your issue number and short description:
git branch 15-keyboard-control git checkout 15-keyboard-control
Make your changes and commit:
git commit -a -m "feat: introduced keyboard control" # for the first push git push --set-upstream origin 15-keyboard-control # for consecutive changes git commit -a -m "fix: layout reversed" git push
After making your changes, create your pull request.
Testing
To run all tests, install the requirements and run pytest:
pip install -r tests/requirements.txt pytest tests
Metadata
Release files for dctag 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dctag-0.8.1.tar.gz | 304.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dctag-0.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 355.5 kB
Release files / dctag-0.8.1.tar.gz
| Download URL | dctag-0.8.1.tar.gz |
|---|---|
| Size | 304.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40851e7263c6fbe84bafc2dd10062478d067adfe4cd5e3c3a7900eb7ff3ed7c2
|
|
BLAKE2b-256 checksum How to use checksums |
f68462363f93c478157ad20cb6a088f1f69e30e52fdba111100e5c44087f4902
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / dctag-0.8.1-py3-none-any.whl
| Download URL | dctag-0.8.1-py3-none-any.whl |
|---|---|
| Size | 51.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db75148d0ca241f299b1b8078ceb8c26cd7a66d2b0cc0de5349abcd4b2a8f098
|
|
BLAKE2b-256 checksum How to use checksums |
273e4ec6c1747957d1a3591187dfdc427b23ee7a411088730f88e21897e03dc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|