Skip to main content

Python api for Litex core

Project description

Python api for Litex core

This is a Python api library for Litex core, which aims to help Python users to interact with Litex core.

installation

This reuqires Litex core and Python3, you could install Litex core follow the Installation.

After Litex core installation, you could install litex for your python environment:

# change your Python env to which your are using
# then run following commands
pip install pylitex

To use it:

import pylitex

# run full code
result = pylitex.run("code...")

# run full codes with multi-threads/multi-process
results = pylitex.run_batch(["code1...", "code2..."], 2)

# run continuous codes in same litex env
litex_runner = pylitex.Runner()
result1 = litex_runner.run("code1...")
result2 = litex_runner.run("code2...")
litex_runner.close()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylitex-0.1.6.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylitex-0.1.6-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file pylitex-0.1.6.tar.gz.

File metadata

  • Download URL: pylitex-0.1.6.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pylitex-0.1.6.tar.gz
Algorithm Hash digest
SHA256 66ab40e97cc3ff705228cfd414d1426be634587e0b6af73fa8fedbbb89a91036
MD5 52f1ffcb5235988f78b647e5aa50ca6d
BLAKE2b-256 2bbe81fcecd58c0bf23a6e2a49aae493cdedb151b32bc2650b3a980f55997615

See more details on using hashes here.

File details

Details for the file pylitex-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: pylitex-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pylitex-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 65d00a5325f0fc525b0019c2a56e98cb47ef043a44346df84b0710d0a5a377d2
MD5 c1b22bd647353e9ffbe8848cdf13460c
BLAKE2b-256 78527a43ef9c2409cf1c181e438339c5fb2f691133ac13af400aacfdedbd255a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page