braille - 1st Place winner at HarkerHacks 2018
https://devpost.com/software/braille-h7kxzb
A Python module that supports conversion between text, image, speech, and braille for developers.
Inspiration
In the world, 36 million people are blind, and I wanted to create a project that would make blind people's life easier. I was searching for a Python library to assist braille technology, but I found nothing. So, I decided to create my own library to assist developers create projects that integrates braille technology.
What it does
With this library, developers can simply install and import this library and perform conversions between text, image, speech, and braille.
Installation 🛠
Make a project directory $ mkdir YOUR_PROJECT_DIRECTORY
Install the library from GitHub git clone https://www.github.com/AaditT/braille
Make sure you work within this directory. Your importation of the braille library may not work if this installation occurs in any other folder
braille Documentation
-
Download braille.py to a directory and create your project within this directory
-
import braille -
To convert text to braille:
braille.textToBraille('string') -
To convert text to speech:
braille.textToSpeech('string') -
To convert image to text:
braille.imageToText('image_path') -
To convert image to speech:
braille.imageToSpeech('image_path') -
To convert image to braille:
braille.imageToBraille('image_path') -
To convert a braille array to text:
braille.brailleToTextArray('array') -
To convert a braille array to speech (array implementation):
braille.brailleToSpeechArray('list_of_imgs_paths') -
To convert a braille array to speech (image implementation):
braille.brailleToSpeechImg('list_of_imgs_paths') -
To convert braille images (from here):
braille.brailleToSpeechImgs('list_of_imgs_paths')
Metadata
Release files for braillelib 0.0.1
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 |
|---|---|---|---|---|
| braillelib-0.0.1.tar.gz | 32.0 kB | Without provenance | Details for braillelib-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| braillelib-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for braillelib-0.0.1-py3-none-any.whl |
Total release size: 38.2 kB
Release files / braillelib-0.0.1.tar.gz
| Download URL | braillelib-0.0.1.tar.gz |
|---|---|
| Size | 32.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85452066878bf58c130747d01c52452939ad4db5177b90bb0c2d79c19f6f8ffe
|
|
BLAKE2b-256 checksum How to use checksums |
fa09b548c680c854e3a35af307340dcce83e2896af9b3db5ef91ffa39d9d4cf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.5
|
Release files / braillelib-0.0.1-py3-none-any.whl
| Download URL | braillelib-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d8580cd36fa9cdaa1b76787f29cb24f04cf461bfd4d70442a315d9950906be1
|
|
BLAKE2b-256 checksum How to use checksums |
99544013c8dbce10523e6ee9d43da9b661e0b5b488a938700cec873c8d4db36c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.5
|
Security for braillelib 0.0.1
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.