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

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/shutdown-on-lan.git
    
  2. Navigate to the project directory:
    cd shutdown-on-lan
    
  3. Activate the virtual environment:
    poetry shell
    
  4. Install the required dependencies:
    poetry install
    

Usage

  1. Start the application:
    fastapi run main.py
    
  2. Use curl to shut down the computer:
    curl "http://localhost: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.1.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-0.0.1-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shutdown_on_lan-0.0.1.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-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ff39794253dc442d4c2b3c42169be34ba87ecf0f1270cb3927b4e9dfded86326
MD5 29410439401150894c09a4a0c59ef46b
BLAKE2b-256 257884b652d68990494714b6d84a15b4a0da98c2061b1976f5bcc463a87e6e14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shutdown_on_lan-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbf9114a1b678ed98bc1374c3b7160c4e09b54f64028a47da7c12709fc8601e0
MD5 5fc6fce11ed9b7441f26fea9a332c8a1
BLAKE2b-256 75193fc49f558901616ede691d1d2b27b4051241094b3c0b113197afbf6a87e7

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