planarjl-py
Python driver for the Planar trading framework. Planar is a Julia framework for building trading bots — backtesting, paper and live execution on 100+ exchanges through CCXT.
pip install planarjl-py gives you the planar command, which bootstraps a
Planar project and runs strategies from Python by driving the Julia engine.
The PyPI name
planaris taken by an unrelated package, henceplanarjl-py. Native strategy authoring in Python is the open milestone of issue #7; today strategies are written in Julia and executed through this CLI.
Requirements
- Julia ≥ 1.12 on
PATH(https://julialang.org/downloads/) - Python ≥ 3.10
Usage
pip install planarjl-py
# Bootstrap a project: adds the Planar registry, installs the Planar package,
# and creates the user/ layout (first run downloads packages).
planar init mybot
cd mybot
# Run a strategy in backtest (sim) mode
planar run MyStrategy --mode sim --exchange binanceusdm --sandbox
# Paper or live trading
planar run MyStrategy --mode paper
planar run MyStrategy --mode live
planar version
Strategies live in user/strategies/ and are registered in user/planar.toml:
[sources]
MyStrategy = "strategies/MyStrategy/Project.toml"
Create a strategy with the planar-provided template (see the Planar.jl docs on
strategy authoring), or copy any strategy from the
Planar.jl examples.
Development
cd planarjl-py
uv sync --extra dev # or: pip install -e .[dev]
pytest
uv build # build the sdist + wheel
Publishing
See PACKAGING.md at the repository root. CI publishes to TestPyPI on py-v*
tags and to PyPI on v* tags; the version is synced to the Planar Julia
release (same vX.Y.Z), and the workflow verifies the built wheel version
matches the tag. Auth is OIDC trusted publishing (PYPI_API_TOKEN /
TESTPYPI_API_TOKEN secrets are the token fallback):
git tag py-v1.8.0 && git push origin py-v1.8.0
Metadata
Release files for planarjl-py 1.8.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| planarjl_py-1.8.12.tar.gz | 6.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| planarjl_py-1.8.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / planarjl_py-1.8.12.tar.gz
| Download URL | planarjl_py-1.8.12.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3be3ac952fc4964115faf50c2ffa5f10a391e150bfbab0fa0a3b3467abf7f29c
|
|
BLAKE2b-256 checksum How to use checksums |
24319cb8c0c66511bdb6a4d88e691bcc1a640e75d2a20a5889b5b02bc0f3180d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.
Transparency logRelease files / planarjl_py-1.8.12-py3-none-any.whl
| Download URL | planarjl_py-1.8.12-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4830bbbdad5eef5729351470d9fc0ccbb1e72f46e5aff6b68d4731654bd1361a
|
|
BLAKE2b-256 checksum How to use checksums |
9d66fa85dc234568d0c925717a9a054aa9842819364805cd6e641db725b9f5fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.
Transparency logSecurity for planarjl-py 1.8.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for planarjl_py-1.8.12.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.