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.2a1.tar.gz (3.1 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.2a1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ProtoDriver-0.0.2a1.tar.gz
Algorithm Hash digest
SHA256 514a5223b59dd29329bdeef1b8ab2239668720784f53f81dd4dfe36ca72f14bc
MD5 52a8e12eb62979717a12029624fdbe70
BLAKE2b-256 adf69025c593eecf708ae850ca3ab638025aabbc9756e6f00216fa01b1fa1de9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ProtoDriver-0.0.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 4120c2307f3dc60ee64472585414ba9d517ddd97ed87d3ce2be25620d680d5f9
MD5 ae1f1d93a92c6dab735eedc8b683c4a2
BLAKE2b-256 21cdc36957055fa692161fdf21d92349da1cfaf6f94a2cc132e619622d171afa

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