Python Package Template
Project description
pycefrl
Identifying Python3 Code Level Using the CERFL Framework as Inspiration
What is this project about?
The goal of pycefrl is to create a tool capable of obtaining an evaluation inspired by the ''Common European Framework of Reference for Languages'' for code written in the Python programming language, version 3.
With this tool it is possible to analyze the level of GitHub repositories (and their developers) or code snippets in Python3.
How does it work?
To put it into operation you have to follow the steps below:
-
Edit the 'configuration.cfg' file with the level assignment of your choice. If you want to use the default ones (recommended), just go to step 2.
-
Execute the file 'dict.py' to generate a level dictionary.
python3 dict.py -
Execute the main program 'pycerfl.py' in three different ways:
- Analyze a directory.
python3 pycerfl.py directory <name_path> - Analyze a GitHub repository.
python3 pycerfl.py repo <name_urlclone> - Analyze a GitHub user.
python3 pycerfl.py user <name_user>
- Analyze a directory.
-
After that, this program will generate two types of formats to view the results:
- JSON: data.json
- CSV: data.csv
Both of them including following information:
- Repository name
- File name
- Class of element
- Start Line
- End Line
- Displacement
- Level of element
-
If you want to visualize the results on a web page:
- Run the file 'main.js' to create the page 'index.html'. You will get one web page for each repository.
node main.js
- Run the file 'main.js' to create the page 'index.html'. You will get one web page for each repository.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pycefr-0.0.2.tar.gz.
File metadata
- Download URL: pycefr-0.0.2.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1563b935ca3cba2d4182899837703d0fcec19697f2e0cd6cb74927be09097eb4
|
|
| MD5 |
bfaee25700e17b87d7c1222ce9e9fca6
|
|
| BLAKE2b-256 |
98ee866e08841f5b7ce1c5b35e4e0529bdc6ef507467614bc45ef95d24fc4787
|
File details
Details for the file pycefr-0.0.2-py2.py3-none-any.whl.
File metadata
- Download URL: pycefr-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6174093d90c2dc0b6ced2585a39120dd8bc21e9f05c624efeba1c69aebe17c41
|
|
| MD5 |
bd0497ff803de43084924f34e11377d9
|
|
| BLAKE2b-256 |
84b72075e8f6fdeb1ca561faf0fe36dd29118d623631df286e359cb19395b426
|