Framework for Source Code Preprocessing
Project description
PyReprism is a Python framework that helps researchers and developers the task of source code preprocessing. With PyReprism, you can easily match, extract, count, and remove comments, whitespaces, operators, numbers and other language specific constructs from over 150 programming languages and file extensions.
Requirements
Installing PyReprism
Installing PyReprism is easily done using pip. Assuming it is installed, just run the following from the command-line:
$ pip install PyReprism
Source Code
PyReprism’s git repo is available on GitHub, which can be browsed at:
and cloned using:
$ git clone https://github.com/unlv-evol/PyReprism.git $ cd PyReprism
Optionally (but suggested), make use of virtual environment. Therefore, before installing the requirements run:
$ python3 -m venv venv $ source venv/bin/activate
Install the requirements:
$ pip install -r requirements.txt
and run the tests using pytest:
$ pytest
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 pyreprism-0.0.4.tar.gz.
File metadata
- Download URL: pyreprism-0.0.4.tar.gz
- Upload date:
- Size: 45.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6fc73c884fdcae92e5a914e0ff2defcec79f2fdd819db5ffac1fdede48c9977
|
|
| MD5 |
2bc96d77fab571b493242246272f02ad
|
|
| BLAKE2b-256 |
24fbb1f179951ea45ef5f21a8437e762a377caba9172a05c99ec741579d38338
|
File details
Details for the file pyreprism-0.0.4-py3-none-any.whl.
File metadata
- Download URL: pyreprism-0.0.4-py3-none-any.whl
- Upload date:
- Size: 103.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab5a4ae7a331babc62c7f4a97ade52d73ea82d6fc682bbe52e85eafecee10618
|
|
| MD5 |
9c2348c08b19100d7be804b14ae76798
|
|
| BLAKE2b-256 |
6f051ab10ae2e027f4689210d99d380b27d4f44329d1809c1f4b7b3938a7966b
|