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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-misc-tapcfg-0.0.post459.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 CPython/2.7.18

File hashes

Hashes for pythondata-misc-tapcfg-0.0.post459.tar.gz
Algorithm Hash digest
SHA256 662329f680336dc9182cddf2fbf41db126aabeba1eea7eeef9949c4eecf7d919
MD5 ca65cc68384d5b4c0182528871f0c111
BLAKE2b-256 76eafcee2b4cc734f3978d891a85d1a22db69edb56158fb49c17418956d7dfd9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post459-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.post459-py3.9.egg
Algorithm Hash digest
SHA256 59990fccfb92d1ea5a0f104ce1a938afbca79b86a123c7c4181439cf4e158552
MD5 ac7e320e5b22450fbf011903737770bf
BLAKE2b-256 4bf474f675d2e797ebeceb8c86dc2050a214c9ae7e128fd672231d963b29f622

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post459-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.post459-py3.7.egg
Algorithm Hash digest
SHA256 c8cd74558096f2a4328c248c9231fe13e169f17224998b070318bc665a16a790
MD5 8f87c82af269daa5413906b9b9474a5b
BLAKE2b-256 05ea8631964afcb41a33907057b7c00dd63be4a55e8109cb9ebe0e5c223eb895

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post459-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.post459-py3.6.egg
Algorithm Hash digest
SHA256 2cfad6e12a740afc99df3ac064a985a9beefbf981aa9d147bbaeef1524e13b55
MD5 3157a7e891fecc6c4ede02debf213e3c
BLAKE2b-256 66dda71b8a5fe3146768fbccd5fbdcf77597a7f4b7e23ceeb5e2d1de96d64ff9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post459-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.9.1

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post459-py3-none-any.whl
Algorithm Hash digest
SHA256 86db7961694b021dfec4800dfc7e7c5d3791e1e8a02e76e1b6f8c1e9ba2eaba1
MD5 67a80b187f2163c721ea5d13037d426b
BLAKE2b-256 18dd7c4d17fe0a151e38b43a39e004720f9d42e5847237c1a5f8e2bf9f4266ac

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post459-py2.7.egg
Algorithm Hash digest
SHA256 3475ecb7fe5f313eaa9fa17d0026c9438bbee21725c661da48d50286ca409db8
MD5 bdc5ac43d70cbc1802589c4e909dd09a
BLAKE2b-256 526b72052e2ba0013f4f3d32a3f764ba34662c2214767191e979071971e458c3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post459-py2-none-any.whl
Algorithm Hash digest
SHA256 498fee37469a11a28c7582c40a828bb41b0f12f30e51cb50746cb3ce3257e14b
MD5 20f10eac1091e5f1454de9f966013643
BLAKE2b-256 a6b518334305e99df30ab5132089ec651f030403eef8d541e6ab9e4c56898678

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