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

Uploaded Source

Built Distributions

pythondata_misc_tapcfg-0.0.post441-py3.10.egg (312.9 kB view details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-misc-tapcfg-0.0.post441.tar.gz
  • Upload date:
  • Size: 187.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for pythondata-misc-tapcfg-0.0.post441.tar.gz
Algorithm Hash digest
SHA256 7eafee1756e08176ecfe19bf1276f80c14aac57c64c1d1b3422cdcd3e4c4a941
MD5 469f373af9cc92d20d1c24289730388b
BLAKE2b-256 efd99b1255053c9646f833a7703dd7ce80ebe47ba1df2b7d6e8b32e80ac5ef7c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post441-py3.10.egg
  • Upload date:
  • Size: 312.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.10.0a2+

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post441-py3.10.egg
Algorithm Hash digest
SHA256 467577980ac04a7cc5456d37441471591558136a188608e5858cddaae7926082
MD5 65dc258d14881ad4708099fcfbaed525
BLAKE2b-256 e0285b635f585120961476534cc9c4e8787d34637dc0b47b31e494433f960aa4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post441-py3.8.egg
  • Upload date:
  • Size: 312.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post441-py3.8.egg
Algorithm Hash digest
SHA256 81d0800511fdb82570c52a3f01bcae628fb67acea56e994fb7a8ccb9926704a7
MD5 fea40b9ad2e99f1e8c31487ab54f3736
BLAKE2b-256 4912de4d29aea3b91b3129e20b3be96ce7db1acfa2a98a000a7a429f555db8ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post441-py3.7.egg
  • Upload date:
  • Size: 312.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post441-py3.7.egg
Algorithm Hash digest
SHA256 54271f61c69ee694f76faef84be4dd8bfeb50b76d4a2199eedfd77c5f8556ca7
MD5 b3c1c479e860b619136e3e3f9bdfc3f9
BLAKE2b-256 4b10a1d0e92269bb7de9fd78b0f33eb708f73bbd700d33b2b6c0acc84b38ef7b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post441-py3.6.egg
  • Upload date:
  • Size: 312.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post441-py3.6.egg
Algorithm Hash digest
SHA256 84feff5b1cee5a4cc85f2406a2715b7b1315776e16c0489e6f2080ef234c7268
MD5 f922cebc8750b99331a68b1824124161
BLAKE2b-256 30122a8f6524bf4a9477b9c13cb69c4953894c7221991aac95aa4432f3628e03

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post441-py3.5.egg
  • Upload date:
  • Size: 313.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.5.6

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post441-py3.5.egg
Algorithm Hash digest
SHA256 c17b81755a3dd09bb638d565fe31814dd1a6aa9e8943f035ae56e688d5eb0d1d
MD5 b6638b186f86ebf6ddefdf99c468035a
BLAKE2b-256 e0cd853fdfdc33bdb3f2d196f3b6827cd6a5e3469ca3bcbb8cd221d038030318

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post441-py3-none-any.whl
  • Upload date:
  • Size: 295.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post441-py3-none-any.whl
Algorithm Hash digest
SHA256 c7977315b31bd3eedaac54c3eed123ad6a2a36a5e127124f8243ca76e6c9be56
MD5 ff932ea86e67ad62298a01d10444d451
BLAKE2b-256 1d311376c1adac5c77e06df1b9a9f73bd12aade07f85d8ecd54588d59d4449ee

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