Skip to main content

A library to wrap SQLdbm API

Project description

pysqldbm

PyPI Version

A python API to wrap https://developers.sqldbm.com/.

sqldbm CLI tool

Installation

pip install pysqldbm[cli]

Usage

sqldbm --help

export SQLDB_API_KEY="your_api_key"
sqldbm list-projects # or `sqldbm --api-key="your_api_key" list-projects`

pysqldbm library

Installation

pip install pysqldbm

If you would like to use the latest overnight builds, you can install from test pypi

pip install -i https://test.pypi.org/simple/ pysqldbm

Sample Usage with Client

import pysqldbm

# Create a client
API_KEY = "your_api_key"
sqldbm = pysqldbm.client(API_KEY)

for project in sqldbm.list_projects():
    print(f"Show revisions for project '{project['name']}'...")
    for revision in sqldbm.list_revisions(project['id']):
        print(revision)

Architecture

See ARCHITECTURE.md.

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

pysqldbm-1.0.6.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

pysqldbm-1.0.6-py3-none-any.whl (5.2 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