Skip to main content

Quran CLI, A tool to generate the most sophisticated Quran data.

Project description

Quran CLI

Continuous Integration Continuous Deployment Black Ruff

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

quran_cli-0.1.0.tar.gz (309.4 kB view details)

Uploaded Source

Built Distribution

quran_cli-0.1.0-py3-none-any.whl (325.4 kB view details)

Uploaded Python 3

File details

Details for the file quran_cli-0.1.0.tar.gz.

File metadata

  • Download URL: quran_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 309.4 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

Hashes for quran_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a4822d29c52050199e8bce71b712bbc3b3a9ab625ff24dd4857c061cb5aeb73e
MD5 7b4f5fba2210794028afa1fede8ebec2
BLAKE2b-256 92c18f56381f0c49b159c97dd76463553c41300ff1e2d0279ad4c7817e64c248

See more details on using hashes here.

File details

Details for the file quran_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: quran_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 325.4 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

Hashes for quran_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 786f55c874b59808083d625a05c786801ec43b434fe8783d5ee37e94e3851a18
MD5 ba9581605327a4fe342c49b474716aaa
BLAKE2b-256 d916a286f5cfd0268ff6ae8f440fcfa4d03202a67feb39a94db3be32f51b030e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page