# Character Encoding
## Description
List of Encoding Algorithms:
- 7-Segment Display
- ASCII85 Encoding
- ASCII Code
- Aztec Barcode
- Base-32 Crockford
- Base32
- Base45
- Base 58
- Base62
- Base64
- ase91
- Baudot
- Binary
- Chuck Norris Unary Code
- EBCDIC Encoding
- French Postal Barcode
- Gray Code
- Morse Code
- BCD Encoding
- Excess-3 Code (Stibitz)
- Resistor Value
## Installation
```
pip install CharEncoding
```
As usual with Pip, you might need to use `sudo` or the `--user` flag
with the command above, depending on how you installed Python on your
system.
## Usage
* Importing
```
import CharEncoding
```
* Input
```
string = 'helloworld'
stringnum = '7979'
```
* Encoding
```
print('7-Segment Display : ',CharEncoding.encode_7_segment_display(string))
print('Aztec Barcode : ' ,CharEncoding.encode_aztec_barcode(string))
print('ASCII85 Encoding : ' ,CharEncoding.encode_ascii85(string))
print('ASCII Code : ' ,CharEncoding.encode_ascii(string))
print('Base-32 Crockford : ' ,CharEncoding.encode_base32_crockford(string))
print('Base32 : ' ,CharEncoding.encode_base32(string))
print('Base45 : ' ,CharEncoding.encode_base45(string))
print('Base58 : ' ,CharEncoding.encode_base58(string))
print('Base62 : ' ,CharEncoding.encode_base62(string))
print('Base64 : ' ,CharEncoding.encode_base64(string))
print('Base91 : ' ,CharEncoding.encode_base91(string))
print('Baudot : ' ,CharEncoding.encode_baudot(string))
print('Chuck Norris Unary Code : ' ,CharEncoding.encode_chuck_norris(string))
print('EBCDIC Encoding : ' ,CharEncoding.encode_ebcdic(string))
print('Binary : ' ,CharEncoding.encode_binary(string))
print('French Postal Barcode : ' ,CharEncoding.encode_french_postal(string))
print('Gray Code : ' ,CharEncoding.encode_gray(string))
print('Morse Code : ' ,CharEncoding.encode_morse_code(string))
print('BCD Encoding : ' ,CharEncoding.encode_bcd(stringnum))
print('Excess-3 Code (Stibitz) : ' ,CharEncoding.encode_excess_3(stringnum))
print('Resistor Value : ' ,CharEncoding.encode_resistor_value(7979, 10))
```
Change Log
==========
0.0.2 (26/04/2023)
-------------------
- Updated Readme
0.0.1 (26/04/2023)
-------------------
- First Release
Raw data
{
"_id": null,
"home_page": "https://github.com/rishabhc9",
"name": "CharEncoding",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Encoding,7-Segment Display,ASCII85 Encoding,ASCII Code,Aztec Barcode,Base-32 Crockford,Base32,Base45,Base 58,Base62,Base64,Base91,Baudot,Binary,Chuck Norris Unary Code,EBCDIC Encoding,French Postal Barcode,Gray Code,Morse Code,BCD Encoding,Excess-3 Code (Stibitz),Resistor Value",
"author": "Rishabh Chopda",
"author_email": "aaditchopda2@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/97/4d/8117da2913aded71d9cce9ee73b50019bb416e141421af732aa82f023bf5/CharEncoding-0.0.2.tar.gz",
"platform": null,
"description": "# Character Encoding\n\n## Description \nList of Encoding Algorithms:\n\n- 7-Segment Display\n- ASCII85 Encoding\n- ASCII Code\n- Aztec Barcode\n- Base-32 Crockford\n- Base32\n- Base45 \n- Base 58\n- Base62\n- Base64\n- ase91\n- Baudot\n- Binary\n- Chuck Norris Unary Code\n- EBCDIC Encoding\n- French Postal Barcode\n- Gray Code\n- Morse Code\n- BCD Encoding\n- Excess-3 Code (Stibitz)\n- Resistor Value \n\n\n## Installation\n\n```\npip install CharEncoding\n```\n\nAs usual with Pip, you might need to use `sudo` or the `--user` flag\nwith the command above, depending on how you installed Python on your\nsystem.\n\n## Usage\n* Importing\n\n```\nimport CharEncoding\n```\n\n* Input\n\n```\nstring = 'helloworld'\nstringnum = '7979'\n```\n\n* Encoding\n\n```\n\nprint('7-Segment Display : ',CharEncoding.encode_7_segment_display(string))\nprint('Aztec Barcode : ' ,CharEncoding.encode_aztec_barcode(string))\nprint('ASCII85 Encoding : ' ,CharEncoding.encode_ascii85(string))\nprint('ASCII Code : ' ,CharEncoding.encode_ascii(string))\nprint('Base-32 Crockford : ' ,CharEncoding.encode_base32_crockford(string))\nprint('Base32 : ' ,CharEncoding.encode_base32(string))\nprint('Base45 : ' ,CharEncoding.encode_base45(string))\nprint('Base58 : ' ,CharEncoding.encode_base58(string))\nprint('Base62 : ' ,CharEncoding.encode_base62(string))\nprint('Base64 : ' ,CharEncoding.encode_base64(string))\nprint('Base91 : ' ,CharEncoding.encode_base91(string))\nprint('Baudot : ' ,CharEncoding.encode_baudot(string))\nprint('Chuck Norris Unary Code : ' ,CharEncoding.encode_chuck_norris(string))\nprint('EBCDIC Encoding : ' ,CharEncoding.encode_ebcdic(string))\nprint('Binary : ' ,CharEncoding.encode_binary(string))\nprint('French Postal Barcode : ' ,CharEncoding.encode_french_postal(string))\nprint('Gray Code : ' ,CharEncoding.encode_gray(string))\nprint('Morse Code : ' ,CharEncoding.encode_morse_code(string))\nprint('BCD Encoding : ' ,CharEncoding.encode_bcd(stringnum))\nprint('Excess-3 Code (Stibitz) : ' ,CharEncoding.encode_excess_3(stringnum))\nprint('Resistor Value : ' ,CharEncoding.encode_resistor_value(7979, 10))\n\n```\n\nChange Log\n==========\n0.0.2 (26/04/2023)\n-------------------\n- Updated Readme\n\n0.0.1 (26/04/2023)\n-------------------\n- First Release\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Character Encoding Algorithms",
"version": "0.0.2",
"split_keywords": [
"encoding",
"7-segment display",
"ascii85 encoding",
"ascii code",
"aztec barcode",
"base-32 crockford",
"base32",
"base45",
"base 58",
"base62",
"base64",
"base91",
"baudot",
"binary",
"chuck norris unary code",
"ebcdic encoding",
"french postal barcode",
"gray code",
"morse code",
"bcd encoding",
"excess-3 code (stibitz)",
"resistor value"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "974d8117da2913aded71d9cce9ee73b50019bb416e141421af732aa82f023bf5",
"md5": "f73a23aeb6c2c4a56e79ff8701e9045a",
"sha256": "deaa557cecff1170cd9e5b8a06d251d13c58aa74272149fa222146670064ec3d"
},
"downloads": -1,
"filename": "CharEncoding-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "f73a23aeb6c2c4a56e79ff8701e9045a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6071,
"upload_time": "2023-04-26T17:17:00",
"upload_time_iso_8601": "2023-04-26T17:17:00.778136Z",
"url": "https://files.pythonhosted.org/packages/97/4d/8117da2913aded71d9cce9ee73b50019bb416e141421af732aa82f023bf5/CharEncoding-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-26 17:17:00",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "charencoding"
}