Skip to content

Commit

Permalink
adds downloads stat
Browse files Browse the repository at this point in the history
  • Loading branch information
kislerdm committed May 17, 2020
1 parent bd6ad7f commit 95910bd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![pyversion](https://img.shields.io/static/v1?label=python&color=blue&message=3.6%20|%203.7%20|%203.8)](./)
[![coverage](https://img.shields.io/static/v1?label=coverage&color=brightgreen&message=94%25)](./)
[![test](https://img.shields.io/static/v1?label=tests&color=success&message=100%25)](./)
[![downloads](https://pepy.tech/badge/gbqschema-converter)](https://pepy.tech/project/gbqschema-converter)

Python library to convert [Google BigQuery table schema](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#datetime_type) into [draft-07](https://json-schema.org/draft-07/json-schema-release-notes.html) [json schema](https://json-schema.org/) and vice versa.

Expand Down
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ if [ $(python3.7 -m twine check ${PWD}/dist/* | grep FAIL | wc -l) -gt 0 ]; then
exit
fi
echo "OK"

echo "Upload to pypi"

twine upload ${PWD}/dist/*
2 changes: 1 addition & 1 deletion gbqschema_converter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
- https://cloud.google.com/bigquery/docs/schemas#creating_a_json_schema_file
- https://json-schema.org/
"""
__version__ = "1.2.0"
__version__ = "1.2.1"
__all__ = ['__version__', 'gbqschema_to_jsonschema', 'jsonschema_to_gbqschema']
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name='gbqschema_converter',
version='1.2.0',
version='1.2.1',
description="Library to convert Google BigQuery Table Schema into Json Schema",
long_description=README,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 95910bd

Please sign in to comment.