File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed
Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 44
55# installation
66
7+ - pypi
78> [ pypi link] ( https://pypi.org/project/textbin/ )
8- >
9- > > ` pip install textbin `
109
10+ - cli
11+ > ` pip install textbin `
12+
13+ - github
1114> [ git repo] ( https://github.com/C-o-m-o-n/textbin )
1215
1316# usage
1417
18+ - ## Text and Binary
1519``` python
1620from textbin.textbin import *
1721
1822word = " hello"
1923
2024converted_word = textbin.to_binary(word)
2125
22- print (converted_word)
23-
24- $ ' 1101000 1100101 1101100 1101100 1101111'
26+ print (converted_word) # # '1101000 1100101 1101100 1101100 1101111'
2527
2628
27- -- -
28-
2929binary = " 1101000 1100101 1101100 1101100 1101111"
3030
3131converted_binary = textbin.to_binary(binary)
3232
33- print (converted_binary)
34- $ hello
33+ print (converted_binary) # # hello
3534
3635```
3736
38- # JSON and Base64
37+ - # # JSON and Base64
3938
4039``` python
4140from textbin.textbin import json_to_base64,base64_to_base64
@@ -55,8 +54,7 @@ print(converted_binary) ## {'foo': 'bar'}
5554
5655```
5756
58- # contributions
59-
57+ # contributions profiles
6058- [ Roldex] ( https://github.com/r0ld3x )
6159
6260### your contributions will be highly appreciated
You can’t perform that action at this time.
0 commit comments