jasonmimick / pyatlas

Simple lightweight python client for the MongoDB Atlas API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyatlas

Simple lightweight python client for the MongoDB Atlas API.

Getting Started.

git clone <this>
cd pyatlas
pip3 install pyatlas
```bash
$export MONGODB_ATLAS_PUBLIC_KEY="xxx"
$export MONGODB_ATLAS_PRIVATE_KEY="xxx"

then,

from pyatlas import AtlasClient
atlas = AtlasClient()
clusters = atlas.clusters()

now do stuff...

or you can

$export MONGODB_ATLAS_USERNAME="xxx"
$export MONGODB_ATLAS_PERSONAL_APIKEY="xxx"

About

Simple lightweight python client for the MongoDB Atlas API.

License:Apache License 2.0


Languages

Language:Python 98.5%Language:Dockerfile 1.5%