Skip to main content

mac_vendors

Library created in order to facilitate the obtaining of manufacturers through MAC ADDRESS.

Description.

  • The package mac_vendors is used to:

    • Vendor:
      • get_by_single
      • get_by_tuple
      • get_by_file
    • Api_vendors:
      • get_info

Installation

Use the package manager pip to install package_name

pip install mac-vendors

Usage

Get information from a single mac

from mac.vendor import Vendors

example = Vendors()
example.get_by_single('78:30:3b')
print(example.response)

Get the information through a file

  • The file must have one mac per line
from mac.vendor import Vendors

example = Vendors()
example.get_by_file('DIR/FILE')
print(example.response)

Get the information through a tuple

from mac.vendor import Vendors

macs = ('78:30:3b', '00:19:46')

example = Vendors()
example.get_by_tuple(*macs)
print(example.response)

Export

To excel

from mac.vendor import Vendors

example = Vendors()
example.get_by_single('78:30:3b')

example.to_excel(
    path='DIR',
    file_name='sheet_name'
)

To CSV

from mac.vendor import Vendors

example = Vendors()
example.get_by_single('78:30:3b')

example.to_csv(
    path='DIR',
    file_name='sheet_name'
)

To txt

from mac.vendor import Vendors

example = Vendors()
example.get_by_single('78:30:3b')

example.to_txt(
    path='DIR',
    file_name='sheet_name'
)

Author

Edgar Reis

License

MIT

Metadata

Release files for mac-vendors 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mac-vendors 0.0.5
File Size Uploaded Provenance Actions
mac-vendors-0.0.5.tar.gz 2.8 kB Without provenance Details for mac-vendors-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mac-vendors 0.0.5
File Interpreter ABI Platform Actions
mac_vendors-0.0.5-py3-none-any.whl Python 3 none any Details for mac_vendors-0.0.5-py3-none-any.whl

Total release size: 7.2 kB

Release files / mac-vendors-0.0.5.tar.gz

Download URL mac-vendors-0.0.5.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
72d3fef2706ed65043070de65674add0fd3cdad94be88890e946cbdbc703d69b
BLAKE2b-256 checksum
How to use checksums
8c0a7b41971b715d0a72d66baa6a43c63385e48f917328917fcc14ca54f36128
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / mac_vendors-0.0.5-py3-none-any.whl

Download URL mac_vendors-0.0.5-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc61043982991abcb0a9eb63fc1f00554d72217b01084168ff77b472953f31a7
BLAKE2b-256 checksum
How to use checksums
57ff45a7a1efcd9653e2c7627c629c6bf2e6de0e3481ae1b3a573a8cf3394f7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Security for mac-vendors 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page