The Python api for KeySpot
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.