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

Uploaded Source

Built Distributions

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

Uploaded Source

pythondata_cpu_minerva-0.0.post156-py3.7.egg (110.5 kB view details)

Uploaded Source

pythondata_cpu_minerva-0.0.post156-py3.6.egg (110.7 kB view details)

Uploaded Source

pythondata_cpu_minerva-0.0.post156-py3.5.egg (112.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-minerva-0.0.post156.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata-cpu-minerva-0.0.post156.tar.gz
Algorithm Hash digest
SHA256 cdfdcfbfbd02d11b5fd182b27ab5ca656fc18308143c6afc55a23b4c35e99846
MD5 46ef6e4b3c42df2f3254530e57398540
BLAKE2b-256 c854520223c325356aab9e61ca655b92a3e55dc37075d94c635cc2c95260955d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post156-py3.8.egg
  • Upload date:
  • Size: 110.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_minerva-0.0.post156-py3.8.egg
Algorithm Hash digest
SHA256 df9991803a3b1e69470c0bbae4c89b38e0cd0fb40032f3b8f581367a2b667472
MD5 9fbad3b16d7bf89e914b07274f7167ac
BLAKE2b-256 ff542b514c82eeaf85a6dd19a1bd1bf5a65df65f387bf493b29f0f69157ac326

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post156-py3.7.egg
  • Upload date:
  • Size: 110.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_minerva-0.0.post156-py3.7.egg
Algorithm Hash digest
SHA256 276f8ad45d665bd8995a46e2a22be4911f1be477f2d7593a2f4c57393e897e27
MD5 11432fd3c6e1b5f22217d795f2762694
BLAKE2b-256 595b87577fa0b161346fe628286dd20fccd54f604342b67e23e092ef02b17ae4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post156-py3.6.egg
  • Upload date:
  • Size: 110.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_minerva-0.0.post156-py3.6.egg
Algorithm Hash digest
SHA256 12ac2fc776ee94b7906a98f85738ca163889b081010e65db9c012ac915942716
MD5 573424f62d382eab9b767fab30ebf19b
BLAKE2b-256 fb573f615ea6dd3750896030833e1d512fc1478b393754c5e8a8aff17bf667c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post156-py3.5.egg
  • Upload date:
  • Size: 112.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_minerva-0.0.post156-py3.5.egg
Algorithm Hash digest
SHA256 dbb4860b730e46c789a95c3ed4998bee6ce4cc2a35c2b1e2103b9ec36705cc98
MD5 f9268bae3ab92fb8652fc1de48bbc4f5
BLAKE2b-256 849c333ccb85c94ef9f33d11d6741c7a1efc55d908da92321e102dfc451c0ec8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post156-py3-none-any.whl
  • Upload date:
  • Size: 48.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_minerva-0.0.post156-py3-none-any.whl
Algorithm Hash digest
SHA256 eb65a5812aeb8596410a5b84a72330b9f9e3b22a7d36721988660e1cc5bc2f32
MD5 ee8b3cf41ff2a8e2981f306d2adfe573
BLAKE2b-256 65af8d15292e64a31a0cc1bdc6f1c3fbf0170322d4264aabaa25a6b26140eb3d

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