Skip to main content

This package is the Python SDK for Panoptes, the platform behind the Zooniverse. This module is intended to allow programmatic management of projects, providing high level access to the API for common project management tasks.

Project description

Panoptes Client

This package is the Python SDK for Panoptes, the platform behind the Zooniverse. This module is intended to allow programmatic management of projects, providing high level access to the API for common project management tasks.

Full documentation is available at Read the Docs.

Installation

Install latest stable release:

$ pip install panoptes-client

Or for development or testing, you can install the development version directly from GitHub:

$ pip install -U git+https://github.com/zooniverse/panoptes-python-client.git

Upgrade an existing installation:

$ pip install -U panoptes-client

The Panoptes Client is supported on all versions of Python 2 and 3, from Python 2.7 onwards.

Usage Examples

Create a project:

from panoptes_client import Panoptes, Project

Panoptes.connect(username='example', password='example')

new_project = Project()
new_project.display_name = 'My new project'
new_project.description = 'A great new project!'
new_project.primary_language = 'en'
new_project.private = True
new_project.save()

See the documentation for additional examples.

Contributing

We welcome bug reports and code contributions. Please see CONTRIBUTING.md for information about how you can get involved.

Running the Tests

You can run the tests with Docker. This will run them under Python 3 and Python 2:

docker-compose build tests && docker-compose run tests
docker-compose build tests2 && docker-compose run tests2

Or you can run them directly in Python with:

python -m unittest discover

Project details


Download files

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

Source Distribution

panoptes_client-1.5.0.tar.gz (35.2 kB view details)

Uploaded Source

Built Distribution

panoptes_client-1.5.0-py3-none-any.whl (44.5 kB view details)

Uploaded Python 3

File details

Details for the file panoptes_client-1.5.0.tar.gz.

File metadata

  • Download URL: panoptes_client-1.5.0.tar.gz
  • Upload date:
  • Size: 35.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for panoptes_client-1.5.0.tar.gz
Algorithm Hash digest
SHA256 b357b73f0647efff1775dc13bd4fda0d6178fbf11d7fd4013fcc85e1a50d0bef
MD5 759c48c001d7398b9628baa3ddf7d230
BLAKE2b-256 3fdc1648ecc0cd6ced8d58089f32eeb710dd96c22e487f7151871c23984cb9c0

See more details on using hashes here.

File details

Details for the file panoptes_client-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for panoptes_client-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccccb5c22dd1e32a345797adb52514a03730b3965c3ec5cf26e01f0a75bae309
MD5 3818d0fdfc4f40aaf179ab1fc6154916
BLAKE2b-256 2c1db25b7ad322803f5b3b9341a0ee9d7ddec75da4aec68b45a6e44f14a3aaf8

See more details on using hashes here.

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