Skip to main content

Shutdown On Lan is a FastAPI application that allows you to remotely shut down the system.

Project description

Shutdown On Lan

Shutdown On Lan is a FastAPI application that allows you to remotely shut down the system.

Why?

It's easy to integrate into existing projects like UpSnap (It was created for it!)

Usage

  1. Download the package:
    pip install shutdown-on-lan
    
  2. Start the application:
    fastapi run main.py
    
  3. Send an HTTP request to shut down the computer. For example, using curl:
    curl "http://{IP of the machine}:8000/shutdown"
    

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.

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

shutdown_on_lan-1.0.0a0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

shutdown_on_lan-1.0.0a0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file shutdown_on_lan-1.0.0a0.tar.gz.

File metadata

  • Download URL: shutdown_on_lan-1.0.0a0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.5 Windows/11

File hashes

Hashes for shutdown_on_lan-1.0.0a0.tar.gz
Algorithm Hash digest
SHA256 f9a4059fac96689582c03318e64546b5a52d92306a0d9d4e060f54f95c36458c
MD5 01c100d254a0d7ae7fc34b1c7a6b71be
BLAKE2b-256 2c4756458e32ea87593a15c43224b95c44c3af8ee21aec05712c18df1a76041f

See more details on using hashes here.

File details

Details for the file shutdown_on_lan-1.0.0a0-py3-none-any.whl.

File metadata

  • Download URL: shutdown_on_lan-1.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.5 Windows/11

File hashes

Hashes for shutdown_on_lan-1.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 d333056bf80b248f401e1cf8f6a4138829bea3eafc897cd2ac5fd11917e6de81
MD5 d90060d8a0c0ee5c7ada7da574040518
BLAKE2b-256 89ec13a763a8a915603bc643cb531bb9576d0a60b006900f6b18d9d9956dcf95

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