Skip to content

Conversation

@fordN
Copy link
Contributor

@fordN fordN commented Mar 29, 2025

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

  • 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
  • Use ruff for formatting and linting (no automation or git hooks yet)
  • Use altair for charting
  • Update README.md

fordN added 2 commits March 28, 2025 16:25
- 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`
@fordN fordN force-pushed the ford/python-client-setup branch from 46a2b93 to ee0ffd0 Compare March 29, 2025 00:27
@fordN fordN force-pushed the ford/python-client-setup branch from ee0ffd0 to 3acf9d5 Compare March 29, 2025 00:29
Copy link
Member

@Theodus Theodus left a 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.

@Theodus
Copy link
Member

Theodus commented Mar 29, 2025

Also, we should either include a uv.lock file or set it in the .gitignore

@fordN fordN self-assigned this Mar 31, 2025
@fordN fordN force-pushed the ford/python-client-setup branch from 7d2b350 to fa1d864 Compare March 31, 2025 18:56
- Cast amount0 to decimal before applying math functions
- Remove empty marimo cells
- Add uv.lock to .gitignore
@fordN fordN force-pushed the ford/python-client-setup branch from fa1d864 to 543dbd2 Compare March 31, 2025 18:58
@fordN fordN requested a review from Theodus March 31, 2025 18:58
Copy link
Member

@Theodus Theodus left a 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.

@fordN fordN merged commit 856cee4 into main Apr 1, 2025
7 checks passed
@fordN fordN deleted the ford/python-client-setup branch April 1, 2025 01:22
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.

4 participants