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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-misc-tapcfg-0.0.post460.tar.gz
  • Upload date:
  • Size: 184.8 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.12

File hashes

Hashes for pythondata-misc-tapcfg-0.0.post460.tar.gz
Algorithm Hash digest
SHA256 9fe51e48baf888bdacada18f5f36c6c479b394b3532bf8756b773a7ee75885b7
MD5 9bcaec2650786cc1121a15f4ddc52cae
BLAKE2b-256 98e7dc28963af463562ff0a049ffc3eabced54de0dbe4a3f4c9ad42f400fff0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post460-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.post460-py3.9.egg
Algorithm Hash digest
SHA256 f9cb81fdd1a40be803343184960e6d061611213a579e05b9a39577ec8c73965b
MD5 bc00a74c64743e57dd3fbf3323f00927
BLAKE2b-256 1a233d25364e639e4f364b2e1ee0c7a8c442bc7672bfe28f9f8a50350c47ea50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post460-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.post460-py3.8.egg
Algorithm Hash digest
SHA256 67bb45cae0ad4a213c45973830796acc9ce810814e80163cc78ee0468c8f5a68
MD5 8f20d7a89ec63e215067c0d44920d9f6
BLAKE2b-256 256794ace5548e848d6465c1495b1de1535bb492ba33124bcf9db0057f36e342

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post460-py3.7.egg
Algorithm Hash digest
SHA256 4668a6adb588545f19d5ff3e94f14fa84aed9b6623d09e85d3e2c5f2675b9196
MD5 cf90a31ff2165b0a3de0594677a37418
BLAKE2b-256 d79444a01e496c90eb12cdbfaa342c70d4709d11e2121083543faec20848a26a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post460-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.12

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post460-py3.6.egg
Algorithm Hash digest
SHA256 1f43a5b0469abbc1a37f68104a6b80a1ade879435dd8d5491335d87f0f8efa79
MD5 9bed89b97abee00244d309ae8f1295bc
BLAKE2b-256 1f03185fefd6241dc0300d80f8a3ea53eff1ff9ca6081d4058c090a7a1796c86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post460-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.12

File hashes

Hashes for pythondata_misc_tapcfg-0.0.post460-py3-none-any.whl
Algorithm Hash digest
SHA256 817a8325aa781cc58762ec41e1112335457d35820faff21072c0f45821c26ae1
MD5 90a41a06f15acd001b47001ee12ce25c
BLAKE2b-256 676caccf6edac6a44f5bb74c38f9707f8106759e116761a68c87253f4e20e962

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post460-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.post460-py2.7.egg
Algorithm Hash digest
SHA256 fa20f49a2113bc2b73fcc988dee291cca2904edc155e666b59a7d8aead89ddc6
MD5 f18fd945249669cb3bb526219ee0d340
BLAKE2b-256 956723cc5867cc4e38259c702d0aea7756bff95dcedc19c5dd67db23b6ae2f2b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_misc_tapcfg-0.0.post460-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.post460-py2-none-any.whl
Algorithm Hash digest
SHA256 941caead31b6b2ae88059984d930d85b5b3ebbbfa5ef546fb384f06ba5abfc6d
MD5 4649a771cccf3c45cd6c921eec373a36
BLAKE2b-256 ad7ef04c284862d2dd06e2609555392f44f6d3bde3054f9230a5cc282b296d68

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