Skip to main content

# osf-pigeon

A utility for archiving OSF data to archive.org

Purpose

This utility takes a publicly available OSF registration guid as a parameter and using that info alone it will transfer that registration, file data, metadata et all to Internet Archive.

Install

Simply install the package using python’s package manager pip with bash:

pip3 install osf_pigeon

To use for local development just remember to install the developer requirements using:

pip3 install -r dev.txt

Use

Simply import the module and enter a guid with credentials:

from osf_pigeon import pigeon

pigeon(
   'guid0',
   datacite_username='test_datacite_username',
   datacite_password='test_datacite_password',
   datacite_prefix='test_datacite_prefix',
   ia_access_key='test_datacite_password',
   ia_secret_key='test_datacite_password',
)

That’s it!

Assuming the registration is fully public and the DOI has been minted properly at datacite.

## Running for development

#### Tests

Running tests are easy enough just:

pip3 install -r dev.txt
python3 -m pytest .

#### Linting

Optional, but recommended: To set up pre-commit hooks (will run formatters and linters on staged files):

pip install pre-commit
pre-commit install --allow-missing-config

Metadata

Release files for osf-pigeon 0.0.2

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

Source distribution (sdist)

Source distribution for osf-pigeon 0.0.2
File Size Uploaded Provenance
osf_pigeon-0.0.2.tar.gz 2.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for osf-pigeon 0.0.2
File Interpreter ABI Platform
osf_pigeon-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / osf_pigeon-0.0.2.tar.gz

Download URL osf_pigeon-0.0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
78d7ef60204276e99248c32f93f419039473419ddb901251c78684f13c34805d
BLAKE2b-256 checksum
How to use checksums
2a0bba78119f4c5d4126267e9499b67dfcd48879e9e6ec27a55ace86ed006885
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.4

Release files / osf_pigeon-0.0.2-py3-none-any.whl

Download URL osf_pigeon-0.0.2-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d1815b29da00d0947bec0f91022a505cfb381ed714a0f6408940321f1782a0e
BLAKE2b-256 checksum
How to use checksums
a506482eb9febc8b1ac3e184697844329c883d5be8fd0949c4509ccee4862293
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.4

Security for osf-pigeon 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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