skillfed

PyArtifactory

Typed interactions with the Jfrog Artifactory REST API

pyartifactory v2.11.2 581.5K downloads/30d#5,908 on PyPI76
Permissive license MIT AGING released

What it is and what it does

PyArtifactory is a typed Python client for the Jfrog Artifactory REST API. It wraps HTTP operations through requests and pydantic for data validation, providing object-oriented access to Artifactory's admin and artifact management features. The library supports multiple authentication methods (basic auth, access tokens), SSL certificate configuration, and timeout handling.

Typical use cases include automating user and group provisioning, managing repository configurations, deploying and retrieving artifacts programmatically, handling build promotion workflows, and managing access tokens. It requires Python 3.8+ and relies on requests for HTTP communication and pydantic for request/response validation, making it straightforward to integrate into automation scripts and CI/CD pipelines.

Use it for:

  • Automate user and group creation, updates, and deletion in Artifactory as part of identity management workflows.
  • Deploy build artifacts to repositories and retrieve artifact metadata, properties, and statistics programmatically.
  • Manage repository configurations (local, virtual, remote, federated) and permissions across multiple Artifactory instances.
  • Promote builds between repositories and manage build lifecycle operations in CI/CD pipelines.
  • Generate, regenerate, and revoke API keys and access tokens for service accounts and automation.
  • Copy or move artifacts between repositories and manage artifact properties at scale.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python library for programmatic access to the Artifactory REST API, enabling management of users, groups, repositories, artifacts, builds, and access tokens.

Yes. The package is stable (Production/Stable classifier), has no known vulnerabilities, uses permissive MIT licensing, and provides low-friction installation. The aging maintenance status (325 days since last release) is a minor concern but not a blocker—the repository remains active and the library is widely used. Install it if you need programmatic Artifactory management; the typed API and straightforward dependency chain make it reliable for automation.

Install

pyartifactory on PyPI

pip

pip install pyartifactory

uv

uv add pyartifactory

poetry

poetry add pyartifactory

Installing PyArtifactory

Before you install

Low install friction with a pure-Python wheel distribution. Maintenance status is aging—last release was 325 days ago—but the repository remains active with recent commits and no archived status.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects without licensing concerns.

Quickstart

pip install pyartifactory

from pyartifactory import Artifactory
art = Artifactory(url="https://artifactory.example.com", auth=('user', 'password'))
users = art.users.list()

Requires Python 3.8 or higher; Artifactory server URL and authentication credentials (basic auth or access token) must be provided.

Verify before relying

  • Whether the library handles Artifactory API versioning differences transparently or requires manual api_version parameter for each instantiation.
  • Performance characteristics when working with large artifact repositories or bulk operations.
  • Whether SSL certificate verification options (verify, cert parameters) are fully compatible with all Artifactory deployment scenarios.

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 3 — requests, typing_extensions, pydantic
Maintenance aging — 325 days since the last release
Last repo commit
First released
Downloads 581,463/month — #5,908 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyartifactory-2.11.2-py3-none-any.whl

Keywords: artifactory

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: System :: FilesystemsTyping :: Typed

Tags

artifactory rest api clientjfrog artifactory pythonartifact repository managementartifactory user and permission managementdeploy and download artifactsartifactory build promotionartifactory access token management
artifactory-clientrest-api-wrapperci-cd-automation

More Libraries packages