Skip to main content

No project description provided

Project description

Package Overview

This contains functions to help me get data from several sources:

API Keys

You'll need to make sure that you obtain API keys. Store them as environment variables so that you do not have to share your API key in your code. An environment variable resides on your computer, so you'll have to save them on each computer that you use.

The way you set it differs between Mac/Linux and Windows.

Approach using terminal for Mac

This creates a line in the .zshrc file: echo "export OPEN_API_KEY=<apiKey>" >> ~/.zshrc

Test if it exists: cat ~./zshrc

Set it permanently: source ~/.zshrc

Get environment variables like this: os.environ['OPENAI_KEY'] or

os.environ.get("OPEN_API_KEY")

Other useful notes

Github workflow

git status git pull git add file.txt or git add . git commit -m "message" git push

Finding folder where packages are located

import sys; sys.path help('modules')

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

my_apis-0.1.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

my_apis-0.1.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file my_apis-0.1.0.tar.gz.

File metadata

  • Download URL: my_apis-0.1.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for my_apis-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f2128f5d202da1985a448521c83e43de6f8245c2e9752cf5c237384912aff83b
MD5 7f013dc81198185ddae675aecb24a6c8
BLAKE2b-256 ebf2395b40dce0df190c4830302b13ce5bcf91b7d47daa8d268278cd91ede791

See more details on using hashes here.

File details

Details for the file my_apis-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: my_apis-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for my_apis-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 745d8ba2b88c60b0e2f091c73df60032d525a57491e492758ff665d5faa9ba9b
MD5 b53126f0e638b01223ed11200c626e22
BLAKE2b-256 d48735fe29a0f4d691104f64e68e210f196679a783226387df8476f73d96f75a

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