Skip to main content

LuxLIB est une librairie Python permettant la mise à jour automatique depuis un serveur. Mais aussi de pouvoir mettre à jour son serveur depuis le client.

Project description

LuxLIB

LuxLIB est une librairie Python permettant la mise à jour automatique depuis un serveur. Mais aussi de pouvoir mettre à jour son serveur depuis le client.

Installation

Pour installer LuxLIB, il faudra utiliser pip.

pip install luxlib

Utilisation

import luxlib

# Pour le télécharger
#Initialisation de la classe
downloader = luxlib.Downloader("LIEN (ip ou url)", "NAME_FOLDER_CLIENT", custom_java=True or False, logger=True or False, sftp=True or False, user="USERNAME SFTP", password="PASSWORD SFTP", main_dir="DIRECTORY SERVER")

#Affichage du récapitulatif
downloader.get_recap()

# Démarrage de la mise à jour
downloader.update()

# Pour la mise à jour serveur
# Initialisation de la classe
updater = luxlib.Updater("IP", "USERNAME", "PASSWORD", dir='CLIENT', dir_server='SERVER', logger=True or False)

License

MIT

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

luxlib-0.0.5.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

luxlib-0.0.5-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file luxlib-0.0.5.tar.gz.

File metadata

  • Download URL: luxlib-0.0.5.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for luxlib-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6429258e3b7be1f944b93ede472dfa7df2b9fc9b4d0000c366afe40b24c9bed0
MD5 231f18ffc5f7d1edb66d117e9e041400
BLAKE2b-256 40aafdf8c32fa443d0165297104881104b14607813fa0284a37855745441ebea

See more details on using hashes here.

File details

Details for the file luxlib-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: luxlib-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for luxlib-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 adaee199b0fa9911b538a53854ca94fc784d97ddd6483ef9378e7f86d4f16011
MD5 997086b7dbafb79abc5935177ccf099b
BLAKE2b-256 f0e96cdd8b8ff50c92e3c8e132c5492ea6f7f25c87631b6ee4f75753cfd195db

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