Teia Labs DB Utils packege
Project description
Axolotl
db utils
pip install ./
cp example.env .env
cli help
axolotl --help
axolotl backup-and-restore --help
axolotl db-utils --help
example
import os
import dotenv
from axolotl import BackupAndRestoreClient
dotenv.load_dotenv()
client = BackupAndRestoreClient(db_uir=os.getenv("MONGO_DB_URI"))
client.backup_collection(
db="jokes", collection="funny-jokes", path="./results"
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
axolotl-dbu-0.1.1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for axolotl_dbu-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1301a9dc658b0f5ab07536cfb2e8cc0f28a8a344f0301c6928d8bafe4430dfe |
|
MD5 | 8bde4a2e9c4cffd03bf3d2b087a03b7b |
|
BLAKE2b-256 | 52dadf917d0c6127f694b22b7438282733fd46916992b5b8e5bd0dcb23f3e857 |