Skip to main content

A library to query system architecture

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

archspec-0.2.3.tar.gz (50.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

archspec-0.2.3-py3-none-any.whl (65.8 kB view details)

Uploaded Python 3

File details

Details for the file archspec-0.2.3.tar.gz.

File metadata

  • Download URL: archspec-0.2.3.tar.gz
  • Upload date:
  • Size: 50.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.10 Linux/5.15.0-97-generic

File hashes

Hashes for archspec-0.2.3.tar.gz
Algorithm Hash digest
SHA256 d07deb5b6e2ab3b74861e217523d02e69be8522f6e6565f4cc5d2062eb1a5d2c
MD5 3e9987292484062742411fdde05c67db
BLAKE2b-256 155f1c1692a3c6fa58f8d6cfb99c703be21190d26889eae71385b53e899c95c3

See more details on using hashes here.

File details

Details for the file archspec-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: archspec-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 65.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.10 Linux/5.15.0-97-generic

File hashes

Hashes for archspec-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1b76fe2e75ee8750f0aac8c728af4beca1a95bdb5df246f4d39263664d6d301f
MD5 1cd5b1f7a8bba454b4fd058b241640e7
BLAKE2b-256 36a67f0f500ce427b19c25f8cc05ee8cff9fb635373d62ae39e446d6f789e882

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page