Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

README

Installation

pip install digipigi

How to use and characteristics

The digipigi can be used via the module digipigi.

The usage is very simple:

import digipigi
help(digipigi.DigiPigi)
dp=digipigi.DigiPigi(HOST='hostname')
att=dp.setAttenuation(0)

This sets the digipot to attenuate the singal by a factor att.

In order to give a feeling for the performance of the digipigi, we provide here a plot of the attenuation factor as calibrated for a DC input signal:

DC Calibration

For three wiper positions we also show the time trace of attenuated square wave signal:

AC Calibration

The irregular square wave in the 10 kHz panels was an acquisition bug in the old calibration script (record longer than the AD2 buffer); it is fixed. These figures are from hat rev A.

Installation of pip package:

First pip install build and pip install twine. Then set the environment variables`

export TWINE_USERNAME="__token__"
export TWINE_PASSWORD="API_KEY" 

Then build the package while you are in the driectory resources/python/digipigi/

python -m build

Then upload the package to your PyPi accounty by

twine upload dist/* --non-interactive

Metadata

Release files for digipigi 1.0.0b2

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

Source distribution (sdist)

Source distribution for digipigi 1.0.0b2
File Size Uploaded Provenance Actions
digipigi-1.0.0b2.tar.gz 621.3 kB Without provenance Details for digipigi-1.0.0b2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for digipigi 1.0.0b2
File Interpreter ABI Platform Actions
digipigi-1.0.0b2-py3-none-any.whl Python 3 none any Details for digipigi-1.0.0b2-py3-none-any.whl

Total release size: 629.9 kB

Release files / digipigi-1.0.0b2.tar.gz

Download URL digipigi-1.0.0b2.tar.gz
Size 621.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f396d04f128d0fed0e35ef7a12d7c06f62f890f02bc4b2d776f825b2d60bab65
BLAKE2b-256 checksum
How to use checksums
23ebdb6033be4c06d65a43fb0af84f2c4d8a1b0740363364a3aaf4505aa6d2e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release files / digipigi-1.0.0b2-py3-none-any.whl

Download URL digipigi-1.0.0b2-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7697dad7a7b26df5872a4b27c96cd7827d1bb1d45e175aac27f2d791a2f6409c
BLAKE2b-256 checksum
How to use checksums
90e9312ddab20392db99e6276fb5b8f33db5b1c22fa15ec2d9f0ddfbe9606abd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Security for digipigi 1.0.0b2

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.

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