diff --git a/README.md b/README.md index 2c1a7cb..0031668 100644 --- a/README.md +++ b/README.md @@ -133,9 +133,6 @@ First, bump up the release version in setup.py. Run this command to build package: `python -m build` -Run this if building on Windows: -`py -m build` - Run checks before releasing to PyPI: `twine check --strict dist/*` diff --git a/artist_getter.egg-info/PKG-INFO b/artist_getter.egg-info/PKG-INFO index b211173..2a9879f 100644 --- a/artist_getter.egg-info/PKG-INFO +++ b/artist_getter.egg-info/PKG-INFO @@ -99,14 +99,29 @@ The dictionary is parsed from [this json file on ULAN](http://vocab.getty.edu/ul #### 5. get_getty_artist_sex `get_getty_artist_name` which consumes an ULAN and returns just the artist's sex as a string, available sexes are ' -male', 'female' and 'unknown' -`get_getty_artist_name("500024301")` -```male``` +male', 'female' and None if unknown. +`get_getty_artist_sex("500024301")` + +`male` ### WikiData Functions #### 1. get_wiki_artist_data +`get_wiki_artist_data` consumes a WikiData ID like `Q948598` and returns the entire data set from WikiData. + #### 2. get_wiki_artist_name +`get_wiki_artist_data` consumes a WikiData ID and returns the artist name in 'First Last' format, as seen on WikiData. + +`get_wiki_artist_name("Q948598")` + +`Albert Pinkham Ryder` + #### 3. get_wiki_artist_sex +`get_wiki_artist_sex` which consumes a WikiData ID and returns just the artist's gender and sex as a string, available sexes are ' +male', 'female' and None if unknown. + +`get_wiki_artist_sex("Q948598")` + +`male` ### Example View diff --git a/dist/artist_getter-0.4-py3-none-any.whl b/dist/artist_getter-0.4-py3-none-any.whl index e6b6ae0..698e40f 100644 Binary files a/dist/artist_getter-0.4-py3-none-any.whl and b/dist/artist_getter-0.4-py3-none-any.whl differ diff --git a/dist/artist_getter-0.4.tar.gz b/dist/artist_getter-0.4.tar.gz index 6d77e21..844f9c7 100644 Binary files a/dist/artist_getter-0.4.tar.gz and b/dist/artist_getter-0.4.tar.gz differ