elastic-notebook-slim
元レポジトリ
https://github.com/illinoisdata/ElasticNotebook
インストール方法
カレントディレクトリにダウンロードせずライブラリとして使う方法(一般ユーザ向け)
pip install elastic-notebook-slim
ソースコードをローカルにダウンロードして使う方法(開発者向け)
git clone https://github.com/MRyutaro/elastic_notebook_slim.git
pip install ./elastic_notebook_slim
c
Project Structure
elastic-notebook
│ ElasticNotebook.py ## top-level cell magic
│───algorithm
│ │───baseline.py ## Migrate/recompute all baselines
│ │───optimizer_exact.py ## Replication plan generation via min-cut reduction (Section 5.3)
│ └───selector.py ## Optimizer base class
└───core
│───common
│ │───checkpoint_file.py ## Struct of ElasticNotebook's checkpoint file
│ │───profile_graph_size.py ## Size estimator for ElasticNotebook's Application History Graph
│ │───profile_migration_speed.py ## Profiler for network bandwidth
│ └───profile_variable_size.py ## Profiler for variable size
│───graph
│ │───cell_execution.py ## Data structure for Cell Executions
│ │───graph.py ## ElasticNotebook's Application History Graph (Section 4.1)
│ └───variable_snapshot.py ## Data strcutre for Variable Snapshots
│───io
│ │───adapter.py ## File writer base class
│ │───filesystem_adapter.py ## Writer for writing checkpoint file to NFS
│ │───migrate.py ## Helper for creating checkpoint file
│ │───pickle.py ## Helper for variable serializability detection
│ └───recover.py ## Helper for unpacking checkpoint file
│───mutation
│ │───fingerprint.py ## Helper for detecting variable modifications via ID graph and object hash
│ │───id_graph.py ## ID graph construction and comparison (Section 4.2)
│ └───object_hash.py ## Object hash construction and comparison (Section 4.2)
└───notebook
│───checkpoint.py ## Line magic for checkpointing notebook session (Section 3.2)
│───find_input_vars.py ## AST analysis module for finding input variables
│───find_output_vars.py ## Helper for finding created/deleted variables via namespace difference
│───restore_notebook.py ## Line magic for restoring notebook session (Section 3.2)
└───update_graph.py ## Helper for updating Application History Graph
PyPi へのアップロード方法
自動でアップロードする方法
uv pip install -e . # 初回のみ実行する
bump2version {hogehoge} # コマンドは以下のいずれかから選択する
git push --follow-tags # コミットとタグの両方をプッシュする
| コマンド | 説明 | バージョン変更例 |
|---|---|---|
bump2version patch |
パッチバージョンを上げる | 0.0.1 → 0.0.2 |
bump2version minor |
マイナーバージョンを上げる | 0.1.0 → 0.2.0 |
bump2version major |
メジャーバージョンを上げる | 1.0.0 → 2.0.0 |
手動でアップロードする方法
uv pip install twine build
python -m build
python -m twine upload dist/*
Metadata
Release files for elastic-notebook-slim 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| elastic_notebook_slim-0.0.13.tar.gz | 28.1 kB | Without provenance | Details for elastic_notebook_slim-0.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| elastic_notebook_slim-0.0.13-py3-none-any.whl | Python 3 | none | any | Details for elastic_notebook_slim-0.0.13-py3-none-any.whl |
Total release size: 63.6 kB
Release files / elastic_notebook_slim-0.0.13.tar.gz
| Download URL | elastic_notebook_slim-0.0.13.tar.gz |
|---|---|
| Size | 28.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a481175935927ded84639bddf6d3adc1b7ba9e9830938259b67a28890e13612
|
|
BLAKE2b-256 checksum How to use checksums |
7880b55983857e28833bc431e3a511557f3fd6537bc52c5c7b7ec10f1362f190
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / elastic_notebook_slim-0.0.13-py3-none-any.whl
| Download URL | elastic_notebook_slim-0.0.13-py3-none-any.whl |
|---|---|
| Size | 35.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
765afbdfbf870c9c72ca14417bbeb146646096a7dfab016b210806b4a210065a
|
|
BLAKE2b-256 checksum How to use checksums |
a3d329b0741d4ed464d39b8294e28f91ce1fca8604c410f17929fee8e522e894
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for elastic-notebook-slim 0.0.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.