Skip to main content

Python module updater that uses nginx as backend

Project description

nginx-updater

Python module updater that uses nginx as backend

Installation

You can install the package via pip:

pip install nginx-updater

Usage

from nginx_updater.updater import check_for_updates

config = [
    {
        "name": "package",
        "url": "https://static.example.com/package.tar.bz2",
        "username": "username",
        "password": "password",
        "file_path": "dist/package.tar.bz2",
        "extract_dir": "downloaded",
        "exclude": [],
    },
]


check_for_updates(config, restart=False)

License

This project is licensed under the terms of the MIT license.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Contact

If you want to contact me you can reach me at pradishbijukchhe@gmail.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

nginx-updater-1.0.5.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

nginx_updater-1.0.5-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page