Skip to content

Conversation

@rdhyee
Copy link

@rdhyee rdhyee commented Jun 23, 2023

Some goals of this PR:

  • to provide an pip-installable Python client for the EZID API (v2)
  • to write code that is build upon the prior work of CDLUC3 in the hopes that CDL will maintain this rewrite of the client

The main work in this PR is copying https://github.com/CDLUC3/ezid/blob/main/tools/client.py to this repository and then rewriting client.py to have both a Client class (that can easily be called from other Python code) and a ConsoleClient class that preserves the original command line functionality of ezid.py. Client is a light reworking of the command line syntax.

rdhyee added 25 commits May 9, 2023 09:37
… main() and invoke main only for commandline operations (not imports)
separate out the parser generator into a separate method and allow for a default args for Client
@rdhyee is new to GitHub actions -- so this PR is an attempt to get this configured to run tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant