Skip to content

Commit 90597fb

Browse files
doc : README file added
1 parent fcddef9 commit 90597fb

File tree

6 files changed

+107
-506
lines changed

6 files changed

+107
-506
lines changed

.idea/workspace.xml

Lines changed: 0 additions & 506 deletions
This file was deleted.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Sepand Haghighi
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Gitfollow
2+
3+
Github following and follower control
4+
5+
6+
## Installation
7+
### Source Code
8+
- Download [Latest Source ](https://github.com/sepandhaghighi/gitfollow/archive/master.zip)
9+
10+
- `python3 setup.py install`
11+
12+
## Usage ##
13+
- Enter your username & wait
14+
15+
16+
## Issues & Bug Reports
17+
18+
Just fill an issue and describe it. We'll check it ASAP!
19+
or send an email to [sepand@qpage.ir](mailto:sepand@qpage.ir "sepand@qpage.ir").
20+
21+
22+
## Contribution
23+
24+
You can fork the repository, improve or fix some part of it and then send the pull requests back if you want to see them here. I really appreciate that. ❤️
25+
26+
Remember to write a few tests for your code before sending pull requests.
27+
28+
29+
## License
30+
31+
<a href="https://github.com/sepandhaghighi/gitfollow/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mashape/apistatus.svg"/></a>
32+
33+
34+

gitfollow/__main__.py

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
from .gitfollow import *
2+
3+
if __name__=="__main__":
4+
time_1=time.perf_counter()
5+
username=input("Please Enter Your Github Username : ")
6+
print("Collecting Follower Information ...")
7+
list_1=follower_list_gen(username)
8+
file = open(username + "_follower.log", "w")
9+
file.write("\n".join(list_1))
10+
file.close()
11+
print('Collecting Following Informnation ...')
12+
list_2=following_list_gen(username)
13+
file = open(username + "_following.log", "w")
14+
file.write("\n".join(list_2))
15+
file.close()
16+
following_not_follower=[]
17+
file=open(username+"_dif.log","w")
18+
for i in list_2:
19+
if i not in list_1:
20+
following_not_follower.append(i)
21+
file.write(i+"\n")
22+
file.close()
23+
time_2=time.perf_counter()
24+
print("Data Generated In "+str(time_2-time_1)+" sec")
25+
gc.collect()
26+
27+
28+
29+
30+
31+
32+
33+
34+
35+
36+
37+
File renamed without changes.

setup.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from distutils.core import setup
2+
setup(
3+
name = 'gitfollow',
4+
packages = ['gitfollow'],
5+
version = '0.1',
6+
description = 'Github follower and following control',
7+
long_description="",
8+
author = 'Sepand Haghighi',
9+
author_email = 'sepand@qpage.ir',
10+
url = 'https://github.com/sepandhaghighi/gitfollow',
11+
download_url = 'https://github.com/sepandhaghighi/gitfollow/tarball/v0.1',
12+
keywords = ['Follow', 'follower', 'github','python','git'],
13+
classifiers = [],
14+
license='MIT',
15+
)

0 commit comments

Comments
 (0)