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-0.0.3.tar.gz (13.9 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-0.0.3-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file shutdown_on_lan-0.0.3.tar.gz.

File metadata

  • Download URL: shutdown_on_lan-0.0.3.tar.gz
  • Upload date:
  • Size: 13.9 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-0.0.3.tar.gz
Algorithm Hash digest
SHA256 64890002f27f5faf7661e64d9be64cba9cd5ad28adcc4214db86fa0e83427475
MD5 aff603274a23a9074b7aaeb081559bd4
BLAKE2b-256 2c3dccbbff813a66c671f04ba1a69efe85bcdb6b3b0796c2314a186048feba5e

See more details on using hashes here.

File details

Details for the file shutdown_on_lan-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: shutdown_on_lan-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.5 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-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 162526b2947fc24d29e9f899a70218d08311dab2d4e9955b67b4dbb9101ad046
MD5 915f9da6e41c8e85504180244b8f1814
BLAKE2b-256 2b5b3536377de5ea249c0de2208611c6e0f95d518b3e6f6abe94abceea7c2679

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