aade-publicity-search
Python client for the AADE Public AFM (VAT) lookup service, using the official SOAP API. It allows you to retrieve publicly available company / professional information by AFM and returns the result as a Python dictionary (JSON-ready).
Features
- 🔎 AFM (VAT) public lookup
- 🇬🇷 Official AADE SOAP service
- ⚡ Async /
httpxbased - 🧼 Clean JSON output (dict)
- 🚫 No FastAPI dependency
- 🐍 Python 3.10+
Installation
pip install aade-publicity-search
import asyncio
from aade_publicity_search import AadeClient
async def main():
client = AadeClient(
username="AADE_USERNAME",
password="AADE_PASSWORD"
)
data = await client.get_vat_info("123456789")
print(data)
asyncio.run(main())
Returned data structure
The client returns a dictionary similar to:
{ "success": true, "error": { "code": null, "description": null }, "basic": { "afm": "123456789", "name": "COMPANY NAME", "doy": "ΔΟΥ ΑΘΗΝΩΝ", "legal_status": "ΑΤΟΜΙΚΗ ΕΠΙΧΕΙΡΗΣΗ" }, "firm_activities": [ { "activity_code": "62010000", "activity_descr": "Computer programming activities" } ] }
AFM validation
AFM numbers are validated locally before calling the AADE service.
If the AFM is invalid, a ValueError is raised.
Error handling
-
HTTP errors raise
httpx.HTTPStatusError -
Invalid AFM raises
ValueError -
AADE service errors are returned in the
errorfield of the response
Always check:
if not data["success"]: print(data["error"])
Requirements
-
Python 3.10+
-
Valid AADE SOAP credentials
-
Internet access to AADE services
Disclaimer
This library uses the official AADE public SOAP service.
It is not affiliated with or endorsed by AADE.
Use responsibly and according to AADE terms of service.
Metadata
Release files for aade-publicity-search 1.0.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 | |
|---|---|---|---|---|
| aade_publicity_search-1.0.2.tar.gz | 4.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aade_publicity_search-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / aade_publicity_search-1.0.2.tar.gz
| Download URL | aade_publicity_search-1.0.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8af022544b09cf866b0ec427bcafee51df34d4ef56cdaa4747b6b40ce011e72
|
|
BLAKE2b-256 checksum How to use checksums |
409cf01cb70e691ef3cdb902d9367b49f0744785a3a700365f12ebbb9a3997ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / aade_publicity_search-1.0.2-py3-none-any.whl
| Download URL | aade_publicity_search-1.0.2-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8efa7034eeef3e145df18a26a2a04c6f8cc1baceb6e625ca9857e173e0eeef13
|
|
BLAKE2b-256 checksum How to use checksums |
c96933c7f44a6221e08a036d0f8bad9bc39216225e0bcd1490b3b0dfa2aedf8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for aade-publicity-search 1.0.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.
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.