Skip to main content

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 planar is taken by an unrelated package, hence planarjl-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

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.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for planarjl-py 1.8.5
File Size Uploaded Provenance
planarjl_py-1.8.5.tar.gz 6.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for planarjl-py 1.8.5
File Interpreter ABI Platform
planarjl_py-1.8.5-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

Release files / planarjl_py-1.8.5.tar.gz

Download URL planarjl_py-1.8.5.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7474460427f7d8773e73dc923db805535786936783146d419794a3e258304328
BLAKE2b-256 checksum
How to use checksums
1df220e99267a6be049321ffee05df18979b076fefe436cc2c056152bff0f492
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 26, 2026.

Transparency log

Release files / planarjl_py-1.8.5-py3-none-any.whl

Download URL planarjl_py-1.8.5-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
062a61d34c5badd7299e71be9e8781f7b87afd1d76f3334d197d643088ca150e
BLAKE2b-256 checksum
How to use checksums
7381c04ad49a854f05b5586dcd017e69ded94e69b7dca6f30444d44a83322814
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 26, 2026.

Transparency log

Security for planarjl-py 1.8.5

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.

Select from 2 files

Attestation for planarjl_py-1.8.5.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 26, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page