Catalog PyPI
Back to packageRELEASE DETAILS

0.2.0

PyPI

ac8593-key-manager

Key Manager library

Published6 Nov 2022
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.2.0 documentation

Key Manager

This library creates a simple key manager so that the actual key is hidden from the code. This was done as a part of the homework for Data Engineering class at NYU

Installation

pip install ac8593_key_manager==0.2.0   

Get started

Suppose Max wants to hide the key from his code. All he needs to do is create a .txt file and put his key in that file. Then, he can add the name of the key file to the .gitginore. This ensures that his key does not get pushed to git and can be passed around independantly of the code he writes. Moreover, people can use their own keys too without having to change the code!

Let's say Max saves his key in max_api_key.txt

from ac8593_key_manager import KeyManager

# Instantiate a KeyManager object
key_manager = KeyManager('max_api_key.txt')

# Call the get_key method to get the key. This key can be used to build the Polygon API client
key = key_manager.get_key()

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

2 collected
ac8593_key_manager-0.2.0-py3-none-any.whl

bdist_wheel · 2.44 KB · Python py3

Source file
ac8593_key_manager-0.2.0.tar.gz

sdist · 2.19 KB · Python source

Source file

Repository

PENDING
aditya21196/key-manager

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:49 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:5e40e50ad9228ce4e258cf4bf5b02b072b8f61b2855d455d6bb0ec272afe2dca

Other collected versions

View all collected versions →