diff --git a/.gitignore b/.gitignore index ab1314e..0fe68b5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .pytest_cache .vimrc +dist/ diff --git a/README.md b/README.md index 368280b..03311c0 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,10 @@ support for multiple data sources and output formats. ## Installation -Install via [pip](https://packaging.python.org/tutorials/installing-packages/#use-pip-for-installing): +Install via [pipx](https://pypa.github.io/pipx/): ```bash -pip install pricehist +pipx install pricehist ``` ## Sources @@ -34,8 +34,7 @@ Show usage information: pricehist -h ``` ``` -usage: pricehist [-h] [--version] [--verbose | --debug] - {sources,source,fetch} ... +usage: pricehist [-h] [--version] [--verbose] {sources,source,fetch} ... Fetch historical price data @@ -51,7 +50,7 @@ commands: fetch fetch prices ``` -Fetch prices after 2021-01-04, ending 2020-01-15, as CSV: +Fetch prices after 2021-01-04, ending 2021-01-15, as CSV: ```bash pricehist fetch ecb EUR/AUD -sx 2021-01-04 -e 2021-01-15 -o csv @@ -72,7 +71,7 @@ date,base,quote,amount,source,type In Ledger format: ```bash -pricehist fetch ecb EUR/AUD -s 2021-01-01 -o ledger +pricehist fetch ecb EUR/AUD -s 2021-01-01 -o ledger | head ``` ``` P 2021-01-04 00:00:00 EUR 1.5928 AUD diff --git a/pyproject.toml b/pyproject.toml index 94c1815..8643a41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,16 @@ [tool.poetry] name = "pricehist" version = "0.1.0" -description = "Fetch and process historical price data" +description = "Fetch and format historical price data" authors = ["Chris Berkhout "] license = "MIT" +keywords = ["historical", "prices", "plaintext", "accounting", "csv", "gnucash", "ledger", "hledger", "beancount"] +readme = "README.md" +homepage = "https://gitlab.com/chrisberkhout/pricehist" +repository = "https://gitlab.com/chrisberkhout/pricehist" +include = [ + "LICENSE", +] [tool.poetry.dependencies] python = "^3.9"