Affiliate Links Generator
A modular, robust, and easy-to-use Python command-line tool to magically convert normal product URLs into your own affiliate links for various e-commerce platforms.
Welcome to the Affiliate Links Generator! 🎉
Tired of manually generating affiliate links for different merchants? This tool makes it incredibly simple to automatically wrap or append your tracking IDs to regular product URLs. Whether you're working with Amazon, eBay, or 10+ other affiliate networks, we've got you covered!
Features & Supported Providers
We support a wide array of top affiliate networks natively:
- Amazon Associates: Seamlessly appends your
tagto any Amazon URL. - eBay Partner Network (EPN): Adds EPN tracking parameters (
campid,mkevt,mkcid) to eBay listings. - Flipkart Affiliate: Appends your
affidto Flipkart product URLs. - Walmart (Rakuten LinkSynergy): Generates a deep link using your publisher ID.
- AliExpress Portals: Generates deep links using your
aff_short_key. - ShareASale: Auto-wraps URLs into deep links using your
merchantidanduserid. - CJ Affiliate: Deep link generator using your
pid(Website ID) andaid(Ad ID). - Impact Radius: Uses your Impact
base_urlto correctly redirect traffic. - Rakuten Advertising: Deep link generator for the LinkSynergy network.
- Skimlinks: Instantly wraps almost any merchant URL into a Skimlinks redirect using your
publisher_id. - Awin (Affiliate Window): Uses your
publisher_idandmerchant_idto generate trackable links.
Installation
pip install Affiliate-Links-Generator
How to Use
Python API Integration
Want to use this in your web app or Discord bot? It's fully programmatic!
from affiliate_link_converter.converter import AffiliateConverter
# 1. Setup your configuration dictionary
config = {
'amazon': {'tag': 'your_tag-20'},
'ebay': {'campid': '5338123456', 'customid': 'social_media'}
}
# 2. Initialize the converter
converter = AffiliateConverter(config)
# 3. Magically convert your URLs!
amazon_url = converter.convert("https://www.amazon.com/dp/B08F7PTF53")
print("Amazon Affiliate Link:", amazon_url)
For full documentation and CLI usage, please visit the GitHub Repository.
Metadata
Release files for Affiliate-Links-Generator 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| affiliate_links_generator-0.1.2.tar.gz | 9.3 kB | With provenance | Details for affiliate_links_generator-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| affiliate_links_generator-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for affiliate_links_generator-0.1.2-py3-none-any.whl |
Total release size: 22.8 kB
Release files / affiliate_links_generator-0.1.2.tar.gz
| Download URL | affiliate_links_generator-0.1.2.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4e5a326fe4c87756c6cf726177f2df9768bee2bc3c74bc26b4179f028c8bf9c
|
|
BLAKE2b-256 checksum How to use checksums |
81b41fdbf65d208f716d4ac1146685b579c0994e870b2fc8f458bbb0fb4855c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency logRelease files / affiliate_links_generator-0.1.2-py3-none-any.whl
| Download URL | affiliate_links_generator-0.1.2-py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c90ca09821b2682409fcc35b33210915ef81a9719a45de0f6771c8e8397ccc46
|
|
BLAKE2b-256 checksum How to use checksums |
4106ba745384bbd573bca99da69b22905edc05389452081acaecf76c8f5d185a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency logSecurity for Affiliate-Links-Generator 0.1.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for affiliate_links_generator-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency logA 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.