Registry / devops / a3s-code

a3s-code

JSON →
library3.6.2pypypi✓ verified 82d ago

A3S Code is a Python bootstrap package that fetches and manages platform-native binaries (e.g., CLI tools) from GitHub Releases. Version 1.11.0 requires Python >=3.10. It simplifies distributing compiled executables by automating download and integration.

pip install a3s-code
INSTALL
IMPORT
SIG · A3S-CODE
A
a3s-code
devopspythonv3.6.2
Install
1.7s avg
Import
Disk
15MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.6.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 1.9s
py 3.11
✓ —
✓ 2s
py 3.12
✓ —
✓ 1.5s
py 3.13
✓ —
✓ 1.5s
py 3.9
✕ build_error
✕ build_error
15MB installed
● package 15MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Agent
from a3s_code import Agent
from a3s_code import A3SCode
AgentDefinition
from a3s_code import AgentDefinition
HttpTransport
from a3s_code import HttpTransport

Initialize A3SCode client to fetch binaries from a GitHub release.

import os from a3s_code import A3SCode def main(): # Update to your repository and binary details client = A3SCode( owner='my-org', repo='my-repo', binary_name='my-cli', github_token=os.environ.get('GITHUB_TOKEN', '') ) version = client.get_latest_version() print(f'Latest version: {version}') if __name__ == '__main__': main()
Debug
Known issues
breakingRequires Python >=3.10. Older Python versions will fail to install.
fix
Upgrade Python to 3.10 or later.
affects: >=1.0.0
gotchaIf GITHUB_TOKEN is not set, only public repositories with low rate limits are accessible. Rate limits may cause failures.
fix
Set GITHUB_TOKEN environment variable with a personal access token.
affects: all
gotchaOn Windows, binary names often require a '.exe' suffix. Not appending it will cause 'FileNotFoundError'.
fix
Specify binary_name with '.exe' on Windows (e.g., 'my-cli.exe').
affects: all
Upgrade
Version history
3.6.2latest on PyPI · released Jun 14, 2026
Audit
Dependencies
requestsrequiredFor HTTP requests to GitHub API and binary downloads.
Agent activity
50 hits · last 30 days
node
44
OpenAI (training)
1
Resources
a3s-code — pip install a3s-code · libregistry