Skip to main content

rasc

For trashing your home directory (or .config or .local/share, for that matter).

Usage

Rasc can be used to handle config or other key-value data that can be serialized into JSON or Python dict. For config storage, one can use directly or write a subclass of storage.Configuration. For more generic data, one can use storage.Storage instead.

Besides json, one can use different key-value formats by passing load_func, dump_func and ext into the storage class to replace json.load and json.dump. For example, one can use tomllib.load and tomli_w.dump, or write custom load/dump functions for SQLite.

Additionally, a simple CLI command parser is also included in cli for demonstration purpose (with commands rasc-demo and rasc-strict), but can also be used directly for your project. Its usage can be seen in rasc/__init__.py in the source code.

Copying

This project is licensed under GPL version 3 only. The license can be found in LICENSES/GPL-3.0-only.txt.

Metadata

Release files for rasc 0.1.1

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

Source distribution (sdist)

Source distribution for rasc 0.1.1
File Size Uploaded Provenance
rasc-0.1.1.tar.gz 16.0 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 21.2 kB

Release files / rasc-0.1.1.tar.gz

Download URL rasc-0.1.1.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
adc183659585e27439117c8ed007abac0f44736b7b011bae2b4f4428d17efc38
BLAKE2b-256 checksum
How to use checksums
7723364a9608d5ae96dfed125d4d14818344606b3d76a5f69a7c4436e85ff89f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.29.0

Release files / rasc-0.1.1-py2.py3-none-any.whl

Download URL rasc-0.1.1-py2.py3-none-any.whl
Size 5.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
12018bcdb3e1c366e2b4fe270e0a5584a580637b69a136cb5254a690674152b6
BLAKE2b-256 checksum
How to use checksums
67206fbf72002a78ce6f8cfe9d22967a4660c022db7d915fd256c77be70273cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.29.0

Security for rasc 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 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