Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mauricelambert/fileanalysis
This package analyze emergence of characters in file (for statistics decryption).
https://github.com/mauricelambert/fileanalysis
decryption matplotlib-pyplot pypi-package python3 statistics
Last synced: about 12 hours ago
JSON representation
This package analyze emergence of characters in file (for statistics decryption).
- Host: GitHub
- URL: https://github.com/mauricelambert/fileanalysis
- Owner: mauricelambert
- License: gpl-3.0
- Created: 2021-03-19T21:59:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-30T22:02:59.000Z (over 3 years ago)
- Last Synced: 2023-07-27T11:06:59.260Z (over 1 year ago)
- Topics: decryption, matplotlib-pyplot, pypi-package, python3, statistics
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# FileAnalysis
## Description
This package analyze emergence of characters in file (for statistics decryption).## Requirements
This package require :
- python3
- python3 Standard Library
- matplotlib## Installation
```bash
pip install FileAnalysis
```## Usage
## Command line:
```bash
FileAnalysis -h # Print help message
FileAnalysis -F # Show french emergence
FileAnalysis -E # Show english emergence
FileAnalysis -f text.txt # Show all characters emergence in file named "text.txt"
FileAnalysis -s -f text.txt # Show sorted characters emergence in file named "text.txt"
FileAnalysis -j -f text.txt # Show characters emergence as JSON in file named "text.txt"
FileAnalysis -a -f text.txt # Show alphabet characters emergence in file named "text.txt"
FileAnalysis -n -f text.txt # Show all characters emergence number (default show pourcent)
```### Python script
```python
from FileAnalysis import FileAnalysis
analysis = FileAnalysis("text.txt", alphabet_only=True)
result = analysis.analysis_filecontent()
result = analysis.get_pourcent()
analysis.sort_and_show(sort=False, json=False)
```### Python executable:
```bash
python3 FileAnalysis.pyz -f text.txt# OR
chmod u+x FileAnalysis.pyz # add execute rights
./FileAnalysis.pyz -F # execute file
```### Python module (command line):
```bash
python3 -m FileAnalysis -F
python3 -m FileAnalysis.FileAnalysis -f text.txt
```## Links
- [Github Page](https://github.com/mauricelambert/FileAnalysis)
- [Documentation](https://mauricelambert.github.io/info/python/security/FileAnalysis.html)
- [Download as python executable](https://mauricelambert.github.io/info/python/security/FileAnalysis.pyz)
- [Pypi package](https://pypi.org/project/FileAnalysis/)## Licence
Licensed under the [GPL, version 3](https://www.gnu.org/licenses/).