Main Goals
- Provide abstract information of where a tool is installed and configured on the local machine.
- Find local EDA tool installations and gather all necessary information in a configuration file.
- Support multiple versions and variants of the same tool.
- In case of multiple tool versions/variants select one default installation.
- Allow switching the default version/variant.
- Allow reading and writing such a configuration file via API.
- Allow reading and writing such a configuration file via CLI.
Features
- Find tool installations:
- at default installation locations (based on operating system).
- in
PATH. - via environment variables.
- Support multiple versions of the same tool.
E.g. Vivado 2018.3, 2021.2 - Support multiple variants of the same tool.
E.g. ModelSim Altera Edition vs. ModelSim SE vs. QuestaSim - Configuring a default version/variant per tool.
Condensed View on ToolInformation Class
from pathlib import Path
from pyTooling.Decorators import export
@export
class ToolInformation:
def __init__(self, installationDirectory: Path, binaryDirectory: Path, version: str = None, edition: str = None): ...
@property
def InstallationDirectory(self) -> Path:
return self._installationDirectory
@property
def BinaryDirectory(self) -> Path:
return self._binaryDirectory
@property
def Version(self) -> str:
return self._version
@property
def Edition(self) -> str:
return self._edition
Examples
from pathlib import Path
from pyEDAA.ToolSetup import Installations
yamlFile = Path("configuration.yml")
installation = Installations(yamlFile)
activeHDL = installation.Aldec.ActiveHDL
activeHDLVersion = activeHDL["10.3"]
print(activeHDLVersion.BinaryDirectory)
Consumers
This layer is used by:
- 🚧 pyEDAA.Workflow
References
Contributors
- Patrick Lehmann (Maintainer)
- Martin Zabel
- Unai Martinez-Corral
- and more...
License
This Python package (source code) is licensed under Apache License 2.0.
The accompanying documentation is licensed under Creative Commons - Attribution 4.0 (CC-BY 4.0).
SPDX-License-Identifier: Apache-2.0
Metadata
Release files for pyEDAA.ToolSetup 0.6.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 |
|---|---|---|---|---|
| pyedaa_toolsetup-0.6.0.tar.gz | 20.6 kB | Without provenance | Details for pyedaa_toolsetup-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyedaa_toolsetup-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for pyedaa_toolsetup-0.6.0-py3-none-any.whl |
Total release size: 50.5 kB
Release files / pyedaa_toolsetup-0.6.0.tar.gz
| Download URL | pyedaa_toolsetup-0.6.0.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0821ce9483c3eef3bfaa5f2aa62e8d71ebf709f589c8c54c73963618c41ce71c
|
|
BLAKE2b-256 checksum How to use checksums |
5dd4006f6de4d02474966743c3d70acf6e2c9069b18ca2a732c4151e4180a541
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.1
|
Release files / pyedaa_toolsetup-0.6.0-py3-none-any.whl
| Download URL | pyedaa_toolsetup-0.6.0-py3-none-any.whl |
|---|---|
| Size | 29.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddf43706c0003d50b3c3ab1f3c7bf0436d4bc9907c4088bb190b8bb64a0f69f8
|
|
BLAKE2b-256 checksum How to use checksums |
8941869c362de7cd2b2d0b4e3854d43e66d70b473f72a93129cb802feaaf0c89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.1
|
Security for pyEDAA.ToolSetup 0.6.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.