Official Python SDK for the Europa Tech real estate tokenization API
Project description
europatech
Official Python SDK for the Europa Tech real estate tokenization API.
Installation
pip install europatech
Quick Start
from europatech import EuropaTech
client = EuropaTech(api_key="your-api-key")
# List available properties
objects = client.list_objects()
for obj in objects:
print(f"{obj.name}: {obj.available_shares} shares available")
# Get your portfolio
portfolio = client.get_portfolio()
print(f"Total value: EUR {portfolio.total_value}")
# Get room prices
rooms = client.list_rooms("obj-001")
for room in rooms:
print(f"{room.name}: EUR {room.share_price}/share")
API Reference
Objects
client.list_objects() # List all properties
client.get_object("obj-001") # Get property details
client.list_rooms("obj-001") # Get rooms with share prices
Portfolio
client.get_portfolio() # Your holdings
client.list_transactions(page=1, limit=20) # Transaction history
P2P Marketplace
client.list_p2p() # Active listings
client.create_p2p_listing( # Sell shares
object_id="obj-001",
room_id="room-101",
shares=5,
price_per_share=70.0,
)
client.cancel_p2p_listing("listing-id") # Cancel listing
Investment
client.invest( # Buy shares
object_id="obj-001",
room_id="room-101",
shares=10,
payment_method="CARD",
)
Market & Fund
client.get_market_rates() # EUR/USD, BTC, ETH rates
client.get_fund() # AUM, distributions
Compliance
client.get_compliance_status() # KYC/AML status
Webhooks
from europatech.webhooks import verify_webhook, parse_webhook_event
# Verify signature
is_valid = verify_webhook(request.body, request.headers["X-EuropaTech-Signature"], secret)
# Parse event
event = parse_webhook_event(request.body)
print(event.type) # "investment.completed"
Context Manager
with EuropaTech(api_key="your-key") as client:
objects = client.list_objects()
License
MIT — Europa Tech Enterprise S.R.L.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
europatech-1.0.0.tar.gz
(5.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file europatech-1.0.0.tar.gz.
File metadata
- Download URL: europatech-1.0.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aacb92cbb2b2959f0c5d0518b87ff7b435b4a34f1c4b5ed715f54d11b371e85b
|
|
| MD5 |
1620985de67dade4e6052e6da7b47d6e
|
|
| BLAKE2b-256 |
51e0dd160c10041d7ebcc5ee5b09641be38787ce3f7603638365484ea1ace6f0
|
File details
Details for the file europatech-1.0.0-py3-none-any.whl.
File metadata
- Download URL: europatech-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7d6b02ecb8fec48c85d72278c820af20cf1b83a6db681106b5a49148cf75b8e
|
|
| MD5 |
0400068d274b7ef53de2eee2178a26b4
|
|
| BLAKE2b-256 |
18eb7f0b951068b53ecc19823210ef83f060e14b53409de3a1ee123af73bb1b0
|