Localstorage for python with more tools
Project description
LocalStorage
Localstorage for python with more features
Installation
pip install localstorage
Usage (example)
import localstorage
# Create localstorage file if doesnt exist
if localstorage.LocalstorageFileExists('example.localstorage'):
localstorage.load('example.localstorage')
else:
localstorage.load(localstorage.CreateLocalstorageFile('example.localstorage'))
# Set Item
localstorage.setItem('Example',"123")
# Get item
print(localstorage.getItem('Example'))
# Clear all items in storage
localstorage.clear()
# Debugging
localstorage.LocalStorageSettings(debugging=True) # set this before other functions to debug correctly
Features
- support info if the file is unreadable
- identifier
- full control over which file contains the data
- change encoding
- add metadata (supportlink,supportmail,identifier)
About
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
localstorage-1.0.3.tar.gz
(13.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file localstorage-1.0.3.tar.gz.
File metadata
- Download URL: localstorage-1.0.3.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91812e76eb2e6d277bf9f6cd2ca8f908c846ef06556c4c2915a969f5e8e6e473
|
|
| MD5 |
b198eb1753e9e2823f41a7fefa65c329
|
|
| BLAKE2b-256 |
4deee92620a1ac444c08d360441e89fcea4dd13897b427b97e97af27cb6fb4c7
|
File details
Details for the file localstorage-1.0.3-py3-none-any.whl.
File metadata
- Download URL: localstorage-1.0.3-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87f8e7345066008221526ca7614d672612b0246fbe131d75ffcfba0daae60d89
|
|
| MD5 |
437c46599248aa2d1fe548450dd56422
|
|
| BLAKE2b-256 |
d1020fe2af179ecb6324de54ceba5223b0d6bdafd01d44d5173c27e69fee9857
|