Environment variable manager for python
Project description
KeySpot
Sign up here
KeySpot is a tool to help manage environment variables for individuals and teams of developers. The service stores environment variables for your project in a centralized place so you don't have to juggle different .env files for your environements and applications. Once you have signed in at keyspot.app, you can create new records, share them with your team, and access them in code.
See our usage tutorial on YouTube.
Installation
$ pip install keyspot
Usage
Sign in to KeySpot, and create a record. At the top of each record's page there is an accessKey. Copy the accessKey as you will be using this to access your environment variables in code.
Accessing your environment in code:
import keyspot
record = keyspot.get_record('<accessKey>')
Updating your environment in code:
import keyspot
newVariables = {"newVar1": "foo", "newVar2": "bar"}
update_record('<accessKey>', newVariables)
note: You will want to supply your program with your access key as your only environement variable or a command line argument.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file keyspot-2.0.0.tar.gz.
File metadata
- Download URL: keyspot-2.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ce515a8622feec93edf80701e50c3d7f99779da4ef50fc3be5d20886ee66860
|
|
| MD5 |
ae9d7c55013350054bb0b629d51ede5d
|
|
| BLAKE2b-256 |
8e9575c48ab801f6d665d1c79fde607e954a7af8d2d069d252f6c54eb6816286
|
File details
Details for the file keyspot-2.0.0-py3-none-any.whl.
File metadata
- Download URL: keyspot-2.0.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
803b725c16df11242f67221ca0db44166a827646972b76eef7b4767a6924846c
|
|
| MD5 |
f6fa31f861d86d6214d3a278f172c789
|
|
| BLAKE2b-256 |
f9bda7f058ae3454b35d34887d03ead8d8a1c312133e1203c4c48cc38f81c5f9
|