Skip to main content

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

Project description

localStoragePy

HitCount PyPI Travis (.org) GitHub issues PyPI - License

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

localStoragePy-0.1.6-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

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