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

Uploaded Source

Built Distributions

pythondata_misc_tapcfg-0.0.post464-py3.9.egg (312.9 kB view details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

pythondata_misc_tapcfg-0.0.post464-py3.6.egg (313.5 kB view details)

Uploaded Source

pythondata_misc_tapcfg-0.0.post464-py2.7.egg (322.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-misc-tapcfg-0.0.post464.tar.gz
  • Upload date:
  • Size: 184.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/2.7.18

File hashes

Hashes for pythondata-misc-tapcfg-0.0.post464.tar.gz
Algorithm Hash digest
SHA256 5411051b42a7d78454dbfb8da032613757c75ce1ddd48888b522a4c2bd5f8d6d
MD5 6072f952dab09897bbf935f06b4fde53
BLAKE2b-256 b079e18e275c9da8eb1343381a0d9a073979955391a1a6a8ce1b13a7752e3799

See more details on using hashes here.

File details

Details for the file pythondata_misc_tapcfg-0.0.post464-py3.9.egg.

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post464-py3.9.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.9.1

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post464-py3.9.egg
Algorithm Hash digest
SHA256 5a6a3d43c7c017c0c01990e6284c740992648ed4e68626d5fcfe9122216cb0ff
MD5 8d4db86b8d8fdc47a198ab7e1df203f5
BLAKE2b-256 605c6f57e150c0773323e59a43542f91f9ff53324586222b9988e1ef817e1c27

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post464-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.post464-py3.8.egg
Algorithm Hash digest
SHA256 feb8876505e5f9b9b22723a35d9b06f3c9029eba460a228da66b98f487301f64
MD5 f54c0b8914516a472cbc989fd37e04b1
BLAKE2b-256 6d0dc13394e826847f5b70432cc4e7828145d65317609cb1ee1dae89bba0ed0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post464-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.9

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post464-py3.7.egg
Algorithm Hash digest
SHA256 0a7a30ec7eb54636d2e86e2f5349bd3ae4711785c0a632dd5f6ed4ca811ac45f
MD5 8ef4b2cd9f33ec3f3d4d8fd67e0baa7b
BLAKE2b-256 4ed903eb8f35e685e6a9fca1ab08197e3cf5fbf99b49ba65ee82bb062d5a6df7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post464-py3.6.egg
  • Upload date:
  • Size: 313.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 PyPy/7.3.3

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post464-py3.6.egg
Algorithm Hash digest
SHA256 13ba7a9d5153e71917286dfc2bae54179a8c65786cacb98f36329551e8be6cef
MD5 326b109ef48bc069e32269c630da8f71
BLAKE2b-256 1e92e71545c1358d65620150236f017c0110ca6761d5e08a58546bd044947a39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post464-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.8.7

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post464-py3-none-any.whl
Algorithm Hash digest
SHA256 a10eb9e409c28d8625282d2c8aad00e84e7ab312fc4504ab438c516c28e09cc0
MD5 12832c8d375c860fa15fc3e01ff9a1e4
BLAKE2b-256 adce0d1e71856b7f45cc9795c84742fa7a1fe37665ea1dcf157bc218884c7137

See more details on using hashes here.

File details

Details for the file pythondata_misc_tapcfg-0.0.post464-py2.7.egg.

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post464-py2.7.egg
  • Upload date:
  • Size: 322.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/2.7.18

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post464-py2.7.egg
Algorithm Hash digest
SHA256 5694e83737630f88a8afdbbb44668a0d8497af0da62bf47886ecc0f4da1c00c8
MD5 73a212e4ba95bfb20710614d7afad166
BLAKE2b-256 88793d62ed6ec66f5fa2d9ecdbefbd6036acdf42c923e27e532e0a09b10fa3c1

See more details on using hashes here.

File details

Details for the file pythondata_misc_tapcfg-0.0.post464-py2-none-any.whl.

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post464-py2-none-any.whl
  • Upload date:
  • Size: 295.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/2.7.18

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post464-py2-none-any.whl
Algorithm Hash digest
SHA256 b8774fa3925f56384bb46a49c2163ae8ea4acdf6903ed0b2c0ce816b1b9fa3c6
MD5 8fe1b996f5095c3cd76261efc73c292d
BLAKE2b-256 059e70dcf337a7f80167de8bdc064a7e58087bea96a5c114ee46be2bf4ee693a

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