Skip to main content

vida_py

GitHub GitHub License GitHub Actions Workflow Status GitHub Forks GitHub Stars

PyPI Version Pepy Total Downloads PyPI Downloads

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_URI
  • VIDA_BASEDATA_DB_URI
  • VIDA_CARCOM_DB_URI
  • VIDA_DIAG_DB_URI
  • VIDA_EPC_DB_URI
  • VIDA_IMAGES_DB_URI
  • VIDA_SERVICE_DB_URI
  • VIDA_SESSION_DB_URI
  • VIDA_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)

Source distribution for vida-py 1.0.0
File Size Uploaded
vida_py-1.0.0.tar.gz 61.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vida-py 1.0.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page