tap-lexio
tap-lexio is a Singer tap for the Lexio Rent API, built with the Meltano Singer SDK. It loads the data of a car, van or two-wheeler rental company into any Singer target (Postgres, Snowflake, BigQuery, DuckDB, CSV...).
Lexio Rent is rental management software for professional rental companies: planning, contracts, check-in/check-out inspections, deposits and fleet maintenance.
Streams
| Stream | Endpoint | Replication |
|---|---|---|
vehicles |
GET /vehicles |
full table |
categories |
GET /categories |
full table |
locations |
GET /locations |
full table |
options |
GET /options |
full table |
deductibles |
GET /deductibles |
full table |
deposits |
GET /deposits |
full table |
mileage_packages |
GET /mileage-packages |
full table |
customers |
GET /customers |
full table |
rentals |
GET /rentals |
full table |
vehicle_blocks |
GET /vehicle-blocks |
full table, over a window split into 92-day partitions |
maintenance_records |
GET /maintenance-records |
full table |
events |
GET /events |
incremental on occurredAt |
Schemas are generated from the published OpenAPI specification (version 1.0.5) by scripts/gen_schemas.py.
events is the rental change feed (rental.created, rental.updated, rental.cancelled, rental.deleted). The API keeps 29 days of history and has no webhooks: run the tap at least weekly and use the feed to know which rentals changed between two full loads.
Installation
pip install tap-lexio
With Meltano:
meltano add extractor tap-lexio
meltano config tap-lexio set api_key lck_...
meltano run tap-lexio target-duckdb
Settings
| Setting | Required | Default | Description |
|---|---|---|---|
api_key |
yes | Lexio API key (lck_...), from Settings → Developer → API tokens. API access is part of the Business plan. |
|
api_url |
no | https://api.lexio.rent/api/external/v1 |
Base URL of the API. |
blocks_days_back |
no | 30 |
vehicle_blocks: first day of the window, in days before today. |
blocks_days_ahead |
no | 180 |
vehicle_blocks: last day of the window, in days after today. |
Settings can also come from the environment (TAP_LEXIO_API_KEY...) with --config=ENV. The SDK settings (stream_maps, flattening_enabled, batch_config...) are supported; run tap-lexio --about for the full list.
There is no sandbox: test against a dedicated Lexio organization.
Usage without Meltano
echo '{"api_key": "lck_..."}' > config.json
tap-lexio --config config.json --discover > catalog.json
tap-lexio --config config.json --catalog catalog.json --state state.json | target-jsonl
Development
pip install -e ".[test]"
pytest # offline tests
LEXIO_API_KEY=lck_... pytest # adds the Singer SDK standard suite against your organization
python scripts/gen_schemas.py # regenerate schemas after an API update
About
This tap is maintained by the team behind Lexio Rent, car rental management software. The deductibles and deposits streams carry the excess and deposit amounts set per vehicle category; to hand the same terms to customers, Lexio publishes a free excess and cover summary sheet generator (in French).
- API documentation: https://docs.lexio.rent
- Python client: https://github.com/lexio-rent-git/lexio-python
- Airflow provider: https://github.com/lexio-rent-git/airflow-provider-lexio
- Contact: contact@lexio.rent
MIT License.
Metadata
Release files for tap-lexio 0.1.0
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 |
|---|---|---|---|---|
| tap_lexio-0.1.0.tar.gz | 169.3 kB | Without provenance | Details for tap_lexio-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tap_lexio-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for tap_lexio-0.1.0-py3-none-any.whl |
Total release size: 195.9 kB
Release files / tap_lexio-0.1.0.tar.gz
| Download URL | tap_lexio-0.1.0.tar.gz |
|---|---|
| Size | 169.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30f3daa44afb70e62ab985b29a1fdcf7609016a21b309102067bfb320432445a
|
|
BLAKE2b-256 checksum How to use checksums |
34150148cdfee92f62fad9c07ab5d04a90960f68214fbea91f351958d2a44322
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.0
|
Release files / tap_lexio-0.1.0-py3-none-any.whl
| Download URL | tap_lexio-0.1.0-py3-none-any.whl |
|---|---|
| Size | 26.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7b47b765f936c242a1036a367609928c47a79df193a1bc71dfec55d33b466ab
|
|
BLAKE2b-256 checksum How to use checksums |
ba4dcccf8c6d0dad56ed450d9e86f16deefc7ccf8e9d11e396a698a12fd30fc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.0
|
Security for tap-lexio 0.1.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.