Skip to main content

A familiar API from the Web, adapted to storing data locally with Python.

Project description

# localStoragePy [![HitCount](http://hits.dwyl.io/jkelol111/localStorage.svg)](http://hits.dwyl.io/jkelol111/localStoragePy)

A familiar API from the Web, adapted to storing data locally with Python.

### Get started

  1. Install using PyPi: $ pip3 install localStoragePy

  2. Import into your project: from localStoragePy import localStorage as lc

  3. Setup localStorage: localStorage = lc(‘your-app-url’) (replace your-app-url with whatever you want)

  4. Use your typical localStorage syntax to store/read your strings:

  • localStorage.getItem(item)

  • localStorage.setItem(item, value)

  • localStorage.removeItem(item)

  • localStorage.clear()

It’s that familiar and simple.

### When is this useful?

  • When you want to store tiny strings for your app…

  • Or your app’s configuration in JSON…

Etcetra.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

localStoragePy-0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file localStoragePy-0.1-py3-none-any.whl.

File metadata

  • Download URL: localStoragePy-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for localStoragePy-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8eb5d4c72d78641c854d3c22a2b2b8df8962b4f36a3bf253c6f31663efafb2f
MD5 798beffe8243be6dafe5bef8484491c8
BLAKE2b-256 5f0a73457c632796cdcd5f5dc5d2c0a6ba3a6f1a2e7cb1820972ce6af7ad01ea

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