Skip to main content

A bulk upload library for DocumentCloud.

Project description

pneumatic is a library intended to add some luxury and safeguards to the process of bulk-uploading hundreds, thousands or hundreds of thousands of files to DocumentCloud. Note: pneumatic is currently very much a work in progress.

Features

  • Catalogs the API response for each upload in a SQLite database along with the file’s canonical URL.

  • Prevents inadvertent submission of files that DocumentCloud doesn’t handle, such as audio.

Usage

You will need to have an active DocumentCloud account. Uploading all files in a directory (and all sub-directories below it), is as simple as running:

from pneumatic import DocumentCloudUploader

client = DocumentCloudUploader('person@example.com', 'your-password')
client.upload(file_directory='/files', project='17477-loudoun-county-government')

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pneumatic-0.0.1-py3.5.egg (10.5 kB view hashes)

Uploaded Source

pneumatic-0.0.1-py2.7.egg (9.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page