Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zWaR committed Feb 9, 2018
1 parent f8783ec commit fac3c0b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ Usage

Module can also be imported to your source code::

import Src2Json
import csv2json

Src2Json().run(
csv2json.run(
csv_file_path: str,
json_file_path: str,
has_header: bool = False,
Expand Down
5 changes: 5 additions & 0 deletions csv2json/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from .csv2json import Csv2Json

def run(*args, **kwargs):
obj = Csv2Json()
obj.run(*args, **kwargs)
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="csv2json",
version="1.0.0",
version="1.0.1",
description="A tool for csv to json file conversion",
author="zWaR",
author_email="[email protected]",
Expand All @@ -13,7 +13,7 @@
"Programming Language :: Python :: 3.6"
],
keywords="csv json conversion tool",
packages=["src"],
packages=["csv2json"],
setup_requires=["pytest-runner"],
tests_require=["pytest", "pytest-cov", "pyfakefs", "pytest-mypy"],
url="https://github.com/zWaR/csv2json",
Expand All @@ -24,7 +24,7 @@
},
entry_points={
"console_scripts": [
"csv2json = src.main:main"
"csv2json = csv2json.main:main"
]
}
)

0 comments on commit fac3c0b

Please sign in to comment.