Skip to content

Commit 933281c

Browse files
authored
version 0.0.0a (#2)
* readme update * update version and classifiers * add version to cli --help
1 parent 3f82b94 commit 933281c

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
[![pypi version](https://img.shields.io/pypi/v/csv2http.svg)](https://pypi.org/project/csv2http/)
55
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
66

7+
CLI tool and library for making a series of HTTP requests based on a CSV file input.
8+
79
## Quick start
810

911
Install
@@ -75,5 +77,6 @@ https://mockbin.org/bin/9e95289e-d048-4515-9a61-07f2c74810f5/log
7577
- [ ] Nested fields - V1
7678
- [ ] Complete Docs - V1
7779
- [ ] `create_mockbin.csv` and `example.csv` to use in quickstart - Beta
80+
- [ ] examples for using as library
7881
- [x] GH Actions CI (lint, test, etc.)
7982
- [ ] GH Actions CD (publish to pypi)

csv2http/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
logging.basicConfig(level=logging.INFO)
77

8-
__version__ = "0.0.1a"
8+
__version__ = "0.0.0a"

csv2http/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Args(NamedTuple):
3535
def get_args() -> Args:
3636
"""Get user args from the command line."""
3737
parser = argparse.ArgumentParser(
38-
description="HTTP request for every row of a CSV file"
38+
description="HTTP request for every row of a CSV file - v0.0.0a"
3939
)
4040
parser.add_argument("file", help="payload csv file", type=pathlib.Path)
4141
parser.add_argument(

pyproject.toml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,22 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "csv2http"
7-
version = "0.0.1a"
7+
version = "0.0.0a"
88
description = "Make http requests based on a CSV input file"
99
authors = ["Gabriel Gore <gabriel59kg@gmail.com>"]
1010
license = "MIT License"
1111
readme = "README.md"
1212
repository = "https://github.com/kilo59/csv2http"
1313
homepage = "https://github.com/kilo59/csv2http"
14-
keywords = ["http", "csv", "cli"]
15-
packages = [ { include = "csv2http", from = "." } ]
14+
keywords = ["http", "csv", "cli", "remediation"]
15+
classifiers = [
16+
"Programming Language :: Python :: 3.10",
17+
"License :: OSI Approved :: MIT License",
18+
"Development Status :: 2 - Pre-Alpha",
19+
"Environment :: Console",
20+
"Topic :: Software Development :: Libraries :: Python Modules",
21+
"Topic :: Internet :: WWW/HTTP",
22+
]
1623

1724
[tool.poetry.scripts]
1825
csv2http = "csv2http.core:main"

tests/test_csv2http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

44
def test_version():
5-
assert __version__ == "0.0.1a"
5+
assert __version__ == "0.0.0a"

0 commit comments

Comments
 (0)