Skip to main content

Speed up file transfers with the B10 Infra.

Project description

Truss-Transfer

Python-optional download utility

pip install truss-transfer
# pip install /workspace/model-performance/michaelfeil/truss/truss-transfer/target/wheels/truss_transfer-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl
import truss_transfer

def lazy_data_loader(download_dir: str):
    print(f"download using {truss_transfer.__version__}")
    try:
        truss_transfer.lazy_data_resolve(str(download_dir))
    except Exception as e:
        print(f"Lazy data resolution failed: {e}")
        raise

Environment variables:

BASETEN_FS_ENABLED=0
TRUSS_TRANSFER_DOWNLOAD_DIR="/tmp/bptr-resolved"

Running the CLI as binary

Compiling the libary as musl-linux target for cross-platform usage.

# Add one-time installations
# apt-get install -y musl-tools libssl-dev libatomic-ops-dev
# rustup target add x86_64-unknown-linux-musl

# To build with cargo:
cargo build --release --target x86_64-unknown-linux-musl --features cli --bin truss_transfer_cli
# To run the binary
./target/x86_64-unknown-linux-musl/release/truss_transfer_cli /tmp/ptr

Building a wheel from source

Prerequisites:

# apt-get install patchelf
# Install rust via Rustup https://www.rust-lang.org/tools/install
pip install maturin==1.8.1

This will build you the wheels for your current python3 --version. The output should look like this:

maturin build --release
🔗 Found pyo3 bindings
🐍 Found CPython 3.9 at /workspace/model-performance/michaelfeil/.asdf/installs/python/3.9.21/bin/python3
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.75s
🖨  Copied external shared libraries to package truss_transfer.libs directory:
    /usr/lib/x86_64-linux-gnu/libssl.so.3
    /usr/lib/x86_64-linux-gnu/libcrypto.so.3
📦 Built wheel for CPython 3.9 to /workspace/model-performance/michaelfeil/truss/truss-transfer/target/wheels/truss_transfer-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl

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

truss_transfer-0.0.4.tar.gz (20.3 kB view details)

Uploaded Source

Built Distributions

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

truss_transfer-0.0.4-cp313-cp313t-musllinux_1_2_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ x86-64

