vida_py
Python interface for Volvo's VIDA databases.
Installation
You can install vida_py using pip.
pip install vida-py
Dependencies
vida_py depends on a few python modules, these modules will be installed automatically when installing with pip.
vida_py is compatible with python 3.13 and up.
Database Configuration
vida_py uses SQLAlchemy database connection URIs from environment variables.
Required environment variables:
VIDA_ACCESS_DB_URIVIDA_BASEDATA_DB_URIVIDA_CARCOM_DB_URIVIDA_DIAG_DB_URIVIDA_EPC_DB_URIVIDA_IMAGES_DB_URIVIDA_SERVICE_DB_URIVIDA_SESSION_DB_URIVIDA_TIMING_DB_URI
Each value must be a valid SQLAlchemy database URI:
"mssql+pyodbc://user:password@localhost/basedata?driver=ODBC+Driver+17+for+SQL+Server"
Explicit setup is also available for every database module. For example:
from vida_py.basedata import create_engine_from_url, create_session_factory
engine = create_engine_from_url(
"mssql+pyodbc://user:password@localhost/basedata?driver=ODBC+Driver+17+for+SQL+Server"
)
Session = create_session_factory(engine=engine)
with Session() as session:
...
VIDA Database Files
Please note that VIDA database files are not supplied with this package. Users must obtain these files separately, typically from an existing VIDA installation.
The easiest way to access Volvo's VIDA databases is to extract the .mdf and .ldf files from the VIDA installer, then attached them to a database using the Microsoft SQL Server Management Studio
Contributing
Contributions are welcome! Please submit a pull request or open an issue to discuss changes or report bugs.
License
vida_py (C) 2026 Kestin Goforth.
This project is licensed under the BSD 3-Clause License - see the license file for details.
Release files for vida-py 1.0.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 | |
|---|---|---|---|
| vida_py-1.0.0.tar.gz | 61.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vida_py-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 110.0 kB
Release files / vida_py-1.0.0.tar.gz
| Download URL | vida_py-1.0.0.tar.gz |
|---|---|
| Size | 61.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1106e324bf23c134290b7f7b5002c65bed9fa9d549d0b297c35aa5175c40980
|
|
BLAKE2b-256 checksum How to use checksums |
73621325e3f108d7dd2515f2d33bcba39210c98d9f0b9794520c0a36bc0b3777
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 24, 2026.
Transparency logRelease files / vida_py-1.0.0-py3-none-any.whl
| Download URL | vida_py-1.0.0-py3-none-any.whl |
|---|---|
| Size | 48.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9dd9b3f22d186be81440a318319ce653a764788e294ab196d6c89ede86f6889
|
|
BLAKE2b-256 checksum How to use checksums |
86443a3b1f5f67c5149a932293935d7cc69a34ad4a6058c2391c1948e57d096b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 24, 2026.
Transparency log