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

Uploaded Source

Built Distributions

pythondata_misc_tapcfg-0.0.post448-py3.10.egg (313.4 kB view details)

Uploaded Source

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

Uploaded Source

pythondata_misc_tapcfg-0.0.post448-py3.7.egg (312.6 kB view details)

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-misc-tapcfg-0.0.post448.tar.gz
  • Upload date:
  • Size: 187.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.6.7

File hashes

Hashes for pythondata-misc-tapcfg-0.0.post448.tar.gz
Algorithm Hash digest
SHA256 eab5543d84be0a2f3fc1f8c5235cd8b387de17473b58bd428ab6d2fdb990d003
MD5 702d306ceb73e8e7083e41c5443f17f7
BLAKE2b-256 611c3a52ba569926bf076b1e80eea66e3d0a239a09154da02fbd77b1ab9c7fdf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post448-py3.10.egg
  • Upload date:
  • Size: 313.4 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.10.0a5+

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post448-py3.10.egg
Algorithm Hash digest
SHA256 5804406dd3affa087a2866a25c51fe4749142aded9405f6a3c7463e98ce8536b
MD5 19165f297606e4e6933b0f04e59f2750
BLAKE2b-256 d5ea394ca84013570124249a3ea15ee69923d61d70ccecc84ec1e4d718ea5ad0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post448-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.post448-py3.8.egg
Algorithm Hash digest
SHA256 1df95617e470a065357866780d4bfac3314ee21c6a2eeaed8e68917e79c6ffd7
MD5 c3dbbee1876b9816bd3b19f20120a657
BLAKE2b-256 bf31841efcad759202a1927eada89c425bf95bb54300e1d38525b2371b26c411

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post448-py3.7.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.0 CPython/3.7.1

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post448-py3.7.egg
Algorithm Hash digest
SHA256 8536f3664a39a52b30fc618cb084c19586ab9399fbd81558bc31a8dca0c63489
MD5 5cbe770500752741bc9667f32baf333f
BLAKE2b-256 88c4f279c1942dda696e6b7c3c62cf6d5088a6f6bec371ff18d1355fe63a5af7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post448-py3.6.egg
Algorithm Hash digest
SHA256 578cc3ba52dfc25b91510368c911d4b42e37dcfc829cc983c4db8cb5bdb69345
MD5 5db47a8ac993592cca51c1e58493a7b5
BLAKE2b-256 53f8c649f7148d5ee18056f1d66e43f16476df3b90cf001ac6bc6934dae7988d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post448-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.6.7

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post448-py3-none-any.whl
Algorithm Hash digest
SHA256 85a774ef4d680feca901a34462a9b7ca423b99a72fa404725aa72164abb138a2
MD5 caad414c88b5f22f66bd12f3b0d2dc85
BLAKE2b-256 9505080ecbd3e055b2f46a4954993f921bbf2f9dd9e0211c4fd180896d8b396c

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