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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

pythondata_misc_tapcfg-0.0.post463-py3.7.egg (313.5 kB view details)

Uploaded Source

pythondata_misc_tapcfg-0.0.post463-py3.6.egg (313.6 kB view details)

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-misc-tapcfg-0.0.post463.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 PyPy/7.3.3

File hashes

Hashes for pythondata-misc-tapcfg-0.0.post463.tar.gz
Algorithm Hash digest
SHA256 e77fce265cebf47628cfc8c18227be79cdcf301e1ef826ea15b3eebcc679d350
MD5 9bb06ae78b67c09aeada02fdc9863ca0
BLAKE2b-256 e685786f6c307413bbc1491056e3c3ca861547612c54c6cae80d66fee2446656

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post463-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.post463-py3.9.egg
Algorithm Hash digest
SHA256 39fe3b0401b57930c445c468df9e7bd6fd841094f5015cc7f74f3fd743ac966f
MD5 af13315d4e6d07a0c66cd341c50f74bd
BLAKE2b-256 880c4f1dba824faf991693861ccf8c68de3fed545858a9297ec7558cc1293cb3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post463-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.post463-py3.8.egg
Algorithm Hash digest
SHA256 41ce7cd95df20453f52edc081199c4b22d26b94ef19842c4e2002a56d037ad33
MD5 8cded4ee9bf30e3d7ce9f4bb0a32201b
BLAKE2b-256 9672772dfc34ace6f6e67cbd36100e1debd2fc54d9f930f24856ae58f797c5e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post463-py3.7.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.3beta

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post463-py3.7.egg
Algorithm Hash digest
SHA256 dc69b62fd5fe4950ed06f9e0b7cf7ed44c3e08b7bb52005d86ee96cf66b5500d
MD5 44030b2ac98e3f9a915060720cbe05f8
BLAKE2b-256 105d9b32a481b6fdfcac7c083b4e09f5fe5951755ca608ef95ad1505117ac645

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post463-py3.6.egg
Algorithm Hash digest
SHA256 d28ee909514c7914f918881d841654a85c397e0d5aaa40ad9805566bba8df583
MD5 9942b4100d167916a5a2aa169a716d5a
BLAKE2b-256 5cbe3abfa56d63d5431b9e9e39122a1d03887478e58943d77a26372c09000ead

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post463-py3-none-any.whl
Algorithm Hash digest
SHA256 62f25a05adfc4d147342af070ff13bcff057599ecb37819fc03c147211d95fc9
MD5 8c74bb8aedcb584ee66d9f68f64b4a30
BLAKE2b-256 9599d927c43149cda5c0734d40b8bd3223cd2f99f5f121b46d093e3106ea5e62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post463-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.post463-py2.7.egg
Algorithm Hash digest
SHA256 a70e4b1cee4dedcc76679bfe2308f1add6fc830c64a69965ed8a955783fc0bda
MD5 cc74c87b8a4ff1c5097ee40e375e13f0
BLAKE2b-256 5f9da2e3b2675a7f994e82f634c36581b168b832ae8ee1e4086fbef158329293

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post463-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.post463-py2-none-any.whl
Algorithm Hash digest
SHA256 6ccc68877ffe584900cc172bbd53e6085f484df12a59e0d90b806c9c38c2da3f
MD5 595c47d64a014178b643d162965003e7
BLAKE2b-256 173b8d11f74cc705d4f177db7dc94e80c5ea8dda20f0373738b3b8223abe99f4

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