Skip to main content

python3-cyberfusion-aptly-apicli

API library for Aptly.

Install

PyPI

Run the following command to install the package from PyPI:

pip3 install python3-cyberfusion-aptly-apicli

Debian

Run the following commands to build a Debian package:

mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
dpkg-buildpackage -us -uc

Configure

Config file options

  • Section aptly-api, key serverurl
  • Section aptly-api, key username (optional)
  • Section aptly-api, key apikey (optional)

Class options

  • config_file_path. Non-default config file path.

Usage

Example

from cyberfusion.AptlyApiCli import AptlyApiRequest

r = AptlyApiRequest()

# Upload temporary file

endpoint = "/api/files/aptly-0.9"

with open("aptly_0.9~dev+217+ge5d646c_i386.deb", "rb") as f:
    r.POST(endpoint, data={}, files={"file": f})

print(r.execute())

# Add package

endpoint = "/api/repos/repo1/file/aptly-0.9"

r = AptlyApiRequest()
r.POST(endpoint, data={})
print(r.execute())

Metadata

Release files for python3-cyberfusion-aptly-apicli 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python3-cyberfusion-aptly-apicli 1.1
File Size Uploaded Provenance Actions
python3_cyberfusion_aptly_apicli-1.1.tar.gz 4.0 kB Without provenance Details for python3_cyberfusion_aptly_apicli-1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python3-cyberfusion-aptly-apicli 1.1
File Interpreter ABI Platform Actions
python3_cyberfusion_aptly_apicli-1.1-py3-none-any.whl Python 3 none any Details for python3_cyberfusion_aptly_apicli-1.1-py3-none-any.whl

Total release size: 8.6 kB

Release files / python3_cyberfusion_aptly_apicli-1.1.tar.gz

Download URL python3_cyberfusion_aptly_apicli-1.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
51c5d11683506eceed57c974ac8bb58a0f3459a7a7daa2ed5fe95ee52025b016
BLAKE2b-256 checksum
How to use checksums
eaf1ddc05d0b22c835a229f83d52b8900403c9663533941f13e4524520ae2872
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / python3_cyberfusion_aptly_apicli-1.1-py3-none-any.whl

Download URL python3_cyberfusion_aptly_apicli-1.1-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
117a11cbb27fe4f26dafde7f4d849e713a898f18efa51bb49ad60e3d06b0d963
BLAKE2b-256 checksum
How to use checksums
d4225ea971bc288bcf34b6eb7f1aabe0f9ef7af8104219b7d390b674064ca55b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for python3-cyberfusion-aptly-apicli 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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