Skip to main content

A simple Raspberry Pi web api for driving a MAX7219 dot matrix display

Project description

ProtoDriver

A simple Raspberry Pi web api for driving a MAX7219 dot matrix display

This package is meant to be ran as a REST API and be called from a dedicated frontend.

ProtoDriver has only just been brought to a usable level and is in no way production ready.

API calls


/ping - GET

  • A simple test call to see if the server is reachable
  • Returns JSON data with the word "Pong"

/uploadimage/< filename > - POST

  • Used to pass image data in the form of bytes to the server
  • filename is passed including the files extension and will be used to write the new file

/updateimage/< filename > - PUT

  • used in the same way as uploadimage but with the intent of overwriting an existing file with new data
  • filename is passed including the files extension and will be used to overwrite an existing file with that name

/deleteimage/< filename > - DELETE

  • used to delete a file from the server
  • filename is passed including the files extension and will be used to delete an existing file with that name

/getimage/< filename > - GET

  • used to get the contents of an image from the server
  • filename is passed including the files extension and will be used to target an existing file with that name

/getallimages - GET

  • returns the contents of all images currently stored on the server paired with their filenames
  • [ filename , file data]

###/displayimage/< filename > - GET

  • used to display an image on the led matrix
  • filename is passed including the files extension and will be used to target an existing file with that name

###/cleardisplay - GET

  • clears the led matrix

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

ProtoDriver-0.0.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ProtoDriver-0.0.2-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file ProtoDriver-0.0.2.tar.gz.

File metadata

  • Download URL: ProtoDriver-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for ProtoDriver-0.0.2.tar.gz
Algorithm Hash digest
SHA256 19045a4a6d190ed7a9f99d720de69d1298875683490326eb392f87b111b2dae7
MD5 a03bcdf90b578d04a1699cfa88366bce
BLAKE2b-256 acc7b239c12da3e3e898fe9b029617100811ebc183dfdd51feecff009b117ec2

See more details on using hashes here.

File details

Details for the file ProtoDriver-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ProtoDriver-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for ProtoDriver-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 636243876215b94e285b0a46aa71967e3e5a1abb4029bcc517c6df95a4cdab5a
MD5 de30591f131587cea361508ceb2cc2bf
BLAKE2b-256 86db70af790de90178cab116962f44f7172c067a675bd1c32972bef35fb2c81f

See more details on using hashes here.

Supported by

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