Quran CLI, A tool to generate the most sophisticated Quran data.
Project description
Qur'an CLI
Overview
The Qur'an CLI is a sophisticated command-line interface tool designed to facilitate advanced interactions with Qur'an data. It provides a comprehensive set of features for data exploration, manipulation, and exportation, making it an indispensable resource for scholars, researchers, and enthusiasts.
Key Features
- Intuitive User Interface: Designed with ease-of-use in mind, offering intuitive commands and options.
- Advanced Visualization: Utilizes enhanced styling to improve readability and user experience.
- CI/CD Integration: Supports continuous integration and deployment pipelines to ensure reliability and consistency.
- Automated Code Quality Assurance: Employs automated linting and formatting tools to maintain high code quality standards.
- Data Exportation: Capable of exporting data into various formats, including CSV, JSON, and XML.
- Database Initialization and Normalization: Provides commands for initializing and maintaining Qur'an databases.
Installation
To install the Qur'an CLI tool, execute the following command:
pip install quran-cli
Usage
The Qur'an CLI offers a variety of commands to interact with and manage Qur'an data:
General Command Syntax
quran-cli [OPTIONS] COMMAND [ARGS]...
Options
--install-completion
: Installs shell completion for the current shell environment.--show-completion
: Displays shell completion for the current shell environment.--help
: Displays help information for the tool and exits.
Available Commands
explore
: Enables SQL-based querying of the Qur'an database.export
: Exports Qur'an data in various formats, such as CSV, JSON, and XML.init
: Initializes a new Qur'an database.normalize
: Normalizes the structure and content of an existing database.
explore
Interact with the Qur'an database using SQL queries.
Command Syntax:
quran-cli explore [OPTIONS] DATABASE
Arguments:
DATABASE
: Specifies the database file to query.required
Examples:
# Initialize a new database
quran-cli init db.sqlite3
# Explore the database using SQL queries
quran-cli explore db.sqlite3
export
Export Qur'an data to selected file formats.
Command Syntax:
quran-cli export [OPTIONS] DATABASE
Arguments:
DATABASE
: Specifies the database file to export.required
Options:
-o, --output DIRECTORY
: Defines the output directory for the exported files. default: quran-f, --format [csv|xml|json]
: Specifies the data format for exportation. default: json
Examples:
# Initialize a new database
quran-cli init db.sqlite3
# Normalize the database
quran-cli normalize db.sqlite3
# Export the normalized data to JSON format
quran-cli export db.sqlite3 -f json
init
Creates a new Qur'an database.
Command Syntax:
quran-cli init [OPTIONS] DATABASE
Arguments:
DATABASE
: Specifies the name and path of the new database file.required
Options:
-v, --variant [simple-clean|simple-min|simple-plain|simple|uthmani|uthmani-min]
: Data variant to load. default: uthmani
Examples:
# Create a new database
quran-cli init db.sqlite3
# Create a new database with simple variant
quran-cli init db.sqlite3 -v simple
normalize
Normalizes the structure and content of an existing Qur'an database.
Command Syntax:
quran-cli normalize [OPTIONS] DATABASE
Arguments:
DATABASE
: Specifies the database file to normalize.required
Examples:
# Normalize an existing database
quran-cli normalize db.sqlite3
Contributing
We welcome contributions from the community. For guidelines on how to contribute, please refer to our Contributing Guide.
Code of Conduct
Please see our Code of Conduct for details on our standards for interactions within our project.
License
The Qur'an CLI project is licensed under the MIT License. For detailed license information, please refer to the LICENSE file in this repository.
Contact
For any inquiries, issues, or feedback, please contact us via:
- Maintainer: Yousuf Abu Shanab
- GitHub Issues: Open an Issue
We value your input and contributions to enhance the Qur'an CLI tool further.
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
Built Distribution
File details
Details for the file quran_cli-0.1.4.tar.gz
.
File metadata
- Download URL: quran_cli-0.1.4.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f455e3c3650c23f2fec40f2e35d03852fa7026a7447a26f940aa486b600a0e2 |
|
MD5 | a88c9fc9a150406f0da3cb47a516362b |
|
BLAKE2b-256 | 9f96677154e1fbad189a63da7f275a55888fd629baa0974a383b9e06fa5276fe |
File details
Details for the file quran_cli-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: quran_cli-0.1.4-py3-none-any.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d109ef94c62b1402aae8fbe364b7c407a467486c1b543407d5a1ce271a1c32d7 |
|
MD5 | 74e10c8e84defa3b4c6cdbf661694664 |
|
BLAKE2b-256 | 69763caafbd107c6c9ff829c935338870c7172b3b6bbf875985d861c5084d3f1 |