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

Light library CLI as extras #419

Closed
jules-ch opened this issue Feb 24, 2021 · 3 comments
Closed

Light library CLI as extras #419

jules-ch opened this issue Feb 24, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@jules-ch
Copy link

Thank you for developping this neat lib to bind XML to Data object. :)
When running this lib, I need CLI dependencies only for dev but not when running my webservice :

Code generation / CLI :

  • click
  • jinja2
  • docformatter
  • toposort

WSDL/SOAP:

  • requests

Maybe we can consider adding this as extras to have a light library for parsing & serializing. (only lxml as dependency)

@tefra
Copy link
Owner

tefra commented Feb 24, 2021

Sounds great!

@tefra tefra added the enhancement New feature or request label Feb 24, 2021
@tefra tefra closed this as completed in 3c193be Mar 6, 2021
@tefra
Copy link
Owner

tefra commented Mar 6, 2021

Thank you for the suggestion @jules-ch

Three extra requirements were added to make the cli, wsdl client and lxml for binding optional.

pip install git+https://github.com/tefra/xsdata@master#egg=xsdata[cli,lxml,soap]

@jules-ch
Copy link
Author

jules-ch commented Mar 6, 2021

Awesome !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants