Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Unscrewed

Utility for making and updating a data fetcher component of your project.

Install

pip install unscrewed

Usage

First prepare a registry.yaml file, like the one in unscrewed/tests/testreg_registry.yaml. Put it in your package, say in the your_package directory (that contains the __init__.py file). Maybe call it registry.yaml.

In some module, say your_package/data.py

import pkg_resources

import unscrewed

_config_file = pkg_resources.resource_filename("your_package", "registry.yaml")
fetcher = unscrewed.Fetcher(_config_file)

Say you have a file my_data_file.nii configured in your registry.yaml file above.

Now you can fetch it like this:

from your_package.data import fetcher

fname = fetcher('my_data_file.nii')

Metadata

Release files for unscrewed 0.1a2

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

Source distribution (sdist)

Source distribution for unscrewed 0.1a2
File Size Uploaded Provenance Actions
unscrewed-0.1a2.tar.gz 83.9 kB Without provenance Details for unscrewed-0.1a2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for unscrewed 0.1a2
File Interpreter ABI Platform Actions
unscrewed-0.1a2-py2.py3-none-any.whl Python 2, Python 3 none any Details for unscrewed-0.1a2-py2.py3-none-any.whl

Total release size: 88.8 kB

Release files / unscrewed-0.1a2.tar.gz

Download URL unscrewed-0.1a2.tar.gz
Size 83.9 kB
Tags Source
SHA-256 checksum
How to use checksums
476e5904e4c0273ded0d2c268b4c97abed03069a566bc188f7bb4784fd4481ea
BLAKE2b-256 checksum
How to use checksums
c8ba27be205c1ce5665dd90e2f5c430026c383b7b9e8ba43943906fb1a3ec378
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.22.0

Release files / unscrewed-0.1a2-py2.py3-none-any.whl

Download URL unscrewed-0.1a2-py2.py3-none-any.whl
Size 4.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9a05f554013fefce1421c64ccf294ef6c0a847c4f007ccdd681aa787589c46a0
BLAKE2b-256 checksum
How to use checksums
0ef82dfbb97421887e53c0c4c5d65aada1422ab94d619e78cef2e1f71e7ff47f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.22.0

Security for unscrewed 0.1a2

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.

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