streamlit components for image annotation
Project description
開発環境構築
フロントエンドを立ち上げ
NodeJS 16が必要
cd streamlit_image_annotation_customize/streamlit_image_annotation/Detection
yarn
yarn start
streamlit_image_annotation_customize/__init__.py
で IS_RELEASE = False
に設定する
annotation_tool コーロがローカル「streamlit_image_annotation_customize」ライブラリをインストールする
既存のライブラリを削除
pip uninstall streamlit_image_annotation_customize
streamlit_image_annotation_customizeのコードフォルダー(setup.pyファイルがあるフォルダー)で下記のコマンドで実行
pip install -e .
これでannotation_toolで利用できるようになり、フロントエンドの修正をしたら、すぐに反映される
pypiに公開
~/.pypirc を下記の内容で作成する (1回のみ)
[pypi]
username = __token__
password = ***
frontendビルド
cd streamlit_image_annotation_customize/Detection/frontend
yarn build
and set IS_RELEASE = True
in streamlit_image_annotation_customize/__init__.py
.
and setup.py
で公開バージョン番号を設定 version="xx.xx.xx"
make wheel
python setup.py sdist
python setup.py sdist bdist_wheel
upload
twine upload dist/*
利用
pip install streamlit_image_annotation_customize
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
File details
Details for the file streamlit_image_annotation_customize-0.4.40.tar.gz
.
File metadata
- Download URL: streamlit_image_annotation_customize-0.4.40.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc5725ef06dafd4b4b223f9e58b3ef9fd959a977226c5cfd9ae2729ae80f0272 |
|
MD5 | f97c7176e0d51c7866de0a7b1ebf6d19 |
|
BLAKE2b-256 | d57888768f00c8f33afc7bb3802b19f3a782bf62b4e9bb11e6a1839341993f42 |
File details
Details for the file streamlit_image_annotation_customize-0.4.40-py3-none-any.whl
.
File metadata
- Download URL: streamlit_image_annotation_customize-0.4.40-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4742e101d89b049498e8f54dbddbc3320f89ec2cd7b16dbf85492ae99ed2dc62 |
|
MD5 | 2cf7b8fbf103be3b854528c10531422e |
|
BLAKE2b-256 | e50fcb3ff38e6c67c0663e7f819b6e15a831562be4ffe9200673c798a73bbf01 |