A utility to convert between pdu, gsm codes, ussd and string formats
Project description
# PDU-USSDConverter
A Simple Utility to Convert Between PDU encoded text, USSD/GSM and String and
Vice-Versa.
This is works well with python3
## Installation
`pip install PDUUSSDConverter`
## Example
```
from PDUUSSDConverter import converter
ussd_code = converter.text_to_pdu(''*124#'') # 'AA988C3602' (length=10)
pdu_to_text = converter.pdu_to_text('54747A0E6A97E7F3F0B90CBA87E7A0F1DB6D2FCBE9657208')) # 'This message was converted!' (length=27)
```
Other Operations Available:
```
gsm_code_to_text(param: gsm_code) // Convert a gsm code into a unicode sequence
text_to_gsm_code(param: String) // Converts text into gsm code sequence
```
## Credits
[Junior Polegato](https://github.com/JuniorPolegato/pdu_gsm_ussd)
A Simple Utility to Convert Between PDU encoded text, USSD/GSM and String and
Vice-Versa.
This is works well with python3
## Installation
`pip install PDUUSSDConverter`
## Example
```
from PDUUSSDConverter import converter
ussd_code = converter.text_to_pdu(''*124#'') # 'AA988C3602' (length=10)
pdu_to_text = converter.pdu_to_text('54747A0E6A97E7F3F0B90CBA87E7A0F1DB6D2FCBE9657208')) # 'This message was converted!' (length=27)
```
Other Operations Available:
```
gsm_code_to_text(param: gsm_code) // Convert a gsm code into a unicode sequence
text_to_gsm_code(param: String) // Converts text into gsm code sequence
```
## Credits
[Junior Polegato](https://github.com/JuniorPolegato/pdu_gsm_ussd)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file PDUUSSDConverter-0.0.2.post1.tar.gz.
File metadata
- Download URL: PDUUSSDConverter-0.0.2.post1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c46d662b1680b025703f104249d3a77956d58fa0ceabc8e3e1f89b6e57f029a9
|
|
| MD5 |
63062ea0ca8759dadedccca9e00d20fa
|
|
| BLAKE2b-256 |
9521416772ba730749a652bbaed3e8f1a3257953ad928e7b48b5760eb7706b9d
|