Skip to main content

varboxes

A varbox is an object to store permanently objects between python session. It uses json module, so it restricts the type of variable to store accordingely.

Installation

pip install varboxes

Usage

from varboxes import VarBox
vb = VarBox('MyApp')
# you can create any variable as attribute of the varbox:
vb.a = 1
# now, you could quit this session, restart the computer, and recreate a varbox (with the same app name):
vb2 = VarBox('MyApp')
print(vb2.a)
>>>  1
# and the attribute has been remembered!!

Features

  • to use permanent variable between session, use attribute of a varbox

  • the attribute will be saved on the disk and retrieved later

License

The project is licensed under GNU GENERAL PUBLIC LICENSE v3.0

Metadata

Release files for varboxes 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 varboxes 1.1
File Size Uploaded Provenance Actions
varboxes-1.1.tar.gz 15.8 kB Without provenance Details for varboxes-1.1.tar.gz

Built distribution (wheel)

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

Total release size: 31.1 kB

Release files / varboxes-1.1.tar.gz

Download URL varboxes-1.1.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7c98b9d21975b64dbc96af5e62b33a392dd221b35498ed338eefcc85b33eb374
BLAKE2b-256 checksum
How to use checksums
28c1828e859bc39fd51d5ae50dac95aae121110e88b46e7e900f74bff202045d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / varboxes-1.1-py3-none-any.whl

Download URL varboxes-1.1-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e24053110b759015c76670c2a6f5cc0e9d9822f0522308ab968a57233e05f321
BLAKE2b-256 checksum
How to use checksums
5884febeae004099a82bba03489a30ac534a3af9ae6aeaf65e2866ec6e115792
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for varboxes 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.

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

Release history Release notifications | RSS feed

This release

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