Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.0.7-Alpha #16

Merged
merged 8 commits into from
Jul 11, 2022
Merged

0.0.7-Alpha #16

merged 8 commits into from
Jul 11, 2022

Conversation

zachspar
Copy link
Owner

Notes:

  • Lowers Python requirement to 3.6.x
  • Adds FRED urls to docstrings

@zachspar zachspar added documentation Improvements or additions to documentation 0.0.7-Alpha labels Jul 10, 2022
@zachspar zachspar self-assigned this Jul 10, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jul 10, 2022

Codecov Report

Merging #16 (1f8d5cf) into main (729e998) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines          442       445    +3     
=========================================
+ Hits           442       445    +3     
Impacted Files Coverage Δ
src/fred/__init__.py 100.00% <ø> (ø)
src/fred/api/__init__.py 100.00% <ø> (ø)
src/fred/api/categories.py 100.00% <ø> (ø)
src/fred/api/exceptions.py 100.00% <ø> (ø)
src/fred/api/releases.py 100.00% <ø> (ø)
src/fred/api/series.py 100.00% <ø> (ø)
src/fred/api/sources.py 100.00% <ø> (ø)
src/fred/api/tags.py 100.00% <ø> (ø)
src/fred/util/decorators.py 100.00% <ø> (ø)
src/fred/api/fred_client.py 100.00% <100.00%> (ø)
... and 7 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@zachspar zachspar linked an issue Jul 10, 2022 that may be closed by this pull request
@zachspar zachspar merged commit 882160e into main Jul 11, 2022
@zachspar zachspar deleted the release/0.0.7-alpha branch July 15, 2022 18:46
zachspar added a commit that referenced this pull request Jul 15, 2022
* add FRED urls to python docstrings

* update readme

* bump lib

* fix issue #15 by enforcing API length

* check alnum

* update tests

* reformat file

* rename top level packagename to fred
zachspar added a commit that referenced this pull request Oct 8, 2022
* boilerplate cli

* wrap sources cli

* Feature/required args (#10)

* create api decorator to check valid args

* format files

* add args validation for releases

* add api arg validator for categories

* update required args for categories namespace

* add required args to tags namespace

* add validate args to sources apis

* add arg validation to series namespace

* add required args for series apis

* finish base implementation of all APIs, closes issue #4

* bump fred-py-api to 0.0.5 and update readme to point to wiki

* Create dependabot.yml

* Delete dependabot.yml

* Feature/test suite (#11)

* basic tests for categories namespace

* add basic tests for tags api

* add basic tests for sources api namespace

* create basic tests for releases api namespace

* add basic tests for series api namespace

* create test for decorators

* use src for tests

* first full test-suite of basic API functionality, closes issue #8

* new CI for lint and test package

* upgrade black in CI, use fred api key from GH secrets

* reformat files

* update CI only test for 3.9 & 3.10

* only run CI with python 3.10.x

* run ci using coverage

* add coverage upload

* add new job skeleton to CI

* upload to PyPI when publishing new release/prerelease

* Feature/test suite (#14)

* basic tests for categories namespace

* add basic tests for tags api

* add basic tests for sources api namespace

* create basic tests for releases api namespace

* add basic tests for series api namespace

* create test for decorators

* use src for tests

* first full test-suite of basic API functionality, closes issue #8

* new CI for lint and test package

* upgrade black in CI, use fred api key from GH secrets

* reformat files

* update CI only test for 3.9 & 3.10

* only run CI with python 3.10.x

* run ci using coverage

* add coverage upload

* add new job skeleton to CI

* upload to PyPI when publishing new release/prerelease

* update readme

* 0.0.7-Alpha (#16)

* add FRED urls to python docstrings

* update readme

* bump lib

* fix issue #15 by enforcing API length

* check alnum

* update tests

* reformat file

* rename top level packagename to fred

* bump lib (#17)

* Add support for XML `file_type` (#18)

* add XML support, and associated test

* bump lib version to v0.1.1

* move cli library

* cli WIP

* general idea of FRED cli, WIP

* variadic api arguments and kwargs generator, import cleanups

* re-organize internal util module

* full CLI project skeleton with some working examples

* json dump string in sources CLI

* restructure tests module

* adding dummy test case for codecov

* adding dummy test case for codecov

* reformat file

* update ci to run coverage with src

* add test for generate_api_kwargs cli utility

* Added JSON CLI commands for each command

* update tests module to use installed fred library

* update local requirements

* update cli code slightly

* update pyproject.toml to include new deps and script entrypoints

* update README to include CLI

* update github ci workflow to include editable install

* Fixed many issues in code review, still need 4 utility functions, few changes needed

* update a few args, docstrings, and file format

* Adding basic testing structure for sources cli

* wip series test cases

* refactor fred cli entry point

* refactor common test case logic

* refactor and fix existing api tests

* fix api key mock for cli tests

* update ci workflow

* slight refactor to base fred client test setup

* allow for more testing constraints in base framework

* wip series cli tests

* omit test

* add all basic tests for releases namespace

* add missing test to releases namespace

* finish up all basic tests for series cli

* add support for XML output in CLI

* Added CLI test cases for sources, tags, categories

* reformat files

* fix up some broken tests

* add new test for CLI entry point

* optimize imports

* update codecoverage omit files, and CI

* fix CI

* ignore unnecessary files in codecov

* update pyproject.toml description

Co-authored-by: Zachary Spar <zachspar@gmail.com>
Co-authored-by: Zachary Spar <41600414+zachspar@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.0.7-Alpha documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enforce length of API key
2 participants