appdata | Application Data Management
Installation
pip install appdata
Documentation
The detailed documentation you can find on appdata.readthedocs.io.
Usage
To manage paths of application data folder there is AppDataPaths class:
from appdata import AppDataPaths
app_paths = AppDataPaths('myapp') # Name is optional. By default CWD folder name is used.
To create the application folder tree:
app_paths.setup()
There are few paths specified to manage your application data folder:
print(app_paths.name) # myapp
print(app_paths.app_data_path) # (for Linux and MacOS) /home/<user>/.myapp
print(app_paths.logs_path) # (for Linux and MacOS) /home/<user>/.myapp/logs
print(app_paths.config_path) # (for Linux and MacOS) /home/<user>/.myapp/default.ini
print(app_paths.log_file_path) # (for Linux and MacOS) /home/<user>/.myapp/logs/myapp.log
Every path could be customized. See options here.
Contributing
See CONTRIBUTING.md
License
Metadata
Release files for appdata 2.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| appdata-2.2.1.tar.gz | 6.3 kB | Without provenance | Details for appdata-2.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| appdata-2.2.1-py3-none-any.whl | Python 3 | none | any | Details for appdata-2.2.1-py3-none-any.whl |
Total release size: 13.7 kB
Release files / appdata-2.2.1.tar.gz
| Download URL | appdata-2.2.1.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3122241e1689eb8be36aee28af3bf080fe216e3cc8fabb5af67826b149837a92
|
|
BLAKE2b-256 checksum How to use checksums |
5d0f4c941be545e24149e2034afefc292e49c9d6f0ce91ae0153d29c8b27b71a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / appdata-2.2.1-py3-none-any.whl
| Download URL | appdata-2.2.1-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b428ef3ba7a1fda5a3426c6a7e4a833cf44488d62e01949030ecaee18bccd88
|
|
BLAKE2b-256 checksum How to use checksums |
88e2f081ffe1ec9af6ee79bac4d4d89243acf4d21c474250efda2d05eab00020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for appdata 2.2.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.