Skip to main content

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.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

localstorage-1.0.1-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file localstorage-1.0.1.tar.gz.

File metadata

  • Download URL: localstorage-1.0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for localstorage-1.0.1.tar.gz
Algorithm Hash digest
SHA256 af3f2fee415ddb59077ca2a78e9bb554c0b9d0a3b5c334798d8c103a1d4ec0ae
MD5 b340917919270e829dcbd036ac113eb7
BLAKE2b-256 dfd37937bac5e37e9acb6087e8c92544724e1d060f6b25734e73c0943de454ec

See more details on using hashes here.

File details

Details for the file localstorage-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: localstorage-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for localstorage-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 127577fec86f537670b5436c14903dcf2bae3aaf1864de355d617ea47641cc6f
MD5 f28f02bd772dac35544b8982383aa030
BLAKE2b-256 64f5c11892063e663272a0ec7a94906c4541141e69d5f38d4e26b0524cf7eff1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page