Skip to main content

a3s-code (Python bootstrap)

pip install a3s-code ships this small pure-Python package. On first import a3s_code it downloads the native extension matching your interpreter and platform from the project's GitHub Releases, verifies the wheel's sha256 against the release manifest, extracts the compiled extension into a per-user cache, and exposes the normal a3s_code API.

Subsequent imports use the cached extension. Cache lives under ~/.cache/a3s-code/<version>/ (or $XDG_CACHE_HOME/a3s-code/<version>/).

Why

PyPI imposes a default 10 GB per-project storage cap. A Rust SDK with ~17 MB native wheels per Python × platform tripped that limit. GitHub Releases is the canonical wheel host; this bootstrap keeps pip install a3s-code working without dragging the native wheels back through PyPI.

Supported platforms

  • macOS arm64 (Apple Silicon)
  • Linux x86_64 (glibc 2.28+)
  • Windows x86_64

CPython 3.10, 3.11, 3.12, 3.13.

Environment overrides

Variable Effect
A3S_CODE_CACHE_DIR Cache root (defaults to $XDG_CACHE_HOME/a3s-code or ~/.cache/a3s-code)
A3S_CODE_RELEASES_BASE_URL Override the release base URL — useful for air-gapped mirrors
A3S_CODE_SKIP_HASH_CHECK 1 skips sha256 verification (do not use in production)

Manual install

If you do not want the bootstrap to phone home, install the native wheel directly:

pip install \
  'https://github.com/A3S-Lab/Code/releases/download/v<VERSION>/a3s_code-<VERSION>-cp312-cp312-manylinux_2_28_x86_64.whl'

Replace <VERSION> with the release to install, for example 6.4.0.

Download files

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

Source Distribution

a3s_code-6.8.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

a3s_code-6.8.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file a3s_code-6.8.1.tar.gz.

File metadata

  • Download URL: a3s_code-6.8.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for a3s_code-6.8.1.tar.gz
Algorithm Hash digest
SHA256 d109654f733624d36a18ab04c46cb104fcc257bf41de39ba3907b60a2546a69a
MD5 40766551f4c49034e66ba84822b8f754
BLAKE2b-256 eaab6f38b16c0477646722353954a14af79770c2ca206f846cdc992ae43fe4a9

See more details on using hashes here.

File details

Details for the file a3s_code-6.8.1-py3-none-any.whl.

File metadata

  • Download URL: a3s_code-6.8.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for a3s_code-6.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0273595dedccd51d16d1bcdd14eddd671868f8f95424c210e2ad14a126d2790
MD5 61d20280cb1bc5f746360fc4733a1847
BLAKE2b-256 8d007ff6b56efc5851a506ded90a3b99f6f791254b215457ce1792c9629422d2

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