Skip to content
This repository was archived by the owner on Jul 2, 2021. It is now read-only.

Commit a2101be

Browse files
committed
🔖 Release 0.3.0
1 parent f424fac commit a2101be

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

githubapi2/githubuser.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@ def get_important_data(user_details):
3232

3333

3434
def print_user_data(data):
35-
print(f"{data['name']}(@{data['username']}): {data['bio']}")
35+
print(f"{data['name']}: {data['bio']}")
36+
print(
37+
f"Location: {data['location']} | Twitter Username: {data['twitter_username']} | Web Page: https://{data['webpage']}"
38+
)
39+
print(
40+
f"Total Public Repositories: {data['total_public_repos']} | Total Public Gists {data['total_public_gists']} | Total Followers: {data['total_followers']} | Total Following: {data['total_following']}"
41+
)
3642

3743

3844
def run():

githubapi2/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.0"
1+
__version__ = "0.3.0"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
license="MIT",
1616
packages=["githubapi2"],
1717
install_requires=["requests==2.25.1"],
18-
entry_points={"console_scripts": ["github_user = githubapi2.githubuser:run"]},
18+
entry_points={"console_scripts": ["ghuser = githubapi2.githubuser:run"]},
1919
classifiers=[
2020
"Programming Language :: Python",
2121
],

0 commit comments

Comments
 (0)