Skip to main content

Easy global variables

Project description

Globalite

A python library for easy global variables saved to a SQLite db and accessable from multiple programs at ones.

Supported types

Type Read Write Delete
bool
int
float
str
dict ⚠️1 ⚠️1
custom classes 2 2 2

⚠️1: When reading a dict you will receive a new instance of the dict and not a reference.
meaning that the following is the case:

import globalite
gl = globalite.get_default_globalite()
gl.a_dict = {"a": 1}
assertEqual(gl.a_dict, gl.a_dict) # is true
assertIs(gl.a_dict, gl.a_dict) # is false

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

globalite-0.0.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

globalite-0.0.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file globalite-0.0.1.tar.gz.

File metadata

  • Download URL: globalite-0.0.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for globalite-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ef8ff7dc79cc941b9259a87cc4488192c5a3953cadd9e13f17f2f2e4755a60c9
MD5 cf4df9c0cde58dfd8937ecca069dbc59
BLAKE2b-256 a4151242831a09a820a668f76e38c9ffb97e356e0f862e7e98b95317b9cbf59f

See more details on using hashes here.

File details

Details for the file globalite-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: globalite-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for globalite-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de02c58e4b058316bc09ac43210e728d32bcf5d432ea7cb3a238f16ab4644fe1
MD5 1fdbafb86f2c1fdb7e6a7d1d157c266e
BLAKE2b-256 5a231b3c401248a6cb9cfbfa7e066f0f9fe62218f065280c5685c4ff278adf4f

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