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.

Contact

For any questions or suggestions, please contact yourname@example.com.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shutdown_on_lan-0.0.2.tar.gz
  • Upload date:
  • Size: 14.0 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.2.tar.gz
Algorithm Hash digest
SHA256 9bded40e3eca06b24dd2c8ffe13975b0ec90a030fe5cc721a2002e64a2f6c02c
MD5 2d83b5a2e943ac2444c6f7f2d0a1c5fc
BLAKE2b-256 df59682337afa2f7e790e7bc60e60d25f1a50f2791e7d40ffb95d9cdabef3a6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shutdown_on_lan-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5e565cf79a9f2686ce1b4b34cde9eb5ee4f1211d494a1617609bbcb50d6ee792
MD5 f040b832f6c810b68caaecd2d474eedd
BLAKE2b-256 ea327cb445637cceb31fde5ddf5f1c09c2fbf9b1ed8c4e91c71594aef2fbaf97

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