Saravanan666/pypi-org huggingface dataset:
Package: auto-update-by-hamu
自更新使用说明将本模块编译成wheelpythonsetup.pybdist_wheel在需要子更新的项目中安装wheelpipinstall打包的wheel.wheel两种使用方式(第一种,直接使用直链)项目中使用fromauto_updateimportAutoUpdatefromsettingsimportSETTINGSAutoUpdate(direct_url="直链url",callback).check_update()# 关于callback参数，是一个下载回调函数，接受两个参数，第一个是文件总大小，第二个是已下载的文件大小，可以使用这个做进度条的定制(第二种,使用配置文件)编写项目settings.py文件(名字可随意)SETTINGS={"mode":"check_on_start",# 更新模式，目前仅支持启动时检查"url":"http://192.168.2.17:8080/version_update_info",# 返回更新信息json的url"update_mode":"silent"# 目前仅支持静默更新}更新信息格式,(可使用flask返回json数据){"download_url":"http://192.168.2.17:8080/download",// 下载路径"version":"3.0.0",// 版本信息"md5":"md5_text",// md5"force":True,// 是否强更"filename":"provide_file_path"// 文件名，重要，需要与客户端文件名一致}项目中使用fromauto_updateimportAutoUpdatefromsettingsimportSETTINGSAutoUpdate(SETTINGS,callback[可选]).check_update()
Package: autoupgrade
autoupgradeAutomatic upgrade of Python modules and packagesquick start:::python
from autoupgrade import AutoUpgrade
AutoUpgrade("pip").upgrade_if_needed()The above will upgrade “pip” if there is a new version of pip out there.
The upgrade will be unattended and the python script will be restartedinstallationpip install autoupgradeor install latest from repo:pip install https://bitbucket.org/jorkar/autoupgrade/get/master.tar.gzapiclasses:::python
class AutoUpgrade(__builtin__.object)AutoUpgrade class, holds one packageMethods:::python
__init__(self, pkg, index=None, verbose=False)Args: pkg (str): name of package index (str): alternative index, if not
given default frompipwill be used. Include full index url, e.g.https://example.com/simple:::python
check(self)Check if pkg has a later version Returns true if later version exists.:::python
restart(self)Restart application with same args as it was started. Doesnotreturn:::python
upgrade(self, dependencies=False)Upgrade the package unconditionaly Args: dependencies, update
dependencies if True (see pip–no-deps):::python
upgrade_if_needed(self, restart=True, dependencies=False)Upgrade the package if there is a later version available. Args:
restart, restart app if True dependencies, update dependencies if True
(see pip –no-deps)Supported platformsCurrently tested on Linux with Python 2.7. Should be usable on Windows
and *nix.Test for Python 3 will be done some time.Release notes0.2.0Corrections: - Issue #2, Index did not work when specified - Issue #3,
Autoupgrade should not print to console (added verbose flag to keep
backward compatibility - Issue #4, Support for pip > 0.60.1.5Corrections: - Issue #1, Extra index did not work for all servers.0.1.4Fixed bug when version contains characters.0.1.3Fixed vital fault in 0.1.20.1.2Setup file fixesRemoved verbose output as defaultReturn value fixed of upgrade()0.1.1Dependencies updated0.1.0Initial releaseInfoHomepage:https://bitbucket.org/jorkar/autoupgrade
Package: autoupgrade3
autoupgrade3===========Python 3 friendly automatic upgrade of Python modules and packagesquick start-----------:::::pythonfrom autoupgrade3 import AutoUpgradeAutoUpgrade("pip").upgrade_if_needed()The above will upgrade "pip" if there is a new version of pip out there.The upgrade will be unattended and the python script will be restartedinstallation------------::pip install autoupgrade3or install latest from repo:::pip install https://bitbucket.org/jorkar/autoupgrade3/get/master.tar.gzapi---classes~~~~~~~:::::pythonclass AutoUpgrade(__builtin__.object)AutoUpgrade class, holds one packageMethods^^^^^^^:::::python__init__(self, pkg, index=None, verbose=False)Args: pkg (str): name of package index (str): alternative index, if notgiven default from *pip* will be used. Include full index url, e.g.https://example.com/simple:::::pythoncheck(self)Check if pkg has a later version Returns true if later version exists.:::::pythonrestart(self)Restart application with same args as it was started. Does **not**return:::::pythonupgrade(self, dependencies=False)Upgrade the package unconditionaly Args: dependencies, updatedependencies if True (see pip--no-deps):::::pythonupgrade_if_needed(self, restart=True, dependencies=False)Upgrade the package if there is a later version available. Args:restart, restart app if True dependencies, update dependencies if True(see pip --no-deps)Supported platforms-------------------Currently tested on Linux with Python 2.7/3.5. Should be usable on Windows and \*nix.Release notes-------------0.2.1~~~~~Forked from autoupgradePython 3.5 support0.2.0~~~~~Corrections: - Issue #2, Index did not work when specified - Issue #3,Autoupgrade should not print to console (added verbose flag to keepbackward compatibility - Issue #4, Support for pip > 0.60.1.5~~~~~Corrections: - Issue #1, Extra index did not work for all servers.0.1.4~~~~~-  Fixed bug when version contains characters.0.1.3~~~~~-  Fixed vital fault in 0.1.20.1.2~~~~~-  Setup file fixes-  Removed verbose output as default-  Return value fixed of upgrade()0.1.1~~~~~-  Dependencies updated0.1.0~~~~~Initial releaseInfo====-  Homepage: https://github.com/hayorov/autoupgrade3
Package: autoupgrade-ng
Quick Startfrom autoupgrade import Package
Package(<packagename>).smartupgrade()Example:from autoupgrade import Package
Package('pip').smartupgrade()The above will upgrade the Python packagepiponly if there is a new version
available on the PyPI.
The upgrade will be unattended and the python script will be restarted.Old methods are still supported; you can accomplish the same task calling:from autoupgrade import AutoUpgrade
AutoUpgrade('pip').upgrade_if_needed()Installationpip install autoupgrade-ngAll the modules will be installed under theautoupgradepackage, somake
sure you have already removed the old AutoUpgrade package
(https://pypi.python.org/pypi/autoupgrade) before install thisto avoid an
installation conflict.UsageClassesclass Package(__builtin__.object)Decription: Basic package class, holds one package.class AutoUpgrade(__builtin__.object)Decription: Legacy class refering toPackageone.Methods__init__(self, pkg, index=None, verbose=False)Decription: None.Arguments:pkg(str) name of package.index(str) alternative index, if not given default frompipwill be used.Include full index url _(e.g.https://example.com/simple)_.Return: None.check(self)Decription: Check ifpkghas a later version.Arguments: None.Return: True if later version exists, else False.restart(self)Decription: Restart application with same args as it was started.Arguments: None.Return: None.upgrade(self, dependencies=False, prerelease=False, force=False)Decription: Upgrade the package unconditionaly.Arguments:dependenciesupdate dependencies if True(see
``pip –no-deps``).prereleaseupdate to pre-release and development versions.forcereinstall all packages even if they are already
up-to-date.Return: None.smartupgrade(self, restart=True, dependencies=False,
prerelease=False)Decription: Upgrade the package if there is a later version available.Arguments:restartrestart app if True.dependenciesupdate dependencies if True(see
``pip –no-deps``).prereleaseupdate to pre-release and development versions.Return: None.upgrade\_if\_needed(self, restart=True, dependencies=False,
prerelease=False)Decription: Legacy method refering tosmartupgradeone.Arguments: Same assmartupgrade.Return: Same assmartupgrade.Release notes0.3.0:Fork of autoupgrade (https://pypi.python.org/pypi/autoupgrade).Python 3 support.Removed unnecessary dependencies.Pre-release and force-reinstall support.Massive code refactoring and cleaning.Updated README and LICENSE.New exceptionPIPErrorto handle pip errors.Main class renamed toPackage.More verbose messages.Small code optimizations and improvements.0.2.0:Issue #2, Index did not work when specified.Issue #3, Autoupgrade should not print to console (added verbose flag
to
keep backward compatibility.Issue #4, Support for pip > v0.6 .0.1.5:Issue #1, Extra index did not work for all servers.0.1.4:Fixed bug when version contains characters.0.1.3:Fixed vital fault in v0.1.2 .0.1.2:Setup file fixesRemoved verbose output as default.Return value fixed of methodupgrade.0.1.1:Dependencies updated.0.1.0:Initial release.
Package: autoupgrade-prima
Quick Startfrom autoupgrade import Package
Package(<packagename>).smartupgrade()Example:from autoupgrade import Package
Package('pip').smartupgrade()The above will upgrade the Python packagepiponly if there is a new version
available on the PyPI.
The upgrade will be unattended and the python script will be restarted.Old methods are still supported; you can accomplish the same task calling:from autoupgrade import AutoUpgrade
AutoUpgrade('pip').upgrade_if_needed()Installationpip install autoupgrade-ngAll the modules will be installed under theautoupgradepackage, somake
sure you have already removed the old AutoUpgrade package
(https://pypi.python.org/pypi/autoupgrade) before install thisto avoid an
installation conflict.UsageClassesclass Package(__builtin__.object)Decription: Basic package class, holds one package.class AutoUpgrade(__builtin__.object)Decription: Legacy class refering toPackageone.Methods__init__(self, pkg, index=None, verbose=False)Decription: None.Arguments:pkg(str) name of package.index(str) alternative index, if not given default frompipwill be used.Include full index url _(e.g.https://example.com/simple)_.Return: None.check(self)Decription: Check ifpkghas a later version.Arguments: None.Return: True if later version exists, else False.restart(self)Decription: Restart application with same args as it was started.Arguments: None.Return: None.upgrade(self, dependencies=False, prerelease=False, force=False)Decription: Upgrade the package unconditionaly.Arguments:dependenciesupdate dependencies if True(see
``pip –no-deps``).prereleaseupdate to pre-release and development versions.forcereinstall all packages even if they are already
up-to-date.Return: None.smartupgrade(self, restart=True, dependencies=False,
prerelease=False)Decription: Upgrade the package if there is a later version available.Arguments:restartrestart app if True.dependenciesupdate dependencies if True(see
``pip –no-deps``).prereleaseupdate to pre-release and development versions.Return: None.upgrade\_if\_needed(self, restart=True, dependencies=False,
prerelease=False)Decription: Legacy method refering tosmartupgradeone.Arguments: Same assmartupgrade.Return: Same assmartupgrade.Release notes0.3.0:Fork of autoupgrade (https://pypi.python.org/pypi/autoupgrade).Python 3 support.Removed unnecessary dependencies.Pre-release and force-reinstall support.Massive code refactoring and cleaning.Updated README and LICENSE.New exceptionPIPErrorto handle pip errors.Main class renamed toPackage.More verbose messages.Small code optimizations and improvements.0.2.0:Issue #2, Index did not work when specified.Issue #3, Autoupgrade should not print to console (added verbose flag
to
keep backward compatibility.Issue #4, Support for pip > v0.6 .0.1.5:Issue #1, Extra index did not work for all servers.0.1.4:Fixed bug when version contains characters.0.1.3:Fixed vital fault in v0.1.2 .0.1.2:Setup file fixesRemoved verbose output as default.Return value fixed of methodupgrade.0.1.1:Dependencies updated.0.1.0:Initial release.
Package: auto-usage
Auto UsageInstallationHow to useUsagesubcommand: quickstartAuto UsageA python tool for auto-generating or auto-updating usage of python cli tools.Note: This project was created withCookiecutterand thezhangxianbing/cookiecutter-pypackageproject template.Installation# installpipinstallauto-usage# usagecd/path/to/projectauto-usageHow to useAuto-usage works for python cli tools based onargparse,clickor other scripts that support '--help' option for showing help message like the followingusage.For auto-usage using regex pattern^[uU]sage:to search where the usage beginning, and using^[cC]ommands:\s*$to search where the subcommands beginning, you must make sure your tool's usage following the pattern.As for project structure, you can refer to this project, or just created withCookiecutterand thezhangxianbing/cookiecutter-pypackageproject template.Usageusage: auto-usage [-h] [-V] [-c COMMAND] <command> ...

A python tool for auto-generating or auto-updating usage of python cli tools.

optional arguments:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  -c COMMAND, --command COMMAND
                        main command, default is "python -m auto_usage"

Commands:
  <command>
    quickstart          quickstart for auto-usage.subcommand: quickstartusage: auto-usage quickstart [-h]

optional arguments:
  -h, --help  show this help message and exitNote: This usage is auto-generated byzhangxianbing/auto-usage.
Package: auto-util
Auto UtilA command line tool for image matching.Installpip install auto_util  #(3.7>=python>=3.4)Usageauto_util match --helpUsage: auto_util match [OPTIONS]

  Result: 0 is Ok -101 is Fail -102 is Error

Options:
  --src TEXT         Source image path  [required]
  --search TEXT      The path of the image to be matched  [required]
  --threshold FLOAT  Confidence threshold
  --methods TEXT     Matching algorithm, can pass in multiple
                     [tpl,kaze,brisk,akaze,orb,sift,surf,brief]

  --help             Show this message and exit.
Package: auto-uwsgi
Auto deploy Django projectInstall:pip install auto-uwsgiUsing>>>fromauto_uwsgiimportDeployment>>>deploy=Deployment('<username>','<path to project>','<path to virtual environment>','<domain name or ip>')>>>deploy.start()Change settingSTATIC_URL='static/'STATIC_ROOT=os.path.join(BASE_DIR,'static')Example>>>fromauto_uwsgiimportDeployment>>>deploy=Deployment('nghiem','/home/nghiem/auto-uwsgi/tests/projecttest','/home/nghiem/auto-uwsgi/tests/venv','192.168.0.105')>>>deploy.start()
Package: autovega
# autovegaautovegais an IPython/Jupyter notebook widget for quick visualization of Pandas dataframes using [Vega](https://vega.github.io/) and [Altair](https://altair-viz.github.io/).## UsageImport autovega and callregister_rendererat the top of your notebook.`python import autovega autovega.register_renderer() `Now, whenever Jupyter displays a dataframe, it will also render a GUI for choosing one of several plot types and encodings.Alternatively, to use the widget selectively (without registering it as the default dataframe renderer in Jupyter), use thedisplay_dataframefunction to wrap your dataframes.`python autovega.display_dataframe(df) `## InstallationFollow [Altair’s instructions](https://altair-viz.github.io/getting_started/installation.html) for installing and configuringaltairandvega3. Then install autovega:`bash pip install autovega `Or, for the development version:`bash pip install-egit+https://github.com/baldwint/autovega.git#egg=autovega`## Prior ArtThis module is inspired by [autovizwidget](https://github.com/jupyter-incubator/sparkmagic/tree/master/autovizwidget), which provides a similar functionality using Plotly as backend.
Package: auto-version
masterdevelopThis project consists of a small utility to perform semi-automatic
version number increase.It is designed for use with a version control system likegit.Documentation is available atReadTheDocs. If you want the lastest stable release, please look at thelatestdocumentation. If you want to get information about the latest features, please look at thedevelopdocumentation. For now, I recommand to read thedevelopbranch.ContributingPlease feel free to contribute.If you have a versioning style you would like to be merged in the main repository, and distributed via PyPI, send a pull request.DISCLAIMERWarningThis is ALPHA software. Do not use on critical environments, as it is not safe at all for now. For instance, it may alter any other string matching the current version umber when running the version increment. This is not really likely to happen, but it must be known. A way to fix this problem is being thought.PLEASE READ THE DOCUMENTATION BEFORE ANY USE
Package: autoversioner
AutoversionerVersion: 24.1.6This handy module with auto increment the version and save that to a JSON or .env fileDate versions get set to current Year.Month.Revision23.12.4 -> 24.1.02024.1.4 -> 2024.1.5Semantic versions get patched1.1.1 -> 1.1.2Usage:Short FlagLong FlagDescription-h--helpSee Usage-e--envExport to .env file (/directory/.env)-j--jsonExport to JSON file (/directory/version.json)-d--directoryChoose directory of .env and JSON files-v--versionSemantic version input--majorIncrement major version--minorIncrement minor version--patchPatch versionExample:autoversioner-v'1.10.4'--json--directory'~/Downloads'--envInstallation Instructions:Install Python Packagepython-mpipinstallautoversionerRepository Owners:
Package: auto-vicuna
Auto-VicunaFast Chat and transformers must be installed via requirements file for now.Installing PyTorch and NVIDIA dependenciesFirst, upgrade wheel and friends.pip install --upgrade setuptools pip wheelFor CUDA 11.X:pip install nvidia-cuda-runtime-cu11 --index-url https://pypi.ngc.nvidia.comFor CUDA 12.xpip install nvidia-cuda-runtime-cu12 --index-url https://pypi.ngc.nvidia.comFor PyTorch cu117pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117For PyTorch cu118pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118You might need to add:--upgrade --force-reinstallTo the PyTorch installation commands if you have a previous version of PyTorch installed.LLaMA WeightsIf your weights used LLaMATokenizer you may need a different version of transformers.I have fork that should work located here:https://github.com/BillSchumacher/transformersYou should clone this repo and:pip uninstall transformers
cd path/to/my/transformers/cloned/repo
python setup.py installFor some reason pip install -e . causes issues.If you do that, deletepycache, dist and build folders and try the setup.py method instead.Google Colabhttps://colab.research.google.com/github/BillSchumacher/Auto-Vicuna/blob/main/InteractiveManual.ipynbInteractive manualCheck out the: InteractiveManual.ipynbFor a Jupyter notebook guide.
Package: auto-video-cut
auto_video_cutCreates a new video by cutting some portions of a given video according to the
sound volume level and the level's continuity. I.e. in order for a part of the video
to be taken off, it's sound volume must be under a threshold for a while.Examplefromauto_video_cutimportVideovideo=Video('sample.mp4')video.autoCut('sample-out.mp4')DemoAuto Video Cut Demo (auto_video_cut)
Package: auto-video-cut-ybalcanci
auto_video_cutCreates a new video by cutting some portions of a given video according to the
sound volume level and the level's continuity. I.e. in order for a part of the video
to be taken off, it's sound volume must be under a threshold for a while.Examplefromauto_video_cutimportVideovideo=Video('sample.mp4')video.autoCut('sample-out.mp4')
Package: autowalk
autowalkConfigurable tool of bulking build path for AutoJump and Ranger.
There are2main usage you can choose:馃殌rangerusers: you can bulk build jump remap strings for your file system directories that you had set in autowalk configuration file.馃殌autojumpusers: you can also bulk increase | decrease | clear | list | clean autojump weights for your file system directories that you had set in autowalk configuration file.RequirementsYou need to have the following:馃敟Python3.6 +馃殌autojump(Optional: If you only use Ranger to generate remap, you don't need to install it).Installing馃殌PyPI => AutoWalk:you can usepipto install it directly:pipinstallautowalkUSAGEFor convenience, command:aw:aw-hMore details馃殌Github => AutoWalk
Package: autowallpaper
autowallpaperA python module that allows you to create your own wallpaper setting service.Installation$pipinstallautowallpaperBasic UsageCreate a new Python file.In the file, write your own function (say,my_image_function()).This function should return the URL or file path of the image to be set as wallpaper. This function will be called every time the wallpaper is to be changed.Create an object ofAutoWallpaperwith your function as the argument.Run it withfromautowallpaperimportAutoWallpaperautowallpaper=AutoWallpaper(my_image_function,# other arguments)autowallpaper.start()# Starts the daemonautowallpaper.restart()# Restarts the daemonautowallpaper.stop()# Stops the daemon(OPTIONAL)You can extend classAutoWallpaperand overriderun()to make your own scheduler, that changes wallpaper more frequently, less frequently, etc.You can change where downloaded images and logs are stored using arguments toAutoWallpaper.Demo - NASA APODA working demo implementation is available indemo/nasa_wallpaper.py. This changes the wallpaper every 24 hours to the image featured onNASA's Astronomy Picture of the Day.UsageGet an API key fromthe NASA API website. Save it in a file or just copy it.Movedemo/nasa_wallpaper.pyin the parent directory (so the imports work fine).Run using$ python nasa_wallpaper.py -k [KEY | PATH_TO_KEYFILE] start|stop|restartUse$ python nasa_wallpaper.py -hto see additional optionsTODOsAdd support to source automatically from a folderSimplify command for demoAdd option to save all downloaded images instead of only the latest oneMake logging optionalChange paths for WindowsTest Windows and Linux environmentsAdd support for more environments???
Package: auto-walrus
auto-walrusauto-walrusA tool and pre-commit hook to automatically apply the awesome walrus operator.Installationpip install auto-walrusUsage as a pre-commit hookSeepre-commitfor instructionsSample.pre-commit-config.yaml:-repo:https://github.com/MarcoGorelli/auto-walrusrev:v0.2.2hooks:-id:auto-walrusCommand-line exampleauto-walrus myfile.py-    n = 10-    if n > 3:+    if (n := 10) > 3:print(n)ConfigurationUsing the walrus operator can result in longer lines. Lines longer than what you
pass to--line-lengthwon't be rewritten to use walrus operators.E.g.auto-walrus myfile_1.py myfile_2.py --line-length 89Lines with comments won't be rewritten.Used byTo my great surprise, this is being used by:https://github.com/python-graphblas/python-graphblashttps://github.com/Remi-Gau/bids2citehttps://github.com/TheAlgorithms/PythonAnyone else? Please let me know, or you can open a pull request to add yourself.TestimonialsChristopher Redwine,Senior Software Engineer at TechnologyAdvicehmm, i dunno about this one chiefMichael Kennedy & Brian Okken,hosts of the Python Bytes podcast:I kind of like this being separate from other toolsSomeone on Discordyou're a monsterWill McGugan,CEO / Founder of http://Textualize.io:Embrace the Walrus!CreditsLogo bylion_space
Package: autowatch
watchdog + rsync完成自动同步小工具依赖watchdog安装方法pip install autowatch使用进入配置文件所在目录autowatchme.pyw tricks.yaml会在当前目录生成autowatch.log日志文件，查看日志: tailf autowatch.logtrick.yaml配置实例python-path:
- d:/linux/pyscript

tricks:
- tricks.ShellZCommandTrick:
    source_directory: D:\Workstation\blueking
    target: root@192.168.11.106:/root/workspace"

- tricks.ShellZCommandTrick:
    source_directory: D:\Workstation\blueking\blueking_alarm
    target: root@192.168.11.106:/home/joe/workspace"autowatch.log日志文件2015-04-09 00:14:59,780 [INFO] autowatch.cmd tricks.yaml
2015-04-09 00:14:59,780 [INFO] autowatch.cmd D:\linux\pyscript
2015-04-09 00:14:59,780 [INFO] autowatch.events PatternMatching: ['*tricks.yaml']
2015-04-09 00:14:59,782 [INFO] autowatch.cmd Start AutoWatchYaml Success
2015-04-09 00:15:31,500 [INFO] autowatch.events Start <YamlTrick(Thread-3, started daemon 13400)>
2015-04-09 00:15:31,500 [INFO] autowatch.events YamlTrick: ['D:\\linux\\pyscript\\tricks.yaml']