Python port of BDRC's JS Library to sort Tibetan
This is a Python port of tibetan-sort-js.
Installation
`pip3 install tibetan_sort`
API
sort_list
Sorts a list of strings using the compare() method.
Parameters
alist list of strings to be sorted
Returns sorted list.
compare
Compares two strings in Tibetan Unicode. The behavior is undefined if the arguments are not strings. Doesn't work well with non-Tibetan strings.
Parameters
astring first string to be compared.bstring second string to be compared.
Returns number 0 if equivalent, 1 if a > b, -1 if a < b
Release history
See change log.
Maintainance
Build the source dist:
rm -rf dist/
python3 setup.py clean sdist
and upload on twine (version >= 1.11.0) with:
python3 -m twine upload dist/*
Credits
License
The code is Copyright 2017-2019 Buddhist Digital Resource Center, and is provided under the MIT License.
Metadata
Release files for tibetan-sort 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tibetan_sort-0.2.0.tar.gz | 4.5 kB | Without provenance | Details for tibetan_sort-0.2.0.tar.gz |
Release files / tibetan_sort-0.2.0.tar.gz
| Download URL | tibetan_sort-0.2.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56f718e220e6b6575b2f332f2f8d2b0818571780973e07f483f90239b6e89c27
|
|
BLAKE2b-256 checksum How to use checksums |
b0c9dd4df8faff76b26ad7e3a71554fe55a707a4305d511f59ad3860c4b7847f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.9
|
Security for tibetan-sort 0.2.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.