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.7.1.tar.gz (38.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

panoptes_client-1.7.1-py3-none-any.whl (49.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: panoptes_client-1.7.1.tar.gz
  • Upload date:
  • Size: 38.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for panoptes_client-1.7.1.tar.gz
Algorithm Hash digest
SHA256 325b67673c5bfa63651db00b62c3c9c0a617b6a44a55a453151082d96fe27b2b
MD5 5a2a6cc2be11fd6847c9af1218226c2a
BLAKE2b-256 039ff664bcafbec8e430547025f90927e1cfd519cdd19fa4c02ccd64594fca53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for panoptes_client-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 11ccd9e5f0c19897636c70d437165d32fa4d79f399f8c2b009599d86babb104d
MD5 f2f9f6958b0782f36354fd42bf9f6f5c
BLAKE2b-256 c3722c6d9e0049abb197d2a5d7d3f917542fe14d8b63fa4faea5508fbae25152

See more details on using hashes here.

Supported by

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