Skip to content

Commit

Permalink
Small update for 2.0.1 for CLI with empty result
Browse files Browse the repository at this point in the history
  • Loading branch information
asherAgs committed Apr 5, 2018
1 parent ba76779 commit d66005c
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 3 deletions.
12 changes: 12 additions & 0 deletions amzsear.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Metadata-Version: 1.0
Name: amzsear
Version: 2.0.1
Summary: The unofficial Amazon search CLI & Python API
Home-page: https://github.com/asherAgs/amzSear
Author: Asher Silvers
Author-email: ashersilvers@gmail.com
License: MIT
Description-Content-Type: UNKNOWN
Description: UNKNOWN
Keywords: amazon search product products python
Platform: UNKNOWN
19 changes: 19 additions & 0 deletions amzsear.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
MANIFEST.in
README.md
requirements.txt
setup.cfg
setup.py
amzsear/__init__.py
amzsear.egg-info/PKG-INFO
amzsear.egg-info/SOURCES.txt
amzsear.egg-info/dependency_links.txt
amzsear.egg-info/entry_points.txt
amzsear.egg-info/top_level.txt
amzsear/cli/__init__.py
amzsear/cli/cli.py
amzsear/core/AmzBase.py
amzsear/core/AmzProduct.py
amzsear/core/AmzRating.py
amzsear/core/AmzSear.py
amzsear/core/__init__.py
amzsear/core/consts.py
1 change: 1 addition & 0 deletions amzsear.egg-info/dependency_links.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

3 changes: 3 additions & 0 deletions amzsear.egg-info/entry_points.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[console_scripts]
amzsear = amzsear.cli.cli:run

1 change: 1 addition & 0 deletions amzsear.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
amzsear
4 changes: 2 additions & 2 deletions amzsear/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def print_short(cls):
format_str = []
for field in fields:
#get longest in each field into format_str
format_str.append('{:%d}' % (max(len(x[field]) for x in rows)))
format_str = ' '.join(format_str)
format_str.append('{:%d}' % (max(len(x[field]) for x in rows)+ 1))
format_str = ' '.join(format_str)

for row in rows:
print(format_str.format(*[row.get(x,'') for x in fields])) # print in order
Expand Down
Binary file added dist/amzsear-2.0.1.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
setup(
name = 'amzsear',
packages = find_packages(),
version = '2.0.0',
version = '2.0.1',
description = 'The unofficial Amazon search CLI & Python API',
author = "Asher Silvers",
author_email = "ashersilvers@gmail.com",
Expand Down

0 comments on commit d66005c

Please sign in to comment.