Skip to main content

A braille library for Python

Project description

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

  1. Download braille.py to a directory and create your project within this directory

  2. import braille

  3. To convert text to braille: braille.textToBraille('string')

  4. To convert text to speech: braille.textToSpeech('string')

  5. To convert image to text: braille.imageToText('image_path')

  6. To convert image to speech: braille.imageToSpeech('image_path')

  7. To convert image to braille: braille.imageToBraille('image_path')

  8. To convert a braille array to text: braille.brailleToTextArray('array')

  9. To convert a braille array to speech (array implementation): braille.brailleToSpeechArray('list_of_imgs_paths')

  10. To convert a braille array to speech (image implementation): braille.brailleToSpeechImg('list_of_imgs_paths')

  11. To convert braille images (from here): braille.brailleToSpeechImgs('list_of_imgs_paths')

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

braillelib-0.0.1.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

braillelib-0.0.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file braillelib-0.0.1.tar.gz.

File metadata

  • Download URL: braillelib-0.0.1.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for braillelib-0.0.1.tar.gz
Algorithm Hash digest
SHA256 85452066878bf58c130747d01c52452939ad4db5177b90bb0c2d79c19f6f8ffe
MD5 a4683cc4e772883d0486834a6b31515f
BLAKE2b-256 fa09b548c680c854e3a35af307340dcce83e2896af9b3db5ef91ffa39d9d4cf0

See more details on using hashes here.

File details

Details for the file braillelib-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: braillelib-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for braillelib-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1d8580cd36fa9cdaa1b76787f29cb24f04cf461bfd4d70442a315d9950906be1
MD5 75e3a3a94f0ecb25cef77bb677e39aa9
BLAKE2b-256 99544013c8dbce10523e6ee9d43da9b661e0b5b488a938700cec873c8d4db36c

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