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.post5101.tar.gz (21.9 MB view details)

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: pythondata-misc-opentitan-0.0.post5101.tar.gz
  • Upload date:
  • Size: 21.9 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.57.0 CPython/3.8.7

File hashes

Hashes for pythondata-misc-opentitan-0.0.post5101.tar.gz
Algorithm Hash digest
SHA256 61f2948486614bf97307ff5655e8659b729789681681389b90b10262a2251ee3
MD5 a61f48ecb617ff987a93d3d0b583758b
BLAKE2b-256 c0b57e85e25f7965dfe5726ba41037dd871727697a5baa800e04c5f6de1a04c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post5101-py3.9.egg
  • Upload date:
  • Size: 25.7 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.57.0 CPython/3.9.1

File hashes

Hashes for pythondata_misc_opentitan-0.0.post5101-py3.9.egg
Algorithm Hash digest
SHA256 078a6880084d95ee6af68938b9885be5d658aeff078d0e981aa1bd4958138b9d
MD5 9459ebf4c1bf51937c6eff96ad289cee
BLAKE2b-256 cf99199ad715d7d9c9711171a2a1909cc9e3668dfde8cfa20eb0ea05b2864b50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post5101-py3.8.egg
  • Upload date:
  • Size: 25.7 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.57.0 CPython/3.8.7

File hashes

Hashes for pythondata_misc_opentitan-0.0.post5101-py3.8.egg
Algorithm Hash digest
SHA256 04b5d7d6107e97347a3f8e0ab66fd47ce7e6b1f88a6f4ef5c2c9aab03a06ed27
MD5 ddfda8e9220ce775e9bcf42e927f48c0
BLAKE2b-256 dfb9b698028a96cf3ad4cfe88ded4d2d6928f87c7eb1c7dfc8f828ac942734ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post5101-py3.7.egg
  • Upload date:
  • Size: 25.7 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.57.0 CPython/3.7.9

File hashes

Hashes for pythondata_misc_opentitan-0.0.post5101-py3.7.egg
Algorithm Hash digest
SHA256 01de76b5a209f4ba8cc1af5d64506e3d6455b3237593b90f5fae1cb2892ec9f5
MD5 d0a91097344f78aa5a7fe90a39e80461
BLAKE2b-256 87ec73a64379cc6d11e3988455e6efb13b00bd89733e63e1db11be7b6328c7ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post5101-py3.6.egg
  • Upload date:
  • Size: 25.7 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.57.0 CPython/3.6.12

File hashes

Hashes for pythondata_misc_opentitan-0.0.post5101-py3.6.egg
Algorithm Hash digest
SHA256 5947c51655d6b52fb7f0a4edf535cd99dc583f2add80a6f544362e3186167a4e
MD5 e91f5f279ff4780f95ede30cf27724f6
BLAKE2b-256 209e326df6c8a48ad0f997cebb727ba79dd8298893feef5d44c6a11f53568db7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post5101-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.57.0 CPython/3.8.7

File hashes

Hashes for pythondata_misc_opentitan-0.0.post5101-py3-none-any.whl
Algorithm Hash digest
SHA256 fcd7890035e1e01dc6f5fe0555e1556409f600c57c7c30e9a87d85058fc3aba6
MD5 67f70e37bf80469ff0cc2d8e098a1d7e
BLAKE2b-256 d793d257e0e66cd1c0367604846bb44dc2583f8db7f92a660ee5e580af3ccb92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post5101-py2.7.egg
  • Upload date:
  • Size: 25.4 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.57.0 CPython/2.7.18

File hashes

Hashes for pythondata_misc_opentitan-0.0.post5101-py2.7.egg
Algorithm Hash digest
SHA256 642415f23b6bdeef201f0232d18797b89cc2099ce5ca0bd2882a663bab264709
MD5 de344b36dfdc4b10c6a5139ab587c0ed
BLAKE2b-256 e4418418c0d36b627c538c13a47ede7386945e6c3fb6f218afc54546ae90aac0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post5101-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.57.0 CPython/2.7.18

File hashes

Hashes for pythondata_misc_opentitan-0.0.post5101-py2-none-any.whl
Algorithm Hash digest
SHA256 0ee08a377eedfa67d81502147387fa238c669ccc2b6feec3072e77f0b025a338
MD5 7025b38860a99f534397acb9821c0e7c
BLAKE2b-256 3f0e5c2b9c3500ae6c5fd385e16428960b99f168ee348b642215d27d261bd291

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