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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

pythondata_misc_tapcfg-0.0.post461-py2.7.egg (321.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-misc-tapcfg-0.0.post461.tar.gz
  • Upload date:
  • Size: 184.8 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.12

File hashes

Hashes for pythondata-misc-tapcfg-0.0.post461.tar.gz
Algorithm Hash digest
SHA256 6c454036d202930ec3fdf49fe47dce6e61292bc391a0f12ff2f54fe2f24209fa
MD5 a940cbd859566bbd30824e377c3cc866
BLAKE2b-256 d530c3f1b7e518fe93c90971bf3f68db1d9fbdcdc840940a4c4212d8e092e164

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post461-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.post461-py3.9.egg
Algorithm Hash digest
SHA256 73cbeade304c166443e1efa23076d2aee1c948cb4b871b6989f9b015defa72e6
MD5 c6968bc4fde8000245d12944a64c7c3c
BLAKE2b-256 9251509e48f89adf3b89d682f6de6ece67c021b9d24dc0d779a214a8109f6e90

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post461-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.post461-py3.8.egg
Algorithm Hash digest
SHA256 1264a58bf6677296b25a80acfe75f97db95e40318d43ccd576d147726ecf53e6
MD5 0e36e2f6a669653be1f41c434142f49a
BLAKE2b-256 0536d7e1a859cdeecfe992222e3836a3875107b033b8d70cc8b923638197d005

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post461-py3.7.egg
  • Upload date:
  • Size: 312.6 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.post461-py3.7.egg
Algorithm Hash digest
SHA256 f5b23ba521aa86256fadf45785c8a1042c3d5d13247efe5d7a2ca26e0a3aab8f
MD5 f47be34a46465f288b637499ae8012e0
BLAKE2b-256 0ef11e2c5fea9e9611e9280136258a9e643d9a9f1cfe882de264ad6c9037ea84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post461-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.12

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post461-py3.6.egg
Algorithm Hash digest
SHA256 917223cce9013e5da5d96cd8af772ff9956cdc9b7f1f4974887aaa320370bbd6
MD5 acec625e6f3586e72c9e3f3b78cfbe87
BLAKE2b-256 545147e21ca090e28a5f597e77eef9fe1f4d64080e27e543db6972ce950f3478

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post461-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.12

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post461-py3-none-any.whl
Algorithm Hash digest
SHA256 44717cb1d3cd2dedb38a99b7ac296a5d8c3035a15d06edd8561a04659b83e84e
MD5 b5938afc3299e038ec4a12ce95819ebf
BLAKE2b-256 096219f6850daab0100a2c8d19c19cf331bdd615307db045e5bc6f71bbd292c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post461-py2.7.egg
  • Upload date:
  • Size: 321.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 PyPy/7.3.3

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post461-py2.7.egg
Algorithm Hash digest
SHA256 ff39f6fdf43e954b12ac1e0e68277c8b40f46db37f9ebe8336f591be4377ce34
MD5 3d30cfacc38fd433caed5eeca510b54a
BLAKE2b-256 fb6428c4f47ffccaa09e6d31c6aff48c2fde250843292fb26fa63eb5fde3cc8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post461-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 PyPy/7.3.3

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post461-py2-none-any.whl
Algorithm Hash digest
SHA256 7bda8e91d665d57d8387f71292ae142e278d21df649fd4240e41ae10e241ca44
MD5 e24d930eb22a36c4e0d953ba9c3f5679
BLAKE2b-256 310c8d3aec9412817cb0a5ed9f22da416f36548514b5bcb85480af94083d7647

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