DecAn
Tool to Analyze and Deconstruct chars in a text
[Beta-Development]
Installation
pip install DecAn-karjakak
Usage
For analyzing text file or sentences
decan -a path\text.txt
For search chars or words in text file or sentences
decan -a "The Best is yet to come, yeayyy!!!" -s "Best" e y
# result:
"Best": {1: ((4, 8),)}
"Best" is 1 out of total 7 words!
'e': {5: (2, 5, 13, 22, 26)}
'e' is 5 out of total 34 chars!
'y': {5: (12, 25, 28, 29, 30)}
'y' is 5 out of total 34 chars!
For Deconstruct text file or sentences to .json file or .pickle file
# The text file, save as json/pickle filename, and save to a directory path.
decan -d path\text.txt text.json path\dir
For Constructing the deconstructed text that save in .json file or .pickle file
decan -c path\text.pickle
For fixing text punctuation like [".", ",", ":", ";"] that need space or less space, and save it to a new .txt file.
decan -f path\text.txt dir\path text_name.txt
TAKE NOTE:
- In -d [deconstruct], the text has been fixed as well but saved as pickle or json file.
Note
- Still development process.
- Add write deconstruct to pickle, which much smaller and faster.
- Changes on analyze [-a]:
- Count real chars, without the space and other printable.
- Show the chars that used once and chars that used most.
- Details on chars type.
- Add new function "-f" for saving text that has been fixed its punctuation position to a new txt file.
- This function use dependency from GenPy-karjakak.
- https://pypi.org/project/GenPy-karjakak
- Add multi-threading for analyzing.
- Using "-m" after "-s".
decan -a path\text.txt -s "Best" e y -m
Metadata
Release files for DecAn-karjakak 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| DecAn-karjakak-0.2.5.tar.gz | 5.5 kB | Without provenance | Details for DecAn-karjakak-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| DecAn_karjakak-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for DecAn_karjakak-0.2.5-py3-none-any.whl |
Total release size: 11.4 kB
Release files / DecAn-karjakak-0.2.5.tar.gz
| Download URL | DecAn-karjakak-0.2.5.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
185aa525df78c9aa6ba29f4b617559e16226f1ce539b6489b3e2c3e66686ee8d
|
|
BLAKE2b-256 checksum How to use checksums |
59c8d2629bbe084567cb07dd9da4ab9a0688168de5e1feed9295af179ce12563
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.5
|
Release files / DecAn_karjakak-0.2.5-py3-none-any.whl
| Download URL | DecAn_karjakak-0.2.5-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2073798d17ed9ede7d211bc921b907addc0437362832408c70dfd707e17aed30
|
|
BLAKE2b-256 checksum How to use checksums |
105fdb0cd877cdac1d252b82f756125fb242b01a7e9b3f2555b18990bc8c091e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.5
|
Security for DecAn-karjakak 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.