Skip to main content

Python EDIWHEEL - A Python package for data exchange in the tyre industry

DISCLAIMER: This is not an official EDIWHEEL package. It is a third-party implementation of the EDIWHEEL standard, and is in no way affiliated with any company or organization. Use at your own risk, no warranty is provided.

Summary

This package is a Python implementation of the EDIWHEEL standard for data exchange in the tyre industry. It is based on the EDIWHEEL standard.

This standard uses XML requests to make stock inquiries and to place orders. The responses are also in XML format.

Installation

The package can be installed using pip:

pip install ediwheel

Usage

To use this package, you will need to obtain API authentication credentials from a given supplier.

A config is instantiated as such:

from ediwheel import EdiConnectorConfig, EdiConnector

config = EdiConnectorConfig(
    host="https:/some_api_url.com",
    username="username",
    password="password",
    id="customer_id",
    timeout_s=10,
)

connector = EdiConnector(config)
connector.enquiry("EAN_CODE", "MANUFACTURER_CODE")

There is also a method available for batch queries, which performs better for large updates of stock. Usually, the request will time out for large batches, therefore one must split large lists into smaller batches.

results = connector.batch_enquiry(list_of_EANs, list_of_manufacturer_codes)

for ean, stock, delivery_date in results:
    print(ean, stock, delivery_date)

Metadata

Release files for ediwheel 0.4.0

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

Source distribution (sdist)

Source distribution for ediwheel 0.4.0
File Size Uploaded Provenance Actions
ediwheel-0.4.0.tar.gz 5.8 kB Without provenance Details for ediwheel-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ediwheel 0.4.0
File Interpreter ABI Platform Actions
ediwheel-0.4.0-py3-none-any.whl Python 3 none any Details for ediwheel-0.4.0-py3-none-any.whl

Total release size: 11.7 kB

Release files / ediwheel-0.4.0.tar.gz

Download URL ediwheel-0.4.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4dfc1472d714dd4dba61ae4bbf14f733d189b63b1a10d6db019e1d8b891cf650
BLAKE2b-256 checksum
How to use checksums
b1cc4855ebe7cc39724d99144bb75b1fdf4d7665f7874f3772b5562197bb70d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.6

Release files / ediwheel-0.4.0-py3-none-any.whl

Download URL ediwheel-0.4.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48b921c17e14dfe181efac6b30e412839a1a09cd96ae631023025d273909c752
BLAKE2b-256 checksum
How to use checksums
9c771d52463d30368b28cf45354905a99608f8c73669c541c84e9845c499effd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.6

Security for ediwheel 0.4.0

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.

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