From a2101be73ae69000eaef000edf9849498466380c Mon Sep 17 00:00:00 2001 From: Eliaz Bobadilla Date: Mon, 7 Jun 2021 13:03:21 -0500 Subject: [PATCH 1/2] :bookmark: Release 0.3.0 --- githubapi2/githubuser.py | 8 +++++++- githubapi2/version.py | 2 +- setup.py | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/githubapi2/githubuser.py b/githubapi2/githubuser.py index 439eaca..441fb9a 100644 --- a/githubapi2/githubuser.py +++ b/githubapi2/githubuser.py @@ -32,7 +32,13 @@ def get_important_data(user_details): def print_user_data(data): - print(f"{data['name']}(@{data['username']}): {data['bio']}") + print(f"{data['name']}: {data['bio']}") + print( + f"Location: {data['location']} | Twitter Username: {data['twitter_username']} | Web Page: https://{data['webpage']}" + ) + print( + 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']}" + ) def run(): diff --git a/githubapi2/version.py b/githubapi2/version.py index d3ec452..493f741 100644 --- a/githubapi2/version.py +++ b/githubapi2/version.py @@ -1 +1 @@ -__version__ = "0.2.0" +__version__ = "0.3.0" diff --git a/setup.py b/setup.py index abcff35..21bbe3d 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ license="MIT", packages=["githubapi2"], install_requires=["requests==2.25.1"], - entry_points={"console_scripts": ["github_user = githubapi2.githubuser:run"]}, + entry_points={"console_scripts": ["ghuser = githubapi2.githubuser:run"]}, classifiers=[ "Programming Language :: Python", ], From d3dcf809d762bd78df70f9db5e3b65ce1dc0f574 Mon Sep 17 00:00:00 2001 From: Eliaz Bobadilla Date: Tue, 8 Jun 2021 12:01:47 -0500 Subject: [PATCH 2/2] :art: Update --- README.md | 3 +++ githubapi2/__init__.py | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e69de29..43e0d4f 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,3 @@ +# githubapi2 + +https://user-images.githubusercontent.com/71897736/121227487-3b6f7b00-c851-11eb-9c8b-3c3daeb7c076.mp4 diff --git a/githubapi2/__init__.py b/githubapi2/__init__.py index 541be00..9bf84cc 100644 --- a/githubapi2/__init__.py +++ b/githubapi2/__init__.py @@ -1 +1,3 @@ -# This file tells Python that this is a submodule +""" +This file tells Python that this is a submodule +"""