Skip to content

Commit 65a094d

Browse files
committed
ready for prod
1 parent daafc3c commit 65a094d

File tree

4 files changed

+40
-24
lines changed

4 files changed

+40
-24
lines changed

README.md

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-orange.svg)](http://makeapullrequest.com)
66
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/codeclassroom/PlagCheck?style=plastic)
77

8-
The MOSS interface package for CodeClassroom
8+
> A Powerful [Moss](http://theory.stanford.edu/~aiken/moss/) results scrapper.
99
1010
## Installation 🔮
1111

@@ -71,29 +71,6 @@ pprint.pprint(results)
7171

7272
Read [Documentation](https://github.com/codeclassroom/PlagCheck/blob/master/docs/docs.md).
7373

74-
## TODO
75-
76-
Fetch the URL and gather following results:
77-
78-
- [x] Percentage of Code Matches
79-
- [x] Number of Lines Matched
80-
- [x] URL itself
81-
- [x] Lines Matched*
82-
- [x] Return a list of dictionaries containing:
83-
84-
```json
85-
[
86-
{
87-
"file1":"filename1.py",
88-
"file2":"filename2.py",
89-
"percentage": 34,
90-
"no_of_lines_matched": 3,
91-
"lines_matched":[["2-3", "10-11"]]
92-
},
93-
....
94-
]
95-
```
96-
9774
## Author
9875

9976
👥 **Bhupesh Varshney**

plagcheck/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from plagcheck.plagcheck import check

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[metadata]
2+
description-file = README.md

setup.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
import setuptools
2+
3+
with open("README.md", "r") as fh:
4+
long_description = fh.read()
5+
6+
setuptools.setup(
7+
name="plagcheck",
8+
version="0.1",
9+
author="Bhupesh Varshney",
10+
author_email="[email protected]",
11+
description="A Powerful Moss results scrapper",
12+
keywords='mosspy moss plagiarism cheat',
13+
long_description=long_description,
14+
long_description_content_type="text/markdown",
15+
url="https://github.com/codeclassroom/PlagCheck",
16+
project_urls={
17+
"Documentation": "https://github.com/codeclassroom/PlagCheck/blob/master/docs/docs.md",
18+
"Source Code": "https://github.com/codeclassroom/PlagCheck",
19+
"Funding": "https://www.patreon.com/bePatron?u=18082750",
20+
"Say Thanks!": "https://github.com/codeclassroom/PlagCheck/issues/new?assignees=&labels=&template=---say-thank-you.md&title=",
21+
},
22+
packages=setuptools.find_packages(),
23+
install_requires=[
24+
'requests',
25+
'mosspy',
26+
'beautifulsoup4',
27+
'lxml',
28+
],
29+
classifiers=[
30+
"Programming Language :: Python :: 3",
31+
"License :: OSI Approved :: MIT License",
32+
'Topic :: Software Development :: Build Tools',
33+
"Operating System :: OS Independent",
34+
],
35+
python_requires='>=3.6',
36+
)

0 commit comments

Comments
 (0)