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

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.7
File Size Uploaded Provenance
planarjl_py-1.8.7.tar.gz 6.4 kB With provenance Details

Built distribution (wheel)

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

Total release size: 13.6 kB

Release files / planarjl_py-1.8.7.tar.gz

Download URL planarjl_py-1.8.7.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a8a93a891f2b69700e5207a89eccf3a38d6b39e6f23c843d5a7d35db51231d33
BLAKE2b-256 checksum
How to use checksums
d938a91b8e0f4023bb5190457c6ce008be8a06d52f457938bd178c010523dd0a
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 log

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

Download URL planarjl_py-1.8.7-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
200e78f357019b89ef17fc4b99de0365ac437ae69d4e743b6f02e686129f78a5
BLAKE2b-256 checksum
How to use checksums
dc36f981d3c4f763d669b7f2d467eb2a24e5895bf0da5c802b20fa054e4bb98d
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 log

Security for planarjl-py 1.8.7

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