Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drewsonne/pysqldbm
Provides a cli and python library wrappers around SQLDbm https://sqldbm.com
https://github.com/drewsonne/pysqldbm
sqldbm
Last synced: about 1 month ago
JSON representation
Provides a cli and python library wrappers around SQLDbm https://sqldbm.com
- Host: GitHub
- URL: https://github.com/drewsonne/pysqldbm
- Owner: drewsonne
- License: lgpl-2.1
- Created: 2023-06-28T11:06:01.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2024-08-24T20:01:48.000Z (4 months ago)
- Last Synced: 2024-10-30T09:39:34.517Z (about 2 months ago)
- Topics: sqldbm
- Language: Python
- Homepage: https://pypi.org/project/pysqldbm/
- Size: 139 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pysqldbm
[![PyPI Version](https://img.shields.io/pypi/v/pysqldbm.svg)](https://pypi.python.org/pypi/pysqldbm)
A python API to wrap https://developers.sqldbm.com/.
## `sqldbm` CLI tool
### Installation
```bash
pip install pysqldbm[cli]
```### Usage
```bash
sqldbm --helpexport SQLDBM_API_KEY="your_api_key"
sqldbm list-projects # or `sqldbm --api-key="your_api_key" list-projects`
```## `pysqldbm` library
### Installation
```bash
pip install pysqldbm
```If you would like to use the latest overnight builds, you can install from test pypi
```bash
pip install -i https://test.pypi.org/simple/ pysqldbm
```### Sample Usage with Client
```python
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](ARCHITECTURE.md).
## Release Versioning
### Feature Branch
${MAJOR}.${MINOR}.${PATCH}.pre${PR_NUMBER}.dev${BUILD_NUMBER}
### Beta
When pushing into the develop branch, the following conditions are evaluated:
- If the develop version is ahead of the latest release version, use the develop version, and set the beta version to 1
- If the develop version is not ahead of the latest use the develop version, and increment the beta versionThis is handled in the `.github/workflows/beta-version-bump.yml`.