Skip to main content

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

keyspot-1.1.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

keyspot-1.1.1-py3-none-any.whl (3.0 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