Skip to main content

pypaxtor: Package Storage provisioning

Simple module that provides a path to a storage location under the user home directory in a cross-platform manner.

Under MacOS this will be in ~/Library/Application Support; under Windows it will be in $HOME/AppData/Local; and under Linux it will be in ~/.local/share.

Packages using this module supply a package name when requesting a storage location. A directory with that name is created under the directory named PyPaxtor in the os-appropriate location.

Usage:

>>> import pypaxtor
>>> savedir = pypaxtor.get_storage_location('my_package')
>>> savedir  # if on Mac as user `rlyacht`
PosixPath('/Users/rlyacht/Library/Application Support/pypaxtor/my_package')
>>> with open(savedir / 'SaveFile.txt') as savefile:
...     # do stuff

If the above code is executed on a linux system, the saved file will be located at /home/rlyacht/.local/share/pypaxtor/my_package/SaveFile.txt.

Metadata

Release files for pypaxtor 0.1.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 pypaxtor 0.1.0
File Size Uploaded Provenance
pypaxtor-0.1.0.tar.gz 2.7 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 6.0 kB

Release files / pypaxtor-0.1.0.tar.gz

Download URL pypaxtor-0.1.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1f10df8dfe2d6062378d851438b5b9c5a9d2784f651de0f9e56f5fcfbb2c2f43
BLAKE2b-256 checksum
How to use checksums
4b7aec56d4efed81d3dc2480902a91cd3782e2dbe74a65e08057dfd63b219c0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release files / pypaxtor-0.1.0-py3-none-any.whl

Download URL pypaxtor-0.1.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8dc1e952ac47ae504352641a1271a4d02f3819d226084c22817264cfb617418
BLAKE2b-256 checksum
How to use checksums
9df11e3d93b28770f846e4f89607416d4a4f0e156da5dadd5085baafe5ec6acc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Security for pypaxtor 0.1.0

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.1.0 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