truss_transfer-0.0.4-cp313-cp313t-musllinux_1_2_i686.whl (3.8 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ i686

truss_transfer-0.0.4-cp313-cp313t-musllinux_1_2_armv7l.whl (3.5 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ ARMv7l

truss_transfer-0.0.4-cp313-cp313t-musllinux_1_2_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ ARM64

truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (3.5 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ppc64le

truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl (3.7 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ i686

truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (3.2 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARMv7l

truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARM64

truss_transfer-0.0.4-cp313-cp313t-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13tmacOS 11.0+ ARM64

truss_transfer-0.0.4-cp313-cp313t-macosx_10_12_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13tmacOS 10.12+ x86-64

truss_transfer-0.0.4-cp38-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.8+Windows x86-64

truss_transfer-0.0.4-cp38-abi3-win32.whl (1.2 MB view details)

Uploaded CPython 3.8+Windows x86

truss_transfer-0.0.4-cp38-abi3-musllinux_1_2_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

truss_transfer-0.0.4-cp38-abi3-musllinux_1_2_i686.whl (3.8 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ i686

truss_transfer-0.0.4-cp38-abi3-musllinux_1_2_armv7l.whl (3.5 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARMv7l

truss_transfer-0.0.4-cp38-abi3-musllinux_1_2_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (3.5 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ppc64le

truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (3.7 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ i686

truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (3.2 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARMv7l

truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

truss_transfer-0.0.4-cp38-abi3-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

truss_transfer-0.0.4-cp38-abi3-macosx_10_12_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file truss_transfer-0.0.4.tar.gz.

File metadata

  • Download URL: truss_transfer-0.0.4.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.3

File hashes

Hashes for truss_transfer-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8111c3beb436b4306fb594d39e7c4170cd2e807e957dd85b4aa6c83ed73d0893
MD5 290df4804f0e93b1628e07f02515f7eb
BLAKE2b-256 eab0600f3c2657fe1ef839c7d8a548a51ab2c73da1647a40b8ad1fb91500be2e

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp313-cp313t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp313-cp313t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d1b412fea738bfa4075ea6f9b63ee6c167836d86ea4b35cd8265716840c93202
MD5 fef43795408fb70f542dbe51c12bd622
BLAKE2b-256 cdfbdac41a7460613411145e244ccb05ac704b85bf1168bd1abef02a51b2ac57

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp313-cp313t-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp313-cp313t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 59d8304f029c433cbf819d4ade93e3b4a29d9b8011e7d6afab58d1ed5fa96c26
MD5 665a1b46c8319eb52d7e864b6d3ce699
BLAKE2b-256 399f7f65c61c4c721954cde70085b9c1d23796ea2eb77e7904d7b52bb8fd5a36

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp313-cp313t-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp313-cp313t-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 7cedbe06e7e41b005cb49e980011b628d5e5038f1a44ed910f1ad8f634b01cce
MD5 f3a47155f4b6a4700303080f0470a3e8
BLAKE2b-256 c4f2e2648cc7a09539d81de4bdf1bd0e99e16dea1cf26ad29bff010e29fa4623

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp313-cp313t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp313-cp313t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9c471db95c601c7855fefe405ec380aeddcbf9c1af46681264f3c34b451e7360
MD5 82ea8e4f53bccea588b6ffc1951f7ce2
BLAKE2b-256 1db0c7e60eee1ada43522732215099e8414117f206190b8575db2d986a627b6a

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 91410cd3f2272538fce74d1acf345fc4081031538c381f2a0188dc5a31108654
MD5 fc3c5e6c2292e8160dbf5f14ddf4d0b1
BLAKE2b-256 7919b651ae9c90c63fd826592ed6645b6f2b18eb6729628b49f8edac7f6571d5

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 dbff09c139d520418ff39426cc3544145fd12cacf60199db3c02075cea24ea19
MD5 ddaa2ff73527fa9f87b65f5fded25df7
BLAKE2b-256 2b12f010017135e45f4072e0124a8cd92f891803ea487485fd44f1069a24bad3

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9099aedac85a8ba1674c9c80c1cf275add6c8e48c81aaac251a42f2379fdfae4
MD5 e4381ab586e344396dc15857d372df80
BLAKE2b-256 527f138070414d42825969d1641409fb493d1f30e18f7fc6ba8ec6effef95684

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 52ebf58d11cb153b4870e6e9c51897b5ac692d9b983f4118f3473aea0b7642f2
MD5 9ed294ab9cecdd2f8a53a55e6ca757d9
BLAKE2b-256 ef04f6d1368bca4b66482675da3a845d3fd56c8e0613f56ae095b15fb1fd3770

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9702a579d293d2d69760b9c86123cb49d58ce85463ebe38b4ae82d52fc6633ec
MD5 8fbd815ed27d69ce0def8bc6ace6d915
BLAKE2b-256 bd8fd65aa36eb0968a2bb28c1b0743c76f8d926b212c6b660ae424095d1bb3e5

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp313-cp313t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6402979919ea45b7901e5854b5e7885e583abbd54450a84c5b2a2f4977ac9520
MD5 27e16dac442adb38ac08f95410634450
BLAKE2b-256 7b066c37907c64d0f353309d525e4e4de300d99667092041530ad1c8379f74ef

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp313-cp313t-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp313-cp313t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 466271ebe94b3fc69b21fbbc83f978e0d86328e57b013f6df49549a550dffc45
MD5 117ed1d326e270db41658afce7d3b1ef
BLAKE2b-256 064473e6d676ec0117965a33ed4a688d7d6079700d6524384e59b7ed35284f6d

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3e7801ccf1c92d2a18174ae23cfa2e99e7ca180e63d4fb94f22a9f9fc7d2a3cc
MD5 473fcda033d33e14cfc84da955d6a8b0
BLAKE2b-256 93815e8b843e013eb648b07e3424e408267bb538eea5e91e77f6dcd6da54d6d7

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-win32.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 f64433b38bebd0313904f6b6d98d1e42e49f6825a768f0941989d23c84e7df88
MD5 c963c752dec4b2d353d27a1f0361e93b
BLAKE2b-256 3d468e1a07e3a92fc8b0159fceab0cfbbe973ac51c762139cd31a849d4e5435d

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ba74ac8cdd9c3bd5804f4a2b3514d042e3fd2a60c5578a1ecda235e563f47b74
MD5 5167bc2393ccb220497fe933cf6151dc
BLAKE2b-256 7e4b9ec9443c094a8575c24d17eb7f9645209d2e20badff19ad16a7309479e8b

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 ce13ff13f8f5786286be7648239ab6b33093b6f31ea8c4c339ca086fb39d3821
MD5 f515d1a3b12fafffa9db046bbd076f1d
BLAKE2b-256 bd4e42b9022753fd1db4192baac6bb236ebdd208992c1c5f35fdaf234d2907ca

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 960e8b9975a570645302ff1fd220c73c35131555a863b73be0203c519739884d
MD5 ba70699387916e1f2167cbc20f6ffade
BLAKE2b-256 6d7114b0446dc693ddc0837e3613adb08496ca5e5051e480b4bb87e1fae3ae15

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5ef1cf2acd7aa1373decd39876bd9f84895d12a095686246a2d7dbb127284018
MD5 3b59aba7edd9a31a0ffd28051903c3fc
BLAKE2b-256 a61e55992da6097a9117521928d7953e576bae825b7707d4f92aa063f76260e9

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8389562624b8d3209579dd1cb83aa07051717747b727d2d06f1ae415082c19f
MD5 66e81d44faa137641a20d1858ddad84f
BLAKE2b-256 3592fb2af70449cc9d66ea2aba5670511a7866fc07c547ff696e5d0b4ce1b5ad

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 cde6bab295be9050c3966a912bb703e52ecaad9c4cc872600135fcb2a382bdb2
MD5 2e75e755a0f733195746c1aa66f45c0b
BLAKE2b-256 0b529cfc7c8dd87da81134d035a167eb9edd655fc529917d59634a7b7ba0219d

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c708998f44b7605e9c9d824840d7f9c14a2524e8f67de574d877604742099f3b
MD5 6eadf6e47cb8718fab3bb6f71834773c
BLAKE2b-256 e7d345cdaf65b38260aeb9eb837f539836b5253d3602aecfd44cf2cf1afe1f34

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 46bf6bca8fadc8761d4a5534ac7234c1963862f4757f0c894bcb20e3f14f87d8
MD5 cb6a5fb084ac8664306e63a6eee6c48d
BLAKE2b-256 617acde616184b71384d017a95900eed81990d24e2f4ee8d06d238a49a4b5b6a

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a9c14a798fd83cfbd80ecfe46b55879556c205fcaec5ff0dd5bea4e9c6dd33ba
MD5 354d484129d05f508b678fda390c89d2
BLAKE2b-256 9f144052d32d0dc2703e8006fff91e3e29003fa37e2c9a306e19bc0d33397933

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1b11b230551b89b326d0b083ef5f069aff507eb7039e221dd271db8a8c86088b
MD5 03c65388ff191e4232ddb9d4b372c758
BLAKE2b-256 aaab79542762f75c70311a87f611df634247ea55e07e1b27f5ec75b74cb7c323

See more details on using hashes here.

File details

Details for the file truss_transfer-0.0.4-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for truss_transfer-0.0.4-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ef942fa0c83686a346bae9bb00a08f3e69af5d53f6ade1b9922b042fba32bb02
MD5 dc23ea5e426244d4983ba84b8c3af316
BLAKE2b-256 b10b478c45ad77f109677d2af8eea66d845c8916cc27385375d69cb789c55a2a

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