@platforma-open/milaboratories.software-ptabler
v1.13.5
Published
A Polars-based data processing library for table operations.
Downloads
3,508
Readme
Ptabler Software
A Polars-based data processing library for table operations.
Local Development Setup
Prerequisites
Install mise (universal runtime manager):
# macOS (using Homebrew) brew install mise # Follow mise installation guide for your OS: # https://mise.jdx.dev/getting-started.htmlConfigure mise in your shell profile:
# Add to ~/.zshrc, ~/.bashrc, or ~/.bash_profile eval "$(mise activate zsh)"
Running Tests Locally
Initialize Python environment:
pnpm run init-pythonThis will:
- Use Python of the required version via mise
- Create a virtual environment with the correct Python version
- Install all required dependencies
Run tests:
pnpm tTests will display coverage information upon successful completion.
Code Linting
To check code quality and style:
pnpm run lintTo automatically fix linting issues where possible:
pnpm run lint --fixUpdating Python Version
When updating the Python version, make sure to update both:
Block software configuration in
package.json:"environment": "@platforma-open/milaboratories.runenv-python-3:3.12.6"Local Python version in the
init-python:create-venvscript inpackage.json:"init-python:create-venv": "mise exec [email protected] -- python -m venv --clear .venv"
After updating, recreate the virtual environment:
pnpm run init-python