Skip to main content

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

Metadata

Release files for localstorage 1.0.3

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

Source distribution (sdist)

Source distribution for localstorage 1.0.3
File Size Uploaded
localstorage-1.0.3.tar.gz 13.7 kB Details

Built distribution (wheel)

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

Total release size: 26.7 kB

Release files / localstorage-1.0.3.tar.gz

Download URL localstorage-1.0.3.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
91812e76eb2e6d277bf9f6cd2ca8f908c846ef06556c4c2915a969f5e8e6e473
BLAKE2b-256 checksum
How to use checksums
4deee92620a1ac444c08d360441e89fcea4dd13897b427b97e97af27cb6fb4c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / localstorage-1.0.3-py3-none-any.whl

Download URL localstorage-1.0.3-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87f8e7345066008221526ca7614d672612b0246fbe131d75ffcfba0daae60d89
BLAKE2b-256 checksum
How to use checksums
d1020fe2af179ecb6324de54ceba5223b0d6bdafd01d44d5173c27e69fee9857
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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