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 http://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.post154.tar.gz (35.3 kB view details)

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

pythondata_cpu_minerva-0.0.post154-py3.5.egg (112.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-minerva-0.0.post154.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.post154.tar.gz
Algorithm Hash digest
SHA256 2052ced21a83e00a9b810d2bddc3ae5f25ba0b77c006ca9ac6fb53d647e8c25a
MD5 a5fed2dffa9f4d9b4eeb80282de897dd
BLAKE2b-256 e624ae092c1d45b090081e3d31b537de1a98b9eb197627ccae94189c186ee4d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post154-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.post154-py3.8.egg
Algorithm Hash digest
SHA256 70ffe05cac3f45971d5f1ae9f5ec83ebbbe4250ff4a0ad4d0e6e8be3b79facf2
MD5 2a8bd344255273edba5ad8130b2f8422
BLAKE2b-256 985a47f217e1529f5e726467c38129b0d2950f911d7451ef2a61640d56ca040f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post154-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.post154-py3.7.egg
Algorithm Hash digest
SHA256 3fa77dddd3910c0f38900383f390c23d0b74bb294aebe7b16ac423ea3d982ae2
MD5 805220ce7b12e472d6e4bcfd056ab6fb
BLAKE2b-256 411139f01cff7658fc7891377104756bb3a5d9abff19e78152742d15cd148adf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post154-py3.6.egg
  • Upload date:
  • Size: 110.6 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.post154-py3.6.egg
Algorithm Hash digest
SHA256 ed77a3d341086096b49004a83b9873e274e22d1573a9af03e50c4e9e9c4cde8d
MD5 3102b4a51514dbac5eab783cb964cb08
BLAKE2b-256 a01d634bdc384416338bb41b59456da788e9e248bdf64840b370d4875f5223c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post154-py3.5.egg
  • Upload date:
  • Size: 112.8 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.post154-py3.5.egg
Algorithm Hash digest
SHA256 7067922730857e956f0cc6dbca42c788e88505ff69305b3fa845a258630b14b1
MD5 c596baf09f85273c79b79718e12ed8a7
BLAKE2b-256 1ee706ed9df86c647ea40af8b7d3a263e49979df53cd927ef39f976da03810eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_minerva-0.0.post154-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.post154-py3-none-any.whl
Algorithm Hash digest
SHA256 5aa2daa9ae965a1a553b99351a1d0f5814d443bb3d945c3b0e1ac279053f6902
MD5 23bff31190a5d5486414386ad13ab4d3
BLAKE2b-256 f0db8abdd4fc35e555a5b0bb8a9de696086fcc366b2069ce52959ec85bbaac3e

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