Skip to main content

# x735-v2.5 This is the safe shutdown script and some python sample code.

## Install

Assuming your system is updated, add these packages:

### Install dependencies

` sudo apt-get install python-smbus sudo apt-get install pigpio python3-pigpio `

### Add package

` sudo pip3 install x735-v2.5 `

### Add service to systemd

cat > sudo /etc/systemd/system/x735fan.service <<- EOM
[Unit]
Description=Run fan for x735 board
After=multi-user.target

[Service]
Type=simple
Restart=always
RestartSec=1
ExecStart=/usr/bin/python3 /usr/local/bin/x735fan run

[Install]
WantedBy=multi-user.target
EOM

sudo systemctl daemon-reload
sudo systemctl enable x735fan.service
sudo systemctl start x735fan.service
sudo systemctl status x735fan.service

## Update

` sudo pip3 install x735-v2.5 -U `

# Use

` x735fan run # Run set speed x735fan info # Get fan information `

# Develop

` python3 -m venv venv pip install -e . `

## Deploy to pypi ` python setup.py register -r pypi python setup.py sdist upload -r pypi `

Metadata

Release files for x735-v2.5 0.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 x735-v2.5 0.3.5
File Size Uploaded Provenance
x735-v2.5-0.3.5.tar.gz 3.3 kB Without provenance Details

Release files / x735-v2.5-0.3.5.tar.gz

Download URL x735-v2.5-0.3.5.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7584720bbd0189a93770fe27ec7745354dbe3278be571ecc656c953233a5c650
BLAKE2b-256 checksum
How to use checksums
1b2522a519301738444b27512b4afad25fda41a4496e3cd5123644ebc573f2bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.8

Security for x735-v2.5 0.3.5

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.

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