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

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

Built distribution (wheel)

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

Total release size: 13.6 kB

Release files / planarjl_py-1.8.11.tar.gz

Download URL planarjl_py-1.8.11.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
372c03276e40131365b4025b4f78e2975205ebfe2630d41c7c0680c3035ca263
BLAKE2b-256 checksum
How to use checksums
fb259fa48f038873dc17e199a2b04285bb7a047064a9e04ca8f295fc41b3b8ec
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.11-py3-none-any.whl

Download URL planarjl_py-1.8.11-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cd7b95b60f9b3598d8b3af0ffe406fc9f86d3533d80f12710720d408152b8f1
BLAKE2b-256 checksum
How to use checksums
d24afd9d6b5a386ec5c183c4a00e6158ae4f8b5095da804ed0c734a06d6a908d
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.11

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