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 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.

The v8.0.3 release uses one CPython 3.10 stable-ABI (cp310-abi3) wheel per platform. That wheel is installable by CPython 3.10, 3.11, 3.12, 3.13, and 3.14. The published v8.0.2 assets predate this workflow and still use exact CPython 3.10–3.13 wheel names; upgrade the bootstrap to v8.0.3 for Python 3.14. The loader falls back to the exact per-minor names used by older releases, so upgrading the bootstrap does not invalidate an older release asset.

Subsequent imports use the cached extension. Cache lives under a platform-specific directory, ~/.cache/a3s-code/<version>/<platform-tag>/ (or $A3S_CODE_CACHE_DIR/<version>/<platform-tag>/ when overridden).

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, macOS 11+)
  • macOS x86_64 (Intel, macOS 12+)
  • Linux x86_64 (glibc 2.28+)
  • Windows x86_64

CPython 3.10, 3.11, 3.12, 3.13, and 3.14.

The bootstrap itself needs a working pip in the interpreter that runs it. If python3.14 -m pip reports No module named pip, initialize pip and retry:

python3.14 -m ensurepip --upgrade
python3.14 -m pip install --upgrade pip
python3.14 -m pip install a3s-code

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>-cp310-abi3-manylinux_2_28_x86_64.whl'

For an Intel Mac on macOS 12 or later, use the macosx_12_0_x86_64 asset:

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

Replace <VERSION> with the release to install. The Intel asset is available from the first release produced with the Intel build matrix.

The Intel macOS 12 build does not ship the optional local ONNX embedding adapter. Keep retrieval model-free or configure an explicitly authorized remote embedding provider when using that platform.

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-8.0.4.tar.gz (11.7 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-8.0.4-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for a3s_code-8.0.4.tar.gz
Algorithm Hash digest
SHA256 92420ecc7de74d31fde949b431ddff3e99a21edfd76b31274f146d76bc27c0c9
MD5 d9633168b667fac21d9fbd5c0d79bb0a
BLAKE2b-256 77a774be6816d3cbf8fb7639a59569c9d3c9d304b6ec76c7c6be0a28e50de07e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for a3s_code-8.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d87dd952566d66c2c33e74f3683f718b084da040975b3a679aace3a3df2f84d9
MD5 186b1d38c4d45bcb4008e575d36ae495
BLAKE2b-256 a944fe3a36827efbf62bcabd030c32dbcbb3928850cfe4b7d9b976835e07ed55

See more details on using hashes here.

Release history Release notifications | RSS feed

8.5.1

2 files

8.4.0

2 files

8.3.0

2 files

8.2.0

2 files

8.1.0

2 files

This release

8.0.4 This release

2 files

8.0.3

2 files

8.0.2

2 files

8.0.1

2 files

8.0.0

2 files

7.0.2

2 files

7.0.1

2 files

6.9.0

2 files

6.8.1

2 files

6.8.0

2 files

6.7.0

2 files

6.6.0

2 files

6.5.2

2 files

6.5.1

2 files

6.5.0

2 files

6.4.3

2 files

6.4.2

2 files

6.4.1

2 files

6.4.0

2 files

6.3.1

2 files

6.3.0

2 files

6.2.0

2 files

6.1.0

2 files

6.0.0

2 files

5.3.5

2 files

5.3.4

2 files

5.3.3

2 files

5.3.2

2 files

5.3.1

2 files

5.3.0

2 files

5.2.8

2 files

5.2.7

2 files

5.2.4

2 files

5.2.3

2 files

5.2.2

2 files

5.1.0

2 files

5.0.0

2 files

4.3.3

2 files

4.2.8

2 files

4.2.7

2 files

4.2.6

2 files

4.2.5

2 files

4.2.4

2 files

4.2.3

2 files

4.2.2

2 files

4.2.1

2 files

4.1.0

2 files

4.0.0

2 files

3.6.2

2 files

3.5.0

2 files

3.4.0

2 files

3.3.0

2 files

3.2.1

2 files

3.2.0

1 file

3.1.0

12 files

3.0.0

12 files

2.6.0

12 files

2.5.0

13 files

2.4.0

12 files

2.3.0

12 files

2.2.0

12 files

2.1.0

12 files

2.0.1

12 files

2.0.0

12 files

1.11.0

2 files

1.10.0

2 files

1.9.4

2 files

1.9.3

2 files

1.9.2

2 files

1.9.1

2 files

1.9.0

2 files

1.8.6

2 files

1.8.5

2 files

1.8.4

2 files

1.8.3

2 files

1.8.0

2 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