Skip to main content

py_spec (SPEC python utilities)

This is the Python package for SPEC. py_spec uses the black code style.

Install

You can install the package using pip.

pip install py_spec

Or from the GitHub

pip install git+https://github.com/PrincetonUniversity/SPEC.git#egg=SPEC&subdirectory=Utilities/pythontools

You can also install it locally (cd /path/to/SPEC/Utlities/pythontools/).

python setup.py install

or

pip install -e .

You can also add the path to your PYTHONPATH to directly use this package.

import sys
sys.path.append('/path/to/SPEC/Utlities/pythontools/py_spec')

or put this in your env file.

export PYTHONPATH=$PYTHONPATH:/path/to/SPEC/Utlities/pythontools/py_spec

Use

After installation, in your python kernel, you can use the functions by something like

from py_spec import *

Documentation

You can find documentations at ./docs.

Developers

Here are the contributors:

  • Ksenia Aleynikova
  • Zhisong Qu
  • Jonathan Schilling
  • Christopher Berg Smiet
  • Caoxiang Zhu

Metadata

Release files for py-spec 3.3.5

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

Source distribution (sdist)

Source distribution for py-spec 3.3.5
File Size Uploaded
py_spec-3.3.5.tar.gz 24.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-spec 3.3.5
File Interpreter ABI Platform
py_spec-3.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 52.6 kB

Release files / py_spec-3.3.5.tar.gz

Download URL py_spec-3.3.5.tar.gz
Size 24.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c336814e0e707c8e4adf62198d93ac272838f91de667adbdfcba819cbdf7e960
BLAKE2b-256 checksum
How to use checksums
a30f6b3b353d638f0110f5cfcefd8e1d19eee44a169db6b9cb12e832aa873b26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / py_spec-3.3.5-py3-none-any.whl

Download URL py_spec-3.3.5-py3-none-any.whl
Size 27.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebdf4805bf7326201f1476c078a7a552eb686809eaf2d7e0945b5ca226313100
BLAKE2b-256 checksum
How to use checksums
0b5ae4baa305ab9a8e88807c09639e00c99f0ba2ad3957a9ab814791cc6049af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

3.3.5 This release

2 release files

3.3.3

2 release files

3.3.2

2 release files

3.3.0

2 release files

3.2.0

2 release files

3.1.0

2 release files

3.0.1

2 release files

3.0.0

2 release files

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