Socket
Socket
Sign inDemoInstall

tibetan-sort

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tibetan-sort

Tibetan Sorting Tool


Maintainers
1

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

  • a list 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

  • a string first string to be compared.
  • b string 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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc