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

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

Built distribution (wheel)

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

Total release size: 13.6 kB

Release files / planarjl_py-1.8.4.tar.gz

Download URL planarjl_py-1.8.4.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a8b9c74f49f27b70a01298503552bf178262147ef4ab8bef182d506145159596
BLAKE2b-256 checksum
How to use checksums
85c2763dbf3da924ecde639c6f2d582e895e4f725df724dfe645be6da6f364aa
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.4-py3-none-any.whl

Download URL planarjl_py-1.8.4-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26e82e4de946ad4bcab18dc70078a9bc3406e6a981720dcf5c2d844d1f4218c9
BLAKE2b-256 checksum
How to use checksums
c72d5b39308c28a8a731131b8b2d78e7d577f57eba883b39b3f897be71e8db29
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.4

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