Skip to main content

開発環境構築

フロントエンドを立ち上げ

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

Metadata

Release files for streamlit-image-annotation-customize 0.4.40

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for streamlit-image-annotation-customize 0.4.40
File Size Uploaded
streamlit_image_annotation_customize-0.4.40.tar.gz 1.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-image-annotation-customize 0.4.40
File Interpreter ABI Platform
streamlit_image_annotation_customize-0.4.40-py3-none-any.whl Python 3 none any Details

Total release size: 2.4 MB

Release files / streamlit_image_annotation_customize-0.4.40.tar.gz

Download URL streamlit_image_annotation_customize-0.4.40.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
fc5725ef06dafd4b4b223f9e58b3ef9fd959a977226c5cfd9ae2729ae80f0272
BLAKE2b-256 checksum
How to use checksums
d57888768f00c8f33afc7bb3802b19f3a782bf62b4e9bb11e6a1839341993f42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.1

Release files / streamlit_image_annotation_customize-0.4.40-py3-none-any.whl

Download URL streamlit_image_annotation_customize-0.4.40-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4742e101d89b049498e8f54dbddbc3320f89ec2cd7b16dbf85492ae99ed2dc62
BLAKE2b-256 checksum
How to use checksums
e50fcb3ff38e6c67c0663e7f819b6e15a831562be4ffe9200673c798a73bbf01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.4.40 This release

2 release files

0.4.38

2 release files

0.4.30

2 release files

0.4.26

2 release files

0.4.22

2 release files

0.4.21

2 release files

0.4.15

2 release files

0.4.14

2 release files

0.4.13

2 release files

0.4.12

2 release files

0.4.11

2 release files

0.4.10

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.3.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page