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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

pythondata_misc_tapcfg-0.0.post465-py3.6.egg (312.6 kB view details)

Uploaded Source

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pythondata-misc-tapcfg-0.0.post465.tar.gz
Algorithm Hash digest
SHA256 5a19eaa06c7cfe8a73a4d82f4076c2ec4b54cd3f9afc3f7f7e3da3078dda4195
MD5 558839016a1baa83c977d9eca66b3f2d
BLAKE2b-256 2ddb9b3f0ba5b89a687f03bc04b0db94d25b9f72e3c3b324555087ea937f7f68

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post465-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.post465-py3.9.egg
Algorithm Hash digest
SHA256 c443595f2fab38c39fd74e8e82d91f0cf66945f58ef323ea51f9ecfa5f5ad8db
MD5 a05655d576669dd634ddeb823a709ccf
BLAKE2b-256 331b04e8831bf10a849491ebb1ac91886c307089df8ac15d8fe5d66b0a952e2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post465-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.post465-py3.8.egg
Algorithm Hash digest
SHA256 a301892930d48c6d8762f93eb2e1f0a73e3a91a1a8cf175c435b35832de8a2c4
MD5 5e2c50ea9c53d5018d6e26a5a5a8c857
BLAKE2b-256 ccdab6d67282a3b0fbc85f86f5a691c3f6559a3caddffa4a8055859466a3bee6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post465-py3.7.egg
Algorithm Hash digest
SHA256 6802027c0e539695b621a5ae0fd0de0c4292a51a543769774a9617b587a8e8d4
MD5 5b5dc55ddf80ea96743c7c82a132a6eb
BLAKE2b-256 e2fbfac9724c385409b95cbf7a69d590185a745c50a7816a74d4f84c74d10b7b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post465-py3.6.egg
Algorithm Hash digest
SHA256 abf685ed913f29bb90a9c5d23015c347b87500473efc9e3d75b0024c1bfc507b
MD5 10e31fc7b766ddd446af0a166e3ba395
BLAKE2b-256 8b53cb0a4cba623c73ee27dc1ee4198d938e86d4645574f19e705255dc43b456

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post465-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.post465-py3-none-any.whl
Algorithm Hash digest
SHA256 398c8628845d752cd08908865b1cfbf22d2fe7bcd4e84e0647fcdba75b5fdeb5
MD5 a06ba4a37a7b01b22c07a365217e7560
BLAKE2b-256 05bf90efb82e3429b48f2aa4863c149c79ec6d208cbc2f7874c59bef9a8349f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post465-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.post465-py2.7.egg
Algorithm Hash digest
SHA256 dd112ca5c81d6d93e166bc5069e55054de90a79a8e5711d1304cf4d163b02b99
MD5 19cea28ac01e7644d80b10d7b94c65a5
BLAKE2b-256 5147963dfa70f466b473871f7df6dd1f9c10640fab64dd4c2fed74268208e2b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post465-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.post465-py2-none-any.whl
Algorithm Hash digest
SHA256 6f179520997a9944482136d7ff0df9b6cdea54726345976dbea83c0b85eaa032
MD5 f579d796e74a9e778d283ad15f88f2e2
BLAKE2b-256 e4eb54fd07fdbee0c2e11d66d205e44a14423e6fddcfb6d62a9331dfd45cba23

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