Skip to main content

Python module containing sources files for Minerva cpu.

Project description

pythondata-cpu-minerva

Non-Python files needed for the cpu minerva 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_cpu_minerva. The pythondata_cpu_minerva.data_location value can be used to find the files on the file system.

Example of getting the data file directly;

import pythondata_cpu_minerva

my_data_file = "abc.txt"

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

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

from pythondata_cpu_minerva 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/lambdaconcept/minerva and are imported using git subtrees to the directory pythondata_cpu_minerva/sources.

Installing from git repository

Manually

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

git clone https://github.com/litex-hub/pythondata-cpu-minerva.git
cd pythondata-cpu-minerva
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-cpu-minerva.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-cpu-minerva.git

You can install a specific revision of the repository using;

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

With requirements.txt file

Add to your Python requirements.txt file using;

-e git+https://github.com/litex-hub/pythondata-cpu-minerva.git

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

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

Installing from PyPi

Using pip

pip install --user pythondata-cpu-minerva

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

pythondata-cpu-minerva-0.0.post164.tar.gz (35.6 kB view details)

Uploaded Source

Built Distributions

pythondata_cpu_minerva-0.0.post164-py3.10.egg (112.7 kB view details)

Uploaded Source

pythondata_cpu_minerva-0.0.post164-py3.8.egg (110.8 kB view details)

Uploaded Source

pythondata_cpu_minerva-0.0.post164-py3.7.egg (110.4 kB view details)

Uploaded Source

pythondata_cpu_minerva-0.0.post164-py3.6.egg (110.5 kB view details)

Uploaded Source

pythondata_cpu_minerva-0.0.post164-py3.5.egg (112.7 kB view details)

Uploaded Source

File details

Details for the file pythondata-cpu-minerva-0.0.post164.tar.gz.

File metadata

  • Download URL: pythondata-cpu-minerva-0.0.post164.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata-cpu-minerva-0.0.post164.tar.gz
Algorithm Hash digest
SHA256 a153c2a7bcc87d24db0ec0f6e3b268bb10faf2dbbc8c4a25ebda835181331eab
MD5 39750323609f0755726a43f3224fc42e
BLAKE2b-256 3cde35bac640dc8305e446ab916bf9ea62dee1e4d278b7c453870b681b0d7ec7

See more details on using hashes here.

File details

Details for the file pythondata_cpu_minerva-0.0.post164-py3.10.egg.

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post164-py3.10.egg
  • Upload date:
  • Size: 112.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.10.0a2+

File hashes

Hashes for pythondata_cpu_minerva-0.0.post164-py3.10.egg
Algorithm Hash digest
SHA256 1f974adaa28d247c786dca61cf4017f1cdb03f09f53d4767cad69f334bb3c000
MD5 1b25c5363c05f3916686cf445da27bd5
BLAKE2b-256 752cf9e43f151676a1d38dd7b8292058e64fa2f4bf18de71dce19f3db2dd6920

See more details on using hashes here.

File details

Details for the file pythondata_cpu_minerva-0.0.post164-py3.8.egg.

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post164-py3.8.egg
  • Upload date:
  • Size: 110.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_minerva-0.0.post164-py3.8.egg
Algorithm Hash digest
SHA256 a8345f316d4f288fa4a54258fbbc4aa0675a711063ca37585ab0013773544d3f
MD5 7d167d4e67a50ff68599c5afebec19f1
BLAKE2b-256 8595834414a15770ac69888dffaa24d29524659c805455fddcc34ab03376bcf9

See more details on using hashes here.

File details

Details for the file pythondata_cpu_minerva-0.0.post164-py3.7.egg.

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post164-py3.7.egg
  • Upload date:
  • Size: 110.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_minerva-0.0.post164-py3.7.egg
Algorithm Hash digest
SHA256 22f29b24d074dc01175fc8c5a77f6217fadf5ff33720db3e5b63809147e02dc9
MD5 9264429d484b39b7395c1672488db8e0
BLAKE2b-256 7018b6f6933c120a0e05719af2b95a2cb4d38e3f606df8e50a7cfb7c31ef8995

See more details on using hashes here.

File details

Details for the file pythondata_cpu_minerva-0.0.post164-py3.6.egg.

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post164-py3.6.egg
  • Upload date:
  • Size: 110.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_minerva-0.0.post164-py3.6.egg
Algorithm Hash digest
SHA256 17a693f47eb1623d8b4515872e29acf18ea02da1090b3745fade11cbd8961337
MD5 ea238cfd41e368fa27ac660b6515cc72
BLAKE2b-256 afba7ad259ec740e9c7ec54b459c763b974ef08881e222fa2c9c4985fffd3ce0

See more details on using hashes here.

File details

Details for the file pythondata_cpu_minerva-0.0.post164-py3.5.egg.

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post164-py3.5.egg
  • Upload date:
  • Size: 112.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_minerva-0.0.post164-py3.5.egg
Algorithm Hash digest
SHA256 b8b2b02f01fdd13d6d572f3d80de5a65e2182cbc2fd79da4cf96d8f26ccc7d17
MD5 34b9b0933874461ef6c77db75a5a662b
BLAKE2b-256 e720015ce18701080bb474c321eba3ed792af76eaaea3480651a06d437507a23

See more details on using hashes here.

File details

Details for the file pythondata_cpu_minerva-0.0.post164-py3-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post164-py3-none-any.whl
  • Upload date:
  • Size: 49.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_minerva-0.0.post164-py3-none-any.whl
Algorithm Hash digest
SHA256 bcbfe33b928230bc2068c036ea49d0e1428b8c9736342ec15a6c6a4d585c39ff
MD5 e223de08a117464982a44019f235aeba
BLAKE2b-256 7528beafd50e12e2fa77752465e2f3a2630a2876b6efcd025b49434550066ef9

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