-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add setup changelog and version (#8)
First release
- Loading branch information
Showing
7 changed files
with
83 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## 0.0.1 | ||
|
||
authors: Wazzabeee | ||
|
||
### Chore | ||
- Add pre commit hooks | ||
- Update requirements for security reasons | ||
|
||
### Fixes | ||
- Fix README example | ||
- Fix saving path with slashes | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,10 @@ This project was made part of my internship at the "Human Computer Humans Intera | |
--- | ||
|
||
``` | ||
Usage: main.py input_directory [OPTIONS] | ||
Perform a similarity analysis of all text files available in given input directory. | ||
Developped by Clément Delteil -> (Github: wazzabeee) | ||
Usage: python -m scripts.main.py input_directory [OPTIONS] | ||
Performs a similarity analysis of all text files available in given input directory. | ||
Developed by Clément Delteil -> (Github: Wazzabeee) | ||
Options: | ||
-block_size, -s Set minimum number of consecutive and similar words detected. (Default is 2) | ||
|
@@ -65,12 +64,12 @@ To fix this you'll need to modify `class PDF(list):` in `C:/.../slate3k/classes. | |
- Please make sure that all text files are closed before running the program. | ||
- In order to get the best results please provide text files of the same languages. | ||
- Pdf files that are made from scanned images won't be processed correctly. | ||
- If a specific file is not processed correctly feel free to [contact me](mailto:<[email protected]>) so that I can address the issue. | ||
- If a specific file is not processed correctly feel free to [contact me](mailto:<[email protected]>) so that I can address the issue. | ||
|
||
**TODO** | ||
--- | ||
- Add tests | ||
- Add CI | ||
- Add more tests | ||
- Add info in console for timing (tqdm) | ||
- Docker Image | ||
- Add CSS to HTML Template | ||
- Add support for other folder structures | ||
- Fix Slate3k by installing custom fork |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
from setuptools import setup, find_packages | ||
|
||
with open("VERSION") as version_file: | ||
version = version_file.read().strip() | ||
|
||
setup( | ||
name="plagiarism-checker", | ||
version=version, | ||
packages=find_packages(), | ||
install_requires=[ | ||
"beautifulsoup4==4.10.0", | ||
"nltk==3.6.6", | ||
"odfpy==1.4.1", | ||
"pdfplumber==0.5.28", | ||
"slate3k==0.5.3", | ||
"tabulate==0.8.9", | ||
], | ||
extras_require={ | ||
"lint": ["pylint==3.0.2", "mypy==1.7.1", "flake8==6.1.0", "black==24.3.0", "types-tabulate"], | ||
"dev": ["pytest", "pre-commit"], | ||
}, | ||
author="Clément Delteil", | ||
author_email="[email protected]", | ||
description="Make plagiarism detection easier. This package will find similar sentences between given files and " | ||
"highlight them in a side by side comparison.", | ||
long_description=open("README.md").read(), | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/Wazzabeee/plagiarism_checker", | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
], | ||
python_requires=">=3.10", | ||
) |