recode-stamper 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- recode_stamper-0.1.0/LICENSE +21 -0
- recode_stamper-0.1.0/MANIFEST.in +2 -0
- recode_stamper-0.1.0/PKG-INFO +82 -0
- recode_stamper-0.1.0/README.md +44 -0
- recode_stamper-0.1.0/pyproject.toml +32 -0
- recode_stamper-0.1.0/recode_stamper/__init__.py +778 -0
- recode_stamper-0.1.0/recode_stamper/wordlist4096.txt +4096 -0
- recode_stamper-0.1.0/recode_stamper.egg-info/PKG-INFO +82 -0
- recode_stamper-0.1.0/recode_stamper.egg-info/SOURCES.txt +11 -0
- recode_stamper-0.1.0/recode_stamper.egg-info/dependency_links.txt +1 -0
- recode_stamper-0.1.0/recode_stamper.egg-info/entry_points.txt +3 -0
- recode_stamper-0.1.0/recode_stamper.egg-info/top_level.txt +1 -0
- recode_stamper-0.1.0/setup.cfg +4 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: recode-stamper
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Encode and decode UTF-8 strings into a 12- or 24-word RECODE mnemonic.
|
|
5
|
+
Author-email: avra911 <java-hug-circulate@duck.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Keywords: recode,mnemonic,cli,encoding,python
|
|
29
|
+
Classifier: Programming Language :: Python :: 3
|
|
30
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
31
|
+
Classifier: Operating System :: OS Independent
|
|
32
|
+
Classifier: Topic :: Security :: Cryptography
|
|
33
|
+
Classifier: Topic :: Utilities
|
|
34
|
+
Requires-Python: >=3.9
|
|
35
|
+
Description-Content-Type: text/markdown
|
|
36
|
+
License-File: LICENSE
|
|
37
|
+
Dynamic: license-file
|
|
38
|
+
|
|
39
|
+
# Recode Stamper
|
|
40
|
+
|
|
41
|
+
A small Python utility that encodes UTF-8 text into a 12- or 24-word mnemonic (RECODE) and decodes it back.
|
|
42
|
+
|
|
43
|
+
## How to run
|
|
44
|
+
|
|
45
|
+
Encode a string:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
python recode.py --encode "MyPassword123!"
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Decode a mnemonic:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
python recode.py --decode "artist scavenge intimate airdrop humdrum curfew hexagon candy comedy bunion brevity aardvark"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Also works with subcommands:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
python recode.py encode "MyPassword123!"
|
|
61
|
+
python recode.py decode "artist scavenge intimate airdrop humdrum curfew hexagon candy comedy bunion brevity aardvark"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Show help:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
python recode.py --help
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Wordlist source
|
|
71
|
+
|
|
72
|
+
The file `wordlist4096.txt` is based on the public wordlist from:
|
|
73
|
+
|
|
74
|
+
https://raw.githubusercontent.com/kklash/wordlist4096/main/wordlist4096.txt
|
|
75
|
+
|
|
76
|
+
## License
|
|
77
|
+
|
|
78
|
+
This project is licensed under the MIT License. See [LICENSE](LICENSE) for the full text.
|
|
79
|
+
|
|
80
|
+
The included wordlist is derived from the upstream source referenced above. Please check the original repository and license terms for the wordlist itself before using it in production or redistribution.
|
|
81
|
+
|
|
82
|
+
This repository does not claim to replace or relicense the upstream wordlist; it only references the source used for the local copy included here.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Recode Stamper
|
|
2
|
+
|
|
3
|
+
A small Python utility that encodes UTF-8 text into a 12- or 24-word mnemonic (RECODE) and decodes it back.
|
|
4
|
+
|
|
5
|
+
## How to run
|
|
6
|
+
|
|
7
|
+
Encode a string:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
python recode.py --encode "MyPassword123!"
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Decode a mnemonic:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
python recode.py --decode "artist scavenge intimate airdrop humdrum curfew hexagon candy comedy bunion brevity aardvark"
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Also works with subcommands:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
python recode.py encode "MyPassword123!"
|
|
23
|
+
python recode.py decode "artist scavenge intimate airdrop humdrum curfew hexagon candy comedy bunion brevity aardvark"
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Show help:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
python recode.py --help
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Wordlist source
|
|
33
|
+
|
|
34
|
+
The file `wordlist4096.txt` is based on the public wordlist from:
|
|
35
|
+
|
|
36
|
+
https://raw.githubusercontent.com/kklash/wordlist4096/main/wordlist4096.txt
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
This project is licensed under the MIT License. See [LICENSE](LICENSE) for the full text.
|
|
41
|
+
|
|
42
|
+
The included wordlist is derived from the upstream source referenced above. Please check the original repository and license terms for the wordlist itself before using it in production or redistribution.
|
|
43
|
+
|
|
44
|
+
This repository does not claim to replace or relicense the upstream wordlist; it only references the source used for the local copy included here.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "recode-stamper"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Encode and decode UTF-8 strings into a 12- or 24-word RECODE mnemonic."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
license = { file = "LICENSE" }
|
|
12
|
+
authors = [
|
|
13
|
+
{ name="avra911", email="java-hug-circulate@duck.com" },
|
|
14
|
+
]
|
|
15
|
+
keywords = ["recode", "mnemonic", "cli", "encoding", "python"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Programming Language :: Python :: 3",
|
|
18
|
+
"License :: OSI Approved :: MIT License",
|
|
19
|
+
"Operating System :: OS Independent",
|
|
20
|
+
"Topic :: Security :: Cryptography",
|
|
21
|
+
"Topic :: Utilities",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
[project.scripts]
|
|
25
|
+
recode = "recode_stamper:main"
|
|
26
|
+
recode-stamper = "recode_stamper:main"
|
|
27
|
+
|
|
28
|
+
[tool.setuptools]
|
|
29
|
+
include-package-data = true
|
|
30
|
+
|
|
31
|
+
[tool.setuptools.packages.find]
|
|
32
|
+
include = ["recode_stamper*"]
|