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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-misc-tapcfg-0.0.post466.tar.gz
  • Upload date:
  • Size: 186.7 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.2 CPython/3.6.12

File hashes

Hashes for pythondata-misc-tapcfg-0.0.post466.tar.gz
Algorithm Hash digest
SHA256 fec301985c51635103c78e18cbcc7fc63d4b5593a4c2509c9770b07a228d01de
MD5 f54aa93a4da15e723224292d2ff1300f
BLAKE2b-256 07aedfe2b8448150bf34f117bb40b8d71dd567f2d63fbf615691fdb80e047c94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post466-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.2 CPython/3.9.1

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post466-py3.9.egg
Algorithm Hash digest
SHA256 69d92992455efaae427cc62a807c478b999748a6851b3222dbf2a8c642180367
MD5 b56dc25d96df24cf8ae1f9b57f08b243
BLAKE2b-256 fbb93f357287a1e643f93c9df388a451fb2a6c2bb3b1c01259fc2124bb508842

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post466-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.2 CPython/3.8.7

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post466-py3.8.egg
Algorithm Hash digest
SHA256 39f40bb5a02677d2c3a0f140c85e03c1b16447f10d93e9b48ace48fae28f644c
MD5 1047f97850e082db07f77933cb0877cc
BLAKE2b-256 8c74f266ed650619f73694a44571a76bee11146c232723dbd85f7fb93c01b7c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post466-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.2 CPython/3.7.9

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post466-py3.7.egg
Algorithm Hash digest
SHA256 3cda3b8565a8ad5c6d053119fc647f530758a2f8fe326d9f50772f7e8284a9c7
MD5 4c497bbc77918eafdb2fb53b0cf51d85
BLAKE2b-256 ac753facb6323c06c513bcbfba3d3a36e27f50d8419d6d37ae8de02d70d2d7a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post466-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.2 CPython/3.6.12

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post466-py3.6.egg
Algorithm Hash digest
SHA256 17c100d6e74afd1f456b4d8c981899b273d632ec8311e3bd4cd9082b611a9ef4
MD5 cf3ad17cb7f5433f2311f4e48e19ae13
BLAKE2b-256 a2099c0a1b3e3b99d03b7e54aedfb4eb557b65431164de5e16b5f58df5430cd4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post466-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.2 CPython/3.6.12

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post466-py3-none-any.whl
Algorithm Hash digest
SHA256 e9d82222cc1efea5c78b8d1746147cb4f6e4478c8674093a927e5ef24eefb64b
MD5 0d5881a7fc6157dac7dd3a24a7499f6d
BLAKE2b-256 f38510534d489bdf6086653216cfa021316f053fc1fb1f2369d24966c353112f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post466-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.2 CPython/2.7.18

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post466-py2.7.egg
Algorithm Hash digest
SHA256 32e863d93e3f067be36a673e1c0e8fe0b4f3033068c9e2edf6c0cfc0c44b7284
MD5 9b7464e388532e1e0c38d869bb885078
BLAKE2b-256 ccdbd601266326859fe14357b8143fcf51a4c8813aec35fa3d1f3ec63720e8ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post466-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.2 CPython/2.7.18

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post466-py2-none-any.whl
Algorithm Hash digest
SHA256 c30904ebbc233a69c55562ce3a0187d0b6f10c5cf9a360588ebf685a4e03e4c1
MD5 892aa2389f1620ca2d3f9b5c444c4d64
BLAKE2b-256 dcfc1a7968b0c62a24023593664a71ebf359447eb46b997b198cd11af7132e4a

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