Skip to main content

DOI

pyniverse: a Python package to analyse generic results of the Zooniverse volunteers

This Python package is intended to allow Zooniverse Project Owners to quickly run some simple analysis on the classification CSVs that the Zooniverse backend allows you to export via the Data Exports page.

How to install

Download/clone the GitHub repo, then to install in your $HOME directory

$ cd pyniverse/
$ ls
LICENSE            README.md          bin                examples           pyniverse          setup.py
$ python setup.py install --user

How to use

Most of the logic in Pyniverse is hidden away in a simple class, called Classifications, which contains a variety of methods, including several that plot graphs. Then there is a simple script in the bin/ folder called analyse-zooniverse-classifications.py that creates an instance of the class by passing it the path of the CSV file downloaded from the Zooniverse file and calling several of the methods. Let's see how it works.

$ cd examples/
$ analyse-zooniverse-classifications.py --input_file dat/test-zooniverse-classifications.csv.bz2
Reading classifications from CSV file...
    Total classifications:  218629
              Total users:    4529
         Gini coefficient:   -0.78

 Top   10 users have done:    18.6 %
 Top  100 users have done:    44.4 %
 Top 1000 users have done:    82.8 %

This step should take no more than 30 seconds and in addition to the above information, you should find some graphs in pdf/. If you didn't specify the name of the output file using the --output_stem option then the program will use the default which is test.

$ ls pdf/
test-classifications-day.pdf      test-classifications-week.pdf     test-user-distribution-log.pdf    test-users-month.pdf
test-classifications-month.pdf    test-user-distribution-linear.pdf test-users-day.pdf                test-users-week.pdf

There are three main graphs produced. The first is simply the number of classifications against time. Three time periods are produced: by day, by week and by month and a cumulative line is added.

Number of classifications per week

The next is the number of users trying the project for the first time, again by day, by week and by month.

Number of new users per day

And lastly the cumulative user distribution so you can see how asymmetric the contribution of the users is.

User Distribution

How to cite

If you use this package, please cite it using the DOI below

DOI

Metadata

Release files for pyniverse 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyniverse 1.0.0
File Size Uploaded
pyniverse-1.0.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyniverse 1.0.0
File Interpreter ABI Platform
pyniverse-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.4 kB

Release files / pyniverse-1.0.0.tar.gz

Download URL pyniverse-1.0.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
45f6a7472584dc4ab27c8b608ed99dd9fa9962173b61ac3d26430d94a6b60009
BLAKE2b-256 checksum
How to use checksums
aa2c64556cd5c53ca7c12f504d3d92fae30e1b08b00b76ac0d3e0701e93b9629
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / pyniverse-1.0.0-py3-none-any.whl

Download URL pyniverse-1.0.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9d440e63b5af8ce777ff5485854f1ab3f56b49774b61e85603c168d9cfdaf1a
BLAKE2b-256 checksum
How to use checksums
631181e0932196c074a7176ceb50730b115b32a37dfac9c0a7e14e4c629b77fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page