Skip to main content

pygita

pygita is a wrapper of bhagavadgita.io api for Python 3

PyPI - License PyPI - Downloads GitHub last commit Build Status Code quality Scrutinizer coverage Requires.io (branch) GitHub repo size PyPI - Python Version PyPI - Wheel PyPI made-with-python PyPI - Status PyPI - Format

Installation

Install it from pypi using pip

pip install pygita

Authentication

Usage

1. Create a client

from pygita import Client
client = Client(CLIENT_ID, CLIENT_SECRET)

2. Get a verse

verse = client.get_verse(verse_number, chapter_number)

3. Get a chapter

chapter = client.get_chapter(chapter_number)

Objects

Attributes of Chapter objects

1. chapter_number
2. chapter_summary
3. name
4. verses_count
5. name_meaning
6. name_translation
7. name_transliterated(in English only)
8. name_meaning(in Hindi only)

Attributes of Verse objects

1. chapter_number
2. verse_number
3. text
4. meaning
5. transliteration
6. word_meanings

Metadata

Release files for pygita 2.0.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 pygita 2.0.0
File Size Uploaded Provenance Actions
pygita-2.0.0.tar.gz 8.9 kB Without provenance Details for pygita-2.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 19.3 kB

Release files / pygita-2.0.0.tar.gz

Download URL pygita-2.0.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ed783aea6aa657cb88711b75bf3b931027f023ab5a7632269b4962779b4c689e
BLAKE2b-256 checksum
How to use checksums
f97f9c586fc1136d1ef651eaaea3a129b0b5fb759a2b635c3b57cea0853c9cd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release files / pygita-2.0.0-py3-none-any.whl

Download URL pygita-2.0.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87d44e471f264ee5c30c08621874adcd0170807b0951752cef92415a63ef83d8
BLAKE2b-256 checksum
How to use checksums
3d2f51f21205362a7045d8cebf7a96c13af276d23b584c0ef321d2bb95fc84a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Security for pygita 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No provenance

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