UpgradePipPackages (version 0.0.1)
index
upgradepippackages.py

This file updates all python packages in this environment.

 
Modules
       
os
sys

 
Functions
       
async async_update(package: str, encoding: str) -> Tuple[str, int]
This function updates package using pip (asynchronous).
async async_updates(packages: List[str], encoding: str)
This function updates packages using pip (asynchronous).
device_encoding(fd)
Return a string describing the encoding of a terminal's file descriptor.
 
The file descriptor must be attached to a terminal.
If the device is not a terminal, return None.
get_packages() -> Tuple[List[str], str]
This function execute a "pip freeze" 
and return packages.
main() -> None
This function execute the file.
print_clear(string: str, precedent_length: int = 0, **kwargs) -> int
This function print and clear the line.
updates(packages: List[str], encoding: str) -> None
This function updates packages using pip.

 
Data
        ASYNC = True
FIRST = True
List = typing.List
PIPE = -1
Tuple = typing.Tuple
__author_email__ = 'mauricelambert434@gmail.com'
__copyright__ = '\nUpgradePipPackages Copyright (C) 2021 Maurice...ome to redistribute it\nunder certain conditions.\n'
__description__ = 'This file updates all python packages in this environment.'
__license__ = 'GPL-3.0 License'
__maintainer__ = 'Maurice Lambert'
__maintainer_email__ = 'mauricelambert434@gmail.com'
__url__ = 'https://github.com/mauricelambert/UpgradePipPackages'
copyright = '\nUpgradePipPackages Copyright (C) 2021 Maurice...ome to redistribute it\nunder certain conditions.\n'
license = 'GPL-3.0 License'

 
Author
        Maurice Lambert