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.post171.tar.gz (35.4 kB view details)

Uploaded Source

Built Distributions

pythondata_cpu_minerva-0.0.post171-py3.10.egg (113.8 kB view details)

Uploaded Source

pythondata_cpu_minerva-0.0.post171-py3.8.egg (110.9 kB view details)

Uploaded Source

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

Uploaded Source

pythondata_cpu_minerva-0.0.post171-py3.6.egg (110.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-minerva-0.0.post171.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • 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.0 CPython/3.6.7

File hashes

Hashes for pythondata-cpu-minerva-0.0.post171.tar.gz
Algorithm Hash digest
SHA256 904ec9a8382912160ebee1c4bab9e814a4f695525fe03f2b52be8fd1f3e55679
MD5 6f426e1b1835bf433c58a3b533f225d0
BLAKE2b-256 38cc340c31d4ca88f932d292e8e0f923e6a7f3f54eea0efd0e57e76b2b204653

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post171-py3.10.egg
  • Upload date:
  • Size: 113.8 kB
  • 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.0 CPython/3.10.0a5+

File hashes

Hashes for pythondata_cpu_minerva-0.0.post171-py3.10.egg
Algorithm Hash digest
SHA256 d61104bb7690f8b124aa592582f3d397978b075f7162f2dbd97bc00aa9a7bbd4
MD5 a31b93d9120717d738f375cce196ff22
BLAKE2b-256 f4fdadb86caa83b74331203c11f0782571b8e716dc733a2fcf360bbce184cab9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post171-py3.8.egg
  • Upload date:
  • Size: 110.9 kB
  • 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.0 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_minerva-0.0.post171-py3.8.egg
Algorithm Hash digest
SHA256 397ae6549bb41d6aef045911dbce3b09e9aa7c6f6a35f5782e8f23b1e3ab48bf
MD5 d60a5156df38896fa9894e08c379df17
BLAKE2b-256 3f977e275daa3044049fdef32fcf949ec5b23b10266bee565fbf8218c3d9225f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post171-py3.7.egg
  • Upload date:
  • Size: 110.4 kB
  • 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.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_minerva-0.0.post171-py3.7.egg
Algorithm Hash digest
SHA256 49e460a0e561e10e4364a23c66a9f2f3eefd4c5c063c9a14199f6c614eb6c6f0
MD5 80131f34a31beeac10d5e3d078e14a4c
BLAKE2b-256 1236bdd42b2b05596e82ef1d095228d4ae8380fa9e0e156b2a78335a9c4fcf3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post171-py3.6.egg
  • Upload date:
  • Size: 110.6 kB
  • 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.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_minerva-0.0.post171-py3.6.egg
Algorithm Hash digest
SHA256 f2372840284ebb9f358b10f5b5d2997119295e6eaf0b375ae8a517732d657d41
MD5 49694c72d9b8de60084c02caa224c44f
BLAKE2b-256 d8bc0f729acfc39df6820952c4c79e1dd07fdf23be7c44cf90a234c2c492f8d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post171-py3-none-any.whl
  • Upload date:
  • Size: 49.8 kB
  • 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.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_minerva-0.0.post171-py3-none-any.whl
Algorithm Hash digest
SHA256 c50fbf0b8acfc9e43eefc9ff7d3225a4e234ef4b412fa6373645363f5e46f60f
MD5 fcb6d6f1a9688f2a9b9f40d3a98abb05
BLAKE2b-256 94c588ce428f15e4b84501a4582d2d249209e88355d37c8cb21cf3ab1faaa26d

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