Skip to content

undertuga/pyFlipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyFlipper

Unoffical Flipper Zero cli wrapper written in python

Installation

Install PyFlipper with pip

$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements

Usage/Examples

Example

from pyflipper import PyFlipper

#Instantiate flipper object with the correct serial port
flipper = PyFlipper("/dev/ttyACM0")

#Get flipper date
processes = flipper.date.date()

#Get flipper timestamp
processes = flipper.date.timestamp()

#Get the processes dict list
processes = flipper.ps.ps()

#Get device info dict
processes = flipper.device_info.device_info()

#Get memory info dict
processes = flipper.free.free()

#Get bluetooth info
processes = flipper.bt.hci_info()

#Get the storage /ext info
processes = flipper.storage.info('/ext')

#Get the storage /ext list
processes = flipper.storage.info('/ext')

#Get the storage /ext tree
processes = flipper.storage.info('/ext')

#Set red led on
processes = flipper.led.set('r', 255)

#Set vibro on
processes = flipper.vibro.on()

#Set vibro off
processes = flipper.vibro.off()

Optimizations

Feel free to contribute in any way

Roadmap

  • Implement all the cli functions

License

MIT

Buy me a pint

ZEC: zs13zdde4mu5rj5yjm2kt6al5yxz2qjjjgxau9zaxs6np9ldxj65cepfyw55qvfp9v8cvd725f7tz7

ETH: 0xef3cF1Eb85382EdEEE10A2df2b348866a35C6A54

BTC: 15umRZXBzgUacwLVgpLPoa2gv7MyoTrKat

Contacts

  • Discord: white_rabbit#4124
  • Twitter: @nic_whr
  • GPG: 0x94EDEADC

About

Flipper Zero Python CLI Wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%