Skip to main content

Archivematica API client library.

Project description

Travis CI


AMClient is an Archivematica API client library and Python package for making it easier to talk to Archivematica from your Python scripts. AMClient also acts as a command line application which can easily be combined with shell-scripts to perform the same functions as a Python script might.

AMClient brings together the majority of the functionality of the two primary Archivematica components:

Basic usage: <subcommand> [optional arguments] <positional argument(s)>

E.g.: close-completed-transfers \
      --am-user-name test 234deffdf89d887a7023546e6bc0031167cedf6

To see a list of all commands and how they are used, then run without any arguments.

To understand how to use an individual subcommand, simply run: <subcommand>, the output will describe the input parameters for that command:


  usage: amclient extract-file [-h] [--ss-user-name USERNAME] [--ss-url URL]
                               [--directory DIR]
                               [--saveas-filename SAVEASFILENAME]
                               ss_api_key package_uuid relative_path

Calling the module from Python:


    Python 3.6.7 (default, Oct 22 2018, 11:32:17)
    [GCC 8.2.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from amclient import AMClient
    >>> am = AMClient()
    >>> am.ss_url = ""
    >>> am.ss_user_name = "test"
    >>> am.ss_api_key = "test"
    >>> am.list_storage_locations()
    ...json is output here...


For information about contributing to this project please see the AMClient

Project details

Download files

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

Files for amclient, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size amclient-1.1.1-py2.py3-none-any.whl (28.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size amclient-1.1.1.tar.gz (14.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page