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

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: pythondata-misc-opentitan-0.0.post4999.tar.gz
  • Upload date:
  • Size: 21.8 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.post4999.tar.gz
Algorithm Hash digest
SHA256 02c5c58a5130c6498d4e850989b2cbcf3c0194c49cefa514ee4d7eb070fc7d04
MD5 0ff44b5b7e612a6c8a43f2bde5d1d7f0
BLAKE2b-256 19efc8fabe0781f5e9af18c227368d9fb350ec59581ed74a846cbe67dc1d7170

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4999-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.post4999-py3.9.egg
Algorithm Hash digest
SHA256 4d6d2d14b5bbacb2a52778bb6a3d61b71edbf3bb46ac4cbc6c669c41093820c2
MD5 559ded0c189000ed9972fa272777f661
BLAKE2b-256 4a6e01f7e7b084b7a368cb2b82b8bb7b4476d40466be028a9286d0835e12a95c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4999-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.post4999-py3.8.egg
Algorithm Hash digest
SHA256 3f86fe71bc7b3fb6ad2a30370133ace223bdf17f7fb238d8b1e307581a0daa81
MD5 3135531ea8aa8bdec632b75e722bfa39
BLAKE2b-256 dd882572efc27ca0995f7427d33f7fc2805adc72ec6d69dfee5b7b3ddab5c85d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4999-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.post4999-py3.7.egg
Algorithm Hash digest
SHA256 86c9b17ebff9b8e470d277def346dfff0b18e231e7abd3708de4f64ca9e3c437
MD5 8153af663581eb34b5f0f8b2698a7001
BLAKE2b-256 b9a9cb3f0bef9cd4e9cf1afe834df1f0c524831cadd5ef232abf8878a978efa9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4999-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.post4999-py3.6.egg
Algorithm Hash digest
SHA256 442334e1fcfde1e11de80dedb8bc3062b2fcec7527f831353f8c566666678dff
MD5 0293ee2312378b040964c3f2a5e43b63
BLAKE2b-256 d03cba95f4589ddbdfe169a6ad382b221590b0e6a8b0d4dcf18dea7a0dc546a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4999-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.7.9

File hashes

Hashes for pythondata_misc_opentitan-0.0.post4999-py3-none-any.whl
Algorithm Hash digest
SHA256 2df60149b0a7910bf1d6b1bcdf280fa4ba7e578c438526e667bf06b153202c53
MD5 0d32d9f13b4e9a9075068c6dc8c54c1f
BLAKE2b-256 1b6d10f2563f7403240dcbfa6f7cfc4b015c4f922335c128cb8a2c6cdd7eac19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4999-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 PyPy/7.3.3

File hashes

Hashes for pythondata_misc_opentitan-0.0.post4999-py2.7.egg
Algorithm Hash digest
SHA256 55d87f9a48172a349eedcc3db8aa0eeef68bd8370d116a651ed99023eb395f8d
MD5 31915d2bed21764ed8e0b7b5889bf761
BLAKE2b-256 19ab017ab9760be565c875089870a52ba7a4eece64b66fbbe6db23f0ec3f24fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_opentitan-0.0.post4999-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.post4999-py2-none-any.whl
Algorithm Hash digest
SHA256 6fe73b1fe5aa1faeb751a20808366a0a60f4ece7364232b461da1474e9ae1b9c
MD5 f80f1e3e244719c99a8d482c48f52a07
BLAKE2b-256 7d21dbbb9dc74bc89b2f3caa2f27d8fcfd2bdfc93b67f75b735ce69286e6caf1

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