Skip to main content

A package to help with data preparation for pecha.org

Project description


OpenPecha

Pecha.org Categorizer

Description

  • A python package to get category for a particular pecha.
  • Spreedsheet link here.
  • Kindly ask for permission from @tenzin3 for write access to the spreadsheet.
  • Input the Pechas with unassigned categories in the Spreedsheet here.
  • To know how to use the package, refer to extract folder from tests directory.

How it Works?

Category image

pecha.org organizes content in a tree-like structure, where a specific Pecha can belong to various nested categories or sections.

For example, in the image above:

  • The primary category is ཁ་འདོན། (Recitation).
  • Under it, there are subcategories like སྨོན་ལམ། (Aspiration Prayer), which further branches into ཀུན་བཟང་སྨོན་ལམ། (Samantabhadra Aspiration Prayer) and བཟང་སྤྱོད་སྨོན་ལམ། (Bodhicharyavatara Aspiration Prayer).

Each cell in the spreadsheet contains the following information: སྨོན་ལམ།(སྨོན་ལམ་འགྲེལ་བཤད་)(སྨོན་ལམ་འགྲེལ་བཤད་ཐུང་ཐུང་)

Structure of a Cell

  1. Title: The first part is the title of the category (e.g., སྨོན་ལམ།).
  2. Description: The text in the first set of parentheses provides a detailed description (e.g., སྨོན་ལམ་འགྲེལ་བཤད་ - Explanation of Aspiration Prayer).
  3. Short Description: The text in the second set of parentheses gives a brief description (e.g., སྨོན་ལམ་འགྲེལ་བཤད་ཐུང་ཐུང་ - Brief Explanation of Aspiration Prayer).

The corresponding English cell might look like this: Aspiration Prayer (Explanation of Aspiration Prayer) (Brief Explanation of Aspiration Prayer)

By using pecha_org_tools, users can ensure consistency in both Tibetan and English categorizations, making it easier to organize and navigate the texts on pecha.org.

Project owner(s)

None

Docs

Read the docs here.

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

pecha_org_tools-0.0.8.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pecha_org_tools-0.0.8-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file pecha_org_tools-0.0.8.tar.gz.

File metadata

  • Download URL: pecha_org_tools-0.0.8.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.22 Linux/6.11.0-1012-azure

File hashes

Hashes for pecha_org_tools-0.0.8.tar.gz
Algorithm Hash digest
SHA256 f0bb76b6eaa692e259bce5726fa9c920fddaedfac3bd9e55f22e74cb46fc8a6f
MD5 312b305d4206492a8881e2f9859b991b
BLAKE2b-256 7d9db3666852fb1618ba4e9b1d5b73a495473098eef9ac1edcab3b02d73e71e4

See more details on using hashes here.

File details

Details for the file pecha_org_tools-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: pecha_org_tools-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.22 Linux/6.11.0-1012-azure

File hashes

Hashes for pecha_org_tools-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ced9bf71b24e17244cfc2c0519cec4b3f966bbb9e64b5e3b5b0bd3bcccf33bb0
MD5 93323abd62fdf58e224f36c26b79ea8c
BLAKE2b-256 554b91fc1a3fd11b1458f0de1c3b92ee5f3f0d4e001e916dff852fd23bcd0373

See more details on using hashes here.

Supported by

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