Skip to main content

Sourcecode on GitHub Sourcecode License Documentation Documentation License Gitter
PyPI PyPI - Status PyPI - Python Version
GitHub Workflow - Build and Test Status Libraries.io status for latest release Codacy - Quality Codacy - Coverage Codecov - Branch Coverage

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

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.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyEDAA.ToolSetup 0.5.1
File Size Uploaded
pyedaa_toolsetup-0.5.1.tar.gz 20.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyEDAA.ToolSetup 0.5.1
File Interpreter ABI Platform
pyedaa_toolsetup-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 49.7 kB

Release files / pyedaa_toolsetup-0.5.1.tar.gz

Download URL pyedaa_toolsetup-0.5.1.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3a16a6d830312f2e6681360f614040ab15639312625dbea631b5ce634df92f0d
BLAKE2b-256 checksum
How to use checksums
5e38749b333182468ddca117793863db80da56b6c51f4024c64cc6065b67bfd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / pyedaa_toolsetup-0.5.1-py3-none-any.whl

Download URL pyedaa_toolsetup-0.5.1-py3-none-any.whl
Size 29.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9f3b0d5c958f3e76b4e2eee81b0a7a22f350e44f10af702073849b7d4e6fdd0
BLAKE2b-256 checksum
How to use checksums
b6fba1ba757a4d48e4a5ba8f7118b92c6b9181a5915d8cdc7b2648dc90e4d55f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

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