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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file nginx-updater-1.0.5.tar.gz.

File metadata

  • Download URL: nginx-updater-1.0.5.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for nginx-updater-1.0.5.tar.gz
Algorithm Hash digest
SHA256 f3d38f125cdcb7896841610e68a36c29fb3fa8bfc0cffb023016436afdb896ac
MD5 0fc706796ac96593ee104ec2c2078f16
BLAKE2b-256 f0ad1d608dab5284ecc513e59cb5ba115e2028dde11a60a5210853ae95f15957

See more details on using hashes here.

File details

Details for the file nginx_updater-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for nginx_updater-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1edabb0f4db9b67c8ab7f8080279cc231a8f4e2f5908eb946d641b1d11fef1d3
MD5 9357e5ed70adcb5954a1188f14bb5840
BLAKE2b-256 a831cb038f8b657971679569ddb7a933ece2720df3b00e440085ec22822e9fd9

See more details on using hashes here.

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