Skip to main content

A library to conver text to 6-dot braille pattern(Grade 1)

Project description

PyBraille

A simple library in Python to convert text to 6-dots pattern braille (Grade 1)

Installation

Run the following to install the package

pip install pybraille

Usage

from pybraille import convertText

print(convertText("hello"))
>>> ⠓⠑⠇⠇⠕

print(convertText("filename.txt")) #eg: tests/sample.txt
>>> ⠠⠞⠓⠊⠎ ⠙⠊⠗⠑⠉⠞⠕⠗⠽ ⠉⠕⠝⠞⠁⠊⠝⠎ ⠞⠑⠎⠞ ⠋⠊⠇⠑⠎⠲

Testing

This library needs is tested against python 3.6 and 3.7. Both interpreters need to be available to tox

Running tests:

tox or pytest

Support

Any python 3.x version should work.

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

pybraille-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pybraille-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.6.0

File hashes

Hashes for pybraille-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3187533cabed8e8c239c908f909ed7959c137ed951065b72a1b2a96aba05cbbe
MD5 43ba9a807673bf52df97938c8d12176b
BLAKE2b-256 a8cc82c131f2363ddf452a22cb231fc0b46238c184ef51d7b44429354f6fa11d

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