Quran CLI, A tool to generate the most sophisticated Quran data.
Project description
Quran CLI
Quran CLI, A tool to generate the most sophisticated Quran data.
Features
- User-friendly implementation
- Enhanced color and style options
- Integrated CI/CD capabilities
- Automated lint and format checks
Getting Started
Install the package:
pip install quran-cli
Usage:
quran-cli [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Commands:
explore
: Explore the Quran database with SQL.export
: Export Quran data to csv, json, xml format.init
: Initialize Quran database.normalize
: Normalize initial Quran database.
quran-cli explore
Explore the Quran database with SQL.
Args: database (Path): Database file.
Examples:
# Create initial database
quran-cli init db.sqlite3
quran-cli explore db.sqlite3
Usage:
quran-cli explore [OPTIONS] DATABASE
Arguments:
DATABASE
: Database name [required]
Options:
--help
: Show this message and exit.
quran-cli export
Export Quran data to csv, json, xml format.
Args: database (Path): Database filename. output (Path, optional): Output folder. format (str, optional): Export format.
Examples:
# Create initial database
quran-cli init db.sqlite3
# Normalize initial database
quran-cli normalize db.sqlite3
# Export normalized database
quran-cli export db.sqlite3 -f json
```
**Usage**:
```console
quran-cli export [OPTIONS] DATABASE
Arguments:
DATABASE
: Database name [required]
Options:
-o, --output DIRECTORY
: Output folder [default: quran]-f, --format [csv|xml|json]
: Export format. [default: json]--help
: Show this message and exit.
quran-cli init
Initialize Quran database.
Args: name (str): Database name.
Examples:
# Create initial database
quran-cli init db.sqlite3
Usage:
quran-cli init [OPTIONS] DATABASE
Arguments:
DATABASE
: Database name [required]
Options:
--help
: Show this message and exit.
quran-cli normalize
Normalize initial Quran database.
Args: name (str): Database filename.
Examples:
# Create initial database
quran-cli init db.sqlite3
quran-cli normalize db.sqlite3
Usage:
quran-cli normalize [OPTIONS] DATABASE
Arguments:
DATABASE
: Database name [required]
Options:
--help
: Show this message and exit.
License
This project is licensed under the MIT License.
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.1.tar.gz
.
File metadata
- Download URL: quran_cli-0.1.1.tar.gz
- Upload date:
- Size: 309.9 kB
- 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 | ad94ff0dc273754ffb322e768b6f680b3c8b879c4bee5f7a1073a8a835d397fe |
|
MD5 | 86771b73137818f69eac3493cbc73186 |
|
BLAKE2b-256 | b8e07a4b0a4fa3ddf3adf71ef12eabdbdbb179134e178cf226fd7a5e8e4e5c57 |
File details
Details for the file quran_cli-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: quran_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 326.1 kB
- 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 | 7174d7e1db165beb38fb6097fd31b2d322287ef9b63bf8d55e3ec156a3cd0022 |
|
MD5 | 25ac17a1a8a23c4e85eac5b200915cc6 |
|
BLAKE2b-256 | ffc6cbd8d96229cc1a2067f0e0f327c5898358d880096a097373a048f3eaad4c |