Skip to main content

Python module containing resources files for OpenTitan misc.

Project description

pythondata-misc-opentitan

Non-Python files needed for the misc opentitan packaged into a Python module so they can be used with Python libraries and tools.

This is useful for usage with tools like LiteX.

The data files can be found under the Python module pythondata_misc_opentitan. The pythondata_misc_opentitan.data_location value can be used to find the files on the file system.

Example of getting the data file directly;

import pythondata_misc_opentitan

my_data_file = "abc.txt"

with open(os.path.join(pythondata_misc_opentitan.data_location, my_data_file)) as f:
    print(f.read())

Example of getting the data file using litex.data.find API;

from pythondata_misc_opentitan import data_file

my_data_file = "abc.txt"

with open(data_file(my_data_file)) as f:
    print(f.read())

The data files come from https://github.com/lowRISC/opentitan and are imported using git subtrees to the directory pythondata_misc_opentitan/resources.

Installing from git repository

Manually

You can install the package manually, however this is not recommended.

git clone https://github.com/litex-hub/pythondata-misc-opentitan.git
cd pythondata-misc-opentitan
sudo python setup.py install

Using pip with git repository

You can use pip to install the data package directly from github using;

pip install --user git+https://github.com/litex-hub/pythondata-misc-opentitan.git

If you want to install for the whole system rather than just the current user, you need to remove the --user argument and run as sudo like so;

sudo pip install git+https://github.com/litex-hub/pythondata-misc-opentitan.git

You can install a specific revision of the repository using;

pip install --user git+https://github.com/litex-hub/pythondata-misc-opentitan.git@<tag>
pip install --user git+https://github.com/litex-hub/pythondata-misc-opentitan.git@<branch>
pip install --user git+https://github.com/litex-hub/pythondata-misc-opentitan.git@<hash>

With requirements.txt file

Add to your Python requirements.txt file using;

-e git+https://github.com/litex-hub/pythondata-misc-opentitan.git

To use a specific revision of the repository, use the following;

-e https://github.com/litex-hub/pythondata-misc-opentitan.git@<hash>

Installing from PyPi

Using pip

pip install --user pythondata-misc-opentitan

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

pythondata-misc-opentitan-0.0.post4996.tar.gz (21.8 MB view details)

Uploaded Source

Built Distributions

File details

Details for the file pythondata-misc-opentitan-0.0.post4996.tar.gz.

File metadata

  • Download URL: pythondata-misc-opentitan-0.0.post4996.tar.gz
  • Upload date:
  • Size: 21.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/2.7.18

File hashes

Hashes for pythondata-misc-opentitan-0.0.post4996.tar.gz
Algorithm Hash digest
SHA256 e848b37481cd091100c8ee09d06a4ce5a6c0d39bf76493209789ff3a6787e8a5
MD5 48e96320856e9edfcb42fe57369f00f0
BLAKE2b-256 115a874de575aa2808dcca01e26828d370e4c47ccb1ee3cc1f60c852e807781f

See more details on using hashes here.

File details

Details for the file pythondata_misc_opentitan-0.0.post4996-py3.9.egg.

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4996-py3.9.egg
  • Upload date:
  • Size: 25.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for pythondata_misc_opentitan-0.0.post4996-py3.9.egg
Algorithm Hash digest
SHA256 446cdac9d002bc8a8801b5ce9c81e048ab5661c372c9c546623511fc731e64f7
MD5 80562d756a4cb33e861908796688d991
BLAKE2b-256 d53c954558a9c87641cc68c152ab107e05c5de3d60b1e2b5bfaac8f15faaf081

See more details on using hashes here.

File details

Details for the file pythondata_misc_opentitan-0.0.post4996-py3.8.egg.

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4996-py3.8.egg
  • Upload date:
  • Size: 25.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7

File hashes

Hashes for pythondata_misc_opentitan-0.0.post4996-py3.8.egg
Algorithm Hash digest
SHA256 dadc0fabbb348b6551fac23334ff0f67c89fce6217c9b90c2d161adf8c1f2c33
MD5 b1aa54c4a08eda106a274c26d831df47
BLAKE2b-256 b398da8d0ed8359e46702196b767d19e72457bd66e2d8012559615981fbbbce4

See more details on using hashes here.

File details

Details for the file pythondata_misc_opentitan-0.0.post4996-py3.7.egg.

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4996-py3.7.egg
  • Upload date:
  • Size: 25.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.7.9

File hashes

Hashes for pythondata_misc_opentitan-0.0.post4996-py3.7.egg
Algorithm Hash digest
SHA256 9fd7ecfb81340a3e24566212a985855a76bd9d7df3fb21abbbe77c16625b09c2
MD5 d6f563dd16542ffa3f423de7daf293d9
BLAKE2b-256 c8c54d00c9963a54a1c096c95e0611e9b2356b0d8e58db8b49fcccc2d8f6e06e

See more details on using hashes here.

File details

Details for the file pythondata_misc_opentitan-0.0.post4996-py3.6.egg.

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4996-py3.6.egg
  • Upload date:
  • Size: 25.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.12

File hashes

Hashes for pythondata_misc_opentitan-0.0.post4996-py3.6.egg
Algorithm Hash digest
SHA256 8b630acba27a4783f569830446d200bf394fa8dd9bec8b2de5153b23bba3b48a
MD5 569f8ecff548dafad47a47c8aa0f8155
BLAKE2b-256 0e44a424c5e2fd3114896865dbdbb9eea61c022ed256d61bd958eff98080f3ea

See more details on using hashes here.

File details

Details for the file pythondata_misc_opentitan-0.0.post4996-py3-none-any.whl.

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4996-py3-none-any.whl
  • Upload date:
  • Size: 24.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.12

File hashes

Hashes for pythondata_misc_opentitan-0.0.post4996-py3-none-any.whl
Algorithm Hash digest
SHA256 e4ed0cb857ff7863e52d93408699e0a383a821e1221b01f15cbaee4de0847a33
MD5 32bb4709ed51db9ce59440767c081e42
BLAKE2b-256 e1f4c0682226ec6842a4b89a7996cbcb4495710e5a5b954682aae3804a03929d

See more details on using hashes here.

File details

Details for the file pythondata_misc_opentitan-0.0.post4996-py2.7.egg.

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4996-py2.7.egg
  • Upload date:
  • Size: 25.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/2.7.18

File hashes

Hashes for pythondata_misc_opentitan-0.0.post4996-py2.7.egg
Algorithm Hash digest
SHA256 42a0fd6f76a7bc7ad4a9f27dd4dab4b0fd16361053527bfe82ff8dd638b464fb
MD5 e976bacda37bb4ab669bfde28a90fc77
BLAKE2b-256 7dfd3ea0ca7701a4fe705053a6cd865c7de3e7b7d2d4a6f8c6f8a5628de1b8e2

See more details on using hashes here.

File details

Details for the file pythondata_misc_opentitan-0.0.post4996-py2-none-any.whl.

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4996-py2-none-any.whl
  • Upload date:
  • Size: 24.9 MB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/2.7.18

File hashes

Hashes for pythondata_misc_opentitan-0.0.post4996-py2-none-any.whl
Algorithm Hash digest
SHA256 4c0b94cd3bcaf05c524f222262cd57ca58a90f6fa577068a266f9c87c0cff126
MD5 fe3b3814e627436caf3d5576cda73521
BLAKE2b-256 31ff5d3a1c20a5c66f4e6b5ba30195182d3d093e047be24205234b4aa4c68bc0

See more details on using hashes here.

Supported by

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