Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Smarter Travel Artifactory Client

Project Description

Stac is a tiny Artifactory client designed for getting the most recent version (or versions) of a project from an Artifactory server. The target use case is downloading project artifacts as part of a deploy process.

Given a few pieces of information, it can generate URLs to the most recent version of an artifact to be downloaded as part of your deploy process. Currently, only Maven repository layouts (in Artifactory parlance) are supported.

Installation

To install Stac, simply run:

$ pip install stac

Dependencies

Usage

Using Stac is easy!

>>> from stac.api import new_maven_client
>>> client = new_maven_client('https://www.example.com/artifactory', 'libs-release')
>>> version = client.get_latest_version('com.example.services.authentication')
>>> version
'1.2.3'
>>> url = client.get_version_url('com.example.services.authentication', 'jar', version)
>>> url
'https://www.example.com/artifactory/libs-release/com/example/services/authentication/1.2.3/authentication-1.2.3.jar'

Documentation

The latest documentation is available at https://stac.readthedocs.org/en/latest/

Source

The source code is available at https://github.com/smarter-travel-media/stac

Download

Python packages are available at https://pypi.python.org/pypi/stac

Changes

The change log is available at https://stac.readthedocs.org/en/latest/changes.html

Release History

Release History

This version
History Node

1.1.0

History Node

1.0.1

History Node

1.0.0

History Node

0.3.1

History Node

0.3.0

History Node

0.2.0

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
stac-1.1.0-py2-none-any.whl (10.8 kB) Copy SHA256 Checksum SHA256 py2 Wheel Apr 4, 2016
stac-1.1.0.tar.gz (7.2 kB) Copy SHA256 Checksum SHA256 Source Apr 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting