Skip to main content

How to use

from solver import Solver, SolverType
from pldag import PLDAG

# Setup solver api
solver = Solver(url="http://localhost:9000")

# Setup a pldag model
model = PLDAG()
primitives = ["x", "y", "z"]
root = model.set_and(model.set_primitives(primitives))
solutions = solver.solve(model, [{}], {root: 0j}, SolverType.DEFAULT)

Release files for pldag-solver-sdk 0.2.2

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

Source distribution (sdist)

Source distribution for pldag-solver-sdk 0.2.2
File Size Uploaded
pldag_solver_sdk-0.2.2.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pldag-solver-sdk 0.2.2
File Interpreter ABI Platform
pldag_solver_sdk-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.5 kB

Release files / pldag_solver_sdk-0.2.2.tar.gz

Download URL pldag_solver_sdk-0.2.2.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c3b4661b6d555187ef9622309f39b4ae1f3d57397fb7702f3e3651c6a4fa2e32
BLAKE2b-256 checksum
How to use checksums
3c0cd1683fc4b450faebcbb424336bdc1692920bc9cf5b1aa4b8e67191730acc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.10.15 Darwin/23.1.0

Release files / pldag_solver_sdk-0.2.2-py3-none-any.whl

Download URL pldag_solver_sdk-0.2.2-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41a4c22ad04a056ccffcd6c2c7c2d64d514d8eb4635ccec8570d67f9a0c10d9d
BLAKE2b-256 checksum
How to use checksums
681861f7a107a262645e2736fc794741dd92a532313edf7592cfa428d0a27087
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.10.15 Darwin/23.1.0

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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