Skip to main content

Archspec (Python bindings)

CI CodeCov Documentation Status

Archspec aims at providing a standard set of human-understandable labels for various aspects of a system architecture like CPU, network fabrics, etc. and APIs to detect, query and compare them.

This project grew out of Spack and is currently under active development. At present it supports APIs to detect and model compatibility relationships among different CPU microarchitectures.

Getting started with development

The archspec Python package needs poetry to be installed from VCS sources. The preferred method to install it is via its custom installer outside of any virtual environment:

curl -sSL https://install.python-poetry.org | python3 -

You can refer to Poetry's documentation for further details or for other methods to install this tool. You'll also need tox to run unit test:

pip install --user tox

Finally, you'll need to clone the repository:

git clone --recursive https://github.com/archspec/archspec.git

Running unit tests

Once you have your environment ready you can run archspec unit tests using tox from the root of the repository:

$ tox
  [ ... ]
  py27: commands succeeded
  py35: commands succeeded
  py36: commands succeeded
  py37: commands succeeded
  py38: commands succeeded
  pylint: commands succeeded
  flake8: commands succeeded
  black: commands succeeded
  congratulations :)

Citing Archspec

If you are referencing archspec in a publication, please cite the following paper:

License

Archspec is distributed under the terms of both the MIT license and the Apache License (Version 2.0). Users may choose either license, at their option.

All new contributions must be made under both the MIT and Apache-2.0 licenses.

See LICENSE-MIT, LICENSE-APACHE, COPYRIGHT, and NOTICE for details.

SPDX-License-Identifier: (Apache-2.0 OR MIT)

LLNL-CODE-811653

Metadata

Release files for archspec 0.2.6

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

Source distribution (sdist)

Source distribution for archspec 0.2.6
File Size Uploaded
archspec-0.2.6.tar.gz 59.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for archspec 0.2.6
File Interpreter ABI Platform
archspec-0.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 141.0 kB

Release files / archspec-0.2.6.tar.gz

Download URL archspec-0.2.6.tar.gz
Size 59.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2ea980955530499865225eff917b649b39fd014b53f8c6461b6348c1d8b866f1
BLAKE2b-256 checksum
How to use checksums
82267bb7a53f4e246908fdc1810f4cbd6c8d70ce6a924e6c50f0269c5e792c1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.8.10 Linux/5.15.0-139-generic

Release files / archspec-0.2.6-py3-none-any.whl

Download URL archspec-0.2.6-py3-none-any.whl
Size 81.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22463371fe8e9fa92fa144bf320cb445373a99f2ca6a5914c890e0c0b7816f8f
BLAKE2b-256 checksum
How to use checksums
15127f9edf5a5a547ce0421e8f120c157b3602eabb12147ffea95eefbd55a94e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.8.10 Linux/5.15.0-139-generic

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

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