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.5.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.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylitex-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 5111447b0bd7f9a21b0a6b721ab9cd88b576f1c6bd277864c983414824eb13f5
MD5 1a8349f030ec26a3c3a2e547dd97a4f2
BLAKE2b-256 b5166bbdbffb99a4bf6fbc2e4e346610c5e371ba1be121ed082d892226737582

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylitex-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 70222dbe2cfd23502a5327f75f1de635ce5c77768bd4328055ffc2d7f2142452
MD5 6902fe7f7da88ae3b52e1cfed633738b
BLAKE2b-256 95bfa52ee9c092ac16ea605217252054a6a4a9aaf32995e9c724c429ff57c9c5

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