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.4.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.4-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shutdown_on_lan-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 eee339fd8c7c29bc621fe94e33e8d852ca4fdc3404d044f49e5393163a2c03f8
MD5 d8f9cd352fb556f3ac44c386c558f897
BLAKE2b-256 e4319774aec18449b76996ef89eeffd65403a24a3a13d183768d7feb08065199

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shutdown_on_lan-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 14.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a1465e44e7502d0dfecba286751151a5f03318db2b03e7888f1144e3faf6ff2a
MD5 b4eb009de0a27d5aae48812b14b010c3
BLAKE2b-256 62c150fcc03fafde34daffdc95b2fc9c753d7a4e4ab4d810de811149a2715831

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