tidas-tools
Project description
TianGong TIDAS Toolbox
Env Preparing
Using Ubuntu
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install -y python3.12
sudo apt install libxml2-dev libxslt-dev
sudo apt-get install build-essential python3-dev
sudo apt upgrade
Using Poetry
curl -sSL https://install.python-poetry.org | python3 -
poetry env activate
poetry env info
poetry lock
poetry install
Auto Build
The auto build will be triggered by pushing any tag named like release-v$version. For instance, push a tag named as v0.0.1 will build a docker image of 0.0.1 version.
#list existing tags
git tag
#creat a new tag
git tag v0.0.1
#push this tag to origin
git push origin v0.0.1
Lint and Format
black .
Run Test
python src/tidas_tools/convert.py -i test_data/converted_json/data/ -o test_data/converted_xml --to-eilcd
python src/tidas_tools/convert.py -i test_data/published_xml/ -o test_data/converted_json/ --to-tidas
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
tidas_tools-0.0.2.tar.gz
(228.5 kB
view details)
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
tidas_tools-0.0.2-py3-none-any.whl
(264.9 kB
view details)
File details
Details for the file tidas_tools-0.0.2.tar.gz.
File metadata
- Download URL: tidas_tools-0.0.2.tar.gz
- Upload date:
- Size: 228.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3584df875ce7ddc0e0cc6a1b49918694bff1f909d8895c4eb615c529ed61a2ce
|
|
| MD5 |
a8f10d5091054db480fd4bd0cfb068a5
|
|
| BLAKE2b-256 |
3207fcdb1ed151ac817ed81d95a6cdb76e9a57c3069bf55b2e7618cae33e650a
|
File details
Details for the file tidas_tools-0.0.2-py3-none-any.whl.
File metadata
- Download URL: tidas_tools-0.0.2-py3-none-any.whl
- Upload date:
- Size: 264.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5962c88a9015b069bf3f8fff855ceff596df659546f83815eecc391dab020fb8
|
|
| MD5 |
1024f1c4357b5748f9b695ea877a2447
|
|
| BLAKE2b-256 |
131494521528a737c7180e275973f66bc77c18644a944edbb8cea9c9e8ad8ef9
|