Skip to main content

Library for board x735

Project description

# 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 `

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

x735-v2.5-0.3.5.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file x735-v2.5-0.3.5.tar.gz.

File metadata

  • Download URL: x735-v2.5-0.3.5.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for x735-v2.5-0.3.5.tar.gz
Algorithm Hash digest
SHA256 7584720bbd0189a93770fe27ec7745354dbe3278be571ecc656c953233a5c650
MD5 9bdca47a2fc427a20fc43e417f4599c9
BLAKE2b-256 1b2522a519301738444b27512b4afad25fda41a4496e3cd5123644ebc573f2bb

See more details on using hashes here.

Supported by

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