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

Uploaded Source

Built Distributions

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

Uploaded Source

pythondata_misc_tapcfg-0.0.post433-py3.7.egg (312.6 kB view details)

Uploaded Source

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

Uploaded Source

pythondata_misc_tapcfg-0.0.post433-py3.5.egg (313.4 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pythondata-misc-tapcfg-0.0.post433.tar.gz
Algorithm Hash digest
SHA256 3cb92c47a5ffb7bfefcd8ae773ff078e3b9bba704d6c15ff374886ce1083e698
MD5 05a7e367b66b9f4dec46404661f18284
BLAKE2b-256 0af38cff7fe0ed89118113491172a7535241829dea88808b7d1463a96141ea99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post433-py3.8.egg
  • Upload date:
  • Size: 312.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_misc_tapcfg-0.0.post433-py3.8.egg
Algorithm Hash digest
SHA256 638f30a51f8273538b43a6d385d836c2839c42370cd80a2a5c77679961e02061
MD5 075896d66bc2c95a34daca11760e2907
BLAKE2b-256 9180e1026da69529d413ded7daa1fe3781e15f8abd869d6ee17ea608e941c058

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post433-py3.7.egg
  • Upload date:
  • Size: 312.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.7.1

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post433-py3.7.egg
Algorithm Hash digest
SHA256 c1e28ded79df3a056f06baff24218febff5c53c5b21d6acadb39d30453c9477d
MD5 21d91976e0c0792c62fcabe24a62fa70
BLAKE2b-256 2a730b46b64482c0fad7540836d6d54059b7b0eb556481897b9e80e3efdf2d0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post433-py3.6.egg
  • Upload date:
  • Size: 312.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.6.7

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post433-py3.6.egg
Algorithm Hash digest
SHA256 d88eacbe49457bba9760fbc01d40462ea943fce19933f7f5526f79d3e5eb5341
MD5 2853e661a081b28825b24a48f48f259c
BLAKE2b-256 e828b71d4597c59f7d5f2f2732d685be98beec207ad7c6a28f4210b24abfdf05

See more details on using hashes here.

File details

Details for the file pythondata_misc_tapcfg-0.0.post433-py3.5.egg.

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post433-py3.5.egg
  • Upload date:
  • Size: 313.4 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_misc_tapcfg-0.0.post433-py3.5.egg
Algorithm Hash digest
SHA256 da34c553bb7e665f894eb045f40e1dc8d2dddbef6a633e884d257183d32e950b
MD5 e57b0636ba232162d10e12505e7593d9
BLAKE2b-256 8039a811dd5326506c27065e2f8c0ac27a0c89ea74eafbefe8d2c5641d232c64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post433-py3-none-any.whl
  • Upload date:
  • Size: 286.4 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_misc_tapcfg-0.0.post433-py3-none-any.whl
Algorithm Hash digest
SHA256 7e9fa0241430dd12126e6c3873ee6ed44bd2311143c75c4ba4821f056403c90b
MD5 dde20caef172d7dd28b860188660823b
BLAKE2b-256 707f0087b27e12e736b52fa7f2490f7be879e580b680902f8826e0e791d0eb66

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