Skip to main content

ElasticNotebookのライブラリ版

Project description

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

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 twine build
python -m build
python -m twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elastic_notebook_slim-0.0.6.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elastic_notebook_slim-0.0.6-py3-none-any.whl (34.2 kB view details)

Uploaded Python 3

File details

Details for the file elastic_notebook_slim-0.0.6.tar.gz.

File metadata

  • Download URL: elastic_notebook_slim-0.0.6.tar.gz
  • Upload date:
  • Size: 26.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for elastic_notebook_slim-0.0.6.tar.gz
Algorithm Hash digest
SHA256 9f06892601f8399334ff87845a05973fc03efc4b64059dd62b7b9a8cc8b4dd76
MD5 0f321d47d989cebdfa0b22c81e55dc5f
BLAKE2b-256 5c19c3ed41886050732af3daa3e8b79a20d29a95ea2852b54d7d1a20b243bf42

See more details on using hashes here.

File details

Details for the file elastic_notebook_slim-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for elastic_notebook_slim-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 33ca556420f6d0a9ddb11d8540927077ef9a66302c51eb0994956fd569001763
MD5 ae06ccec234a64f62ef491a058ecc35c
BLAKE2b-256 4d0faefc35555d8e3d604a2a36e21baa12862543a0748121e27646d8b5d7e8ab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page