Skip to main content

BaniDB

powered-by-banidb made-with-python docs-passing

Vision Statement

BaniDB's vision is to create a single, universally accessible Gurbani Database for Sikh websites and applications. BaniDB is, and will continue to be, the most accurate and complete Gurbani database ever created for use by Sikhs around the world.

In order to make this vision possible, members of this collaborative effort work to ensure that the platform is self-sustaining, tested, and secure.

Python package for BaniDB API

Installation

With pip

pip install banidb

Usage

Quick Start

shabad = banidb.random()
print(shabad)

Search shabad by first letters"

print("\tSearching Bandhana Har Bandhana ....")
shabad = banidb.search("bhbgggr")
print(shabad)

Release

Checkout the main branch

git checkout main
git pull

Increment the version

Pick one of the major|minor|patch to update For example, let's release the version to 0.4.0

bump2version --allow-dirty --verbose --commit --tag --new-version 0.4.0 patch setup.py

For minor

bump2version --allow-dirty --verbose --commit --tag --new-version 0.4.0 minor setup.py

For major

bump2version --allow-dirty --verbose --commit --tag --new-version 1.0.0 major setup.py

Note: its always good to start with the --dry run first

Push to remote

git push

Push the tag to remote too in our case 0.4.0 git push origin 0.4.0

git push origin <tag-name>

Run the github release action

From UI

This will upload the bits to pypi.org It can be done from the UI. Select the tag we just created and pushed

From CLI (untested)

gh has a new feature to trigger workflow from the CLI. Note: at the time of writing this doc, this feature was not working on MacOS

gh workflow run python-publish.yml

Release files for banidb 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for banidb 0.5.0
File Size Uploaded
banidb-0.5.0.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for banidb 0.5.0
File Interpreter ABI Platform
banidb-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.3 kB

Release files / banidb-0.5.0.tar.gz

Download URL banidb-0.5.0.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6eab3ca6da234b105ac3f9496956f0838da352a1dd01779cf102832f41b9adbf
BLAKE2b-256 checksum
How to use checksums
ec5b5593506768d979ba22e93163ca12ce663bfcebabe750229d5a49be691510
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / banidb-0.5.0-py3-none-any.whl

Download URL banidb-0.5.0-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9463ba7533fc338e3026330265da8c3f471964f4979f81d660e5825b2da226d9
BLAKE2b-256 checksum
How to use checksums
6110b85e0fc2c07d187c217ddf1a237ee9844700a6dac3ffb92cad258c14c7bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page