Skip to main content

Python module containing data files for Ethernet TAP Config misc.

Project description

pythondata-misc-tapcfg

Non-Python files needed for the misc tapcfg 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_tapcfg. The pythondata_misc_tapcfg.data_location value can be used to find the files on the file system.

Example of getting the data file directly;

import pythondata_misc_tapcfg

my_data_file = "abc.txt"

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

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

from pythondata_misc_tapcfg 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/enjoy-digital/tapcfg and are imported using git subtrees to the directory pythondata_misc_tapcfg/data.

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-tapcfg.git
cd pythondata-misc-tapcfg
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-tapcfg.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-tapcfg.git

You can install a specific revision of the repository using;

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

With requirements.txt file

Add to your Python requirements.txt file using;

-e git+https://github.com/litex-hub/pythondata-misc-tapcfg.git

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

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

Installing from PyPi

Using pip

pip install --user pythondata-misc-tapcfg

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-misc-tapcfg-0.0.post447.tar.gz (187.9 kB view details)

Uploaded Source

Built Distributions

pythondata_misc_tapcfg-0.0.post447-py3.10.egg (313.4 kB view details)

Uploaded Source

pythondata_misc_tapcfg-0.0.post447-py3.8.egg (312.9 kB view details)

Uploaded Source

pythondata_misc_tapcfg-0.0.post447-py3.7.egg (312.5 kB view details)

Uploaded Source

pythondata_misc_tapcfg-0.0.post447-py3.6.egg (312.5 kB view details)

Uploaded Source

File details

Details for the file pythondata-misc-tapcfg-0.0.post447.tar.gz.

File metadata

  • Download URL: pythondata-misc-tapcfg-0.0.post447.tar.gz
  • Upload date:
  • Size: 187.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.6.7

File hashes

Hashes for pythondata-misc-tapcfg-0.0.post447.tar.gz
Algorithm Hash digest
SHA256 a6914b8e70b72147287e37a49c135b771270f3bb84c4977ae2996b35f2d80b78
MD5 dd3112a022b7e01ce200bd96cc1ceed7
BLAKE2b-256 24df316580bdbe0ca9591aa1384d9db24aeae804df3f374afa9fa6e33c6e3463

See more details on using hashes here.

File details

Details for the file pythondata_misc_tapcfg-0.0.post447-py3.10.egg.

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post447-py3.10.egg
  • Upload date:
  • Size: 313.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.10.0a5+

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post447-py3.10.egg
Algorithm Hash digest
SHA256 ae240421a317a023ee471e7a6f72d538657e4c4f5c2c84f52263da0042a429b9
MD5 168bbb08e6f8f7bad1685e6b79581850
BLAKE2b-256 d9ebe50e9526b84434663e547ac3a7d605171bf17a525940e7c48f253539b85c

See more details on using hashes here.

File details

Details for the file pythondata_misc_tapcfg-0.0.post447-py3.8.egg.

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post447-py3.8.egg
  • Upload date:
  • Size: 312.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_misc_tapcfg-0.0.post447-py3.8.egg
Algorithm Hash digest
SHA256 0469ec28375c6f1048e86f5588984dfee4232c02d79263ccfce2fb73c09142d9
MD5 ea9cece8e9b2215812b52304d1779665
BLAKE2b-256 3c6a75551cfbd20f197fa5d9abe1dfc8bba5a34e458907a6ccf0f6cd77ab8db5

See more details on using hashes here.

File details

Details for the file pythondata_misc_tapcfg-0.0.post447-py3.7.egg.

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post447-py3.7.egg
  • Upload date:
  • Size: 312.5 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_misc_tapcfg-0.0.post447-py3.7.egg
Algorithm Hash digest
SHA256 882db0a6699f82b28dfbfac6dae4982e1da518c3d1bf0b6d6c6815266022a621
MD5 fe21b5eb0f90e5fee11bf0efc8b29990
BLAKE2b-256 8b42246b8b035b2cac7b6411f72db398bca870f783ef10188de92de829b3cbaf

See more details on using hashes here.

File details

Details for the file pythondata_misc_tapcfg-0.0.post447-py3.6.egg.

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post447-py3.6.egg
  • Upload date:
  • Size: 312.5 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_misc_tapcfg-0.0.post447-py3.6.egg
Algorithm Hash digest
SHA256 0e5d36efd146766de3b105af48d8b43b580983ba8f32e01ec7ba30d262525c49
MD5 f60e5793b09731b043e961f8e0d03700
BLAKE2b-256 323793f936a2a59f155bb8a8c0f07248c72227c5321067ac87d9641a4b631abd

See more details on using hashes here.

File details

Details for the file pythondata_misc_tapcfg-0.0.post447-py3-none-any.whl.

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post447-py3-none-any.whl
  • Upload date:
  • Size: 295.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_misc_tapcfg-0.0.post447-py3-none-any.whl
Algorithm Hash digest
SHA256 cf80d0b4d2898de4dee631b3b9e9ddcc8cc7da79b5c7915efb753c5664a57a3b
MD5 7705fd807d200f7b2b3192d70239ae5a
BLAKE2b-256 2b8a4a46a67d7fde16889437ab1afcb98006d0c01ce574fd4d1c7edbcd5c5857

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