This package analyze emergence of characters in file (to decrypt with statistics).
Project description
FileAnalysis
Description
This package analyze emergence of characters in file (to decrypt with statistics).
Requirements
This package require :
- python3
- python3 Standard Library
- matplotlib
Installation
pip install FileAnalysis
Launcher
Command line:
FileAnalysis -h # Print help message
FileAnalysis -F # Show french emergence
FileAnalysis -f text.txt # Show all characters emergence 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
from FileAnalysis import FileAnalysis
analysis = FileAnalysis("text.txt", alphabet_only=True)
result = analysis.analysis_filecontent()
result = analysis.get_pourcent()
analysis.build_chart() # Show chart
Python executable:
python3 FileAnalysis.pyz -f text.txt
# OR
chmod u+x FileAnalysis.pyz # add execute rights
./FileAnalysis.pyz -F # execute file
Python module (command line):
python3 -m FileAnalysis -F
python3 -m FileAnalysis.FileAnalysis text.txt
Links
Licence
Licensed under the GPL, version 3.
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
FileAnalysis-0.0.1.tar.gz
(17.4 kB
view hashes)