-
Notifications
You must be signed in to change notification settings - Fork 4
Update Python setup #103
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
Update Python setup #103
Conversation
- Use `uv` instead of `poetry` - Reorganize directory - Setup test framework, `pytest`, and create initial unit test - Use `marimo` instead of `jupyter` for interactive notebooks - Convert jupyter notebooks to `marimo` notebook format and cleanup - Update `README.md`
46a2b93 to
ee0ffd0
Compare
ee0ffd0 to
3acf9d5
Compare
Theodus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Mostly just works on my machine, with one exception.
|
Also, we should either include a uv.lock file or set it in the .gitignore |
7d2b350 to
fa1d864
Compare
- Cast amount0 to decimal before applying math functions - Remove empty marimo cells - Add uv.lock to .gitignore
fa1d864 to
543dbd2
Compare
Theodus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Works on my computer.
Overview
The Python environment for using and developing the Python client library has proven tricky for me to setup on my machine, so I've restructured the project and used a different set of tools for managing the environment and running interactive notebooks. Setup is fast and consistent on my machine now that I've moved to this new setup using
uv.Changes
uvinstead ofpoetrypytest, and create initial unit testmarimoinstead ofjupyterfor interactive notebooksjupyternotebooks tomarimonotebook format and cleanuprufffor formatting and linting (no automation or git hooks yet)altairfor chartingREADME.md