Saravanan666/pypi-org huggingface dataset:
Package: proxify3
Proxify3A version of the original proxify by Somdev Sangwan that is compatable for recent versions of python.  I was recommended his tool, but upon trying to get it from pip/pip3 I encountered version errors. So I decided to download his source code, see the compatability problem, fix it, and reupload it to PyPi as proxify3 as the original package is a few years old and they haven't answered to 2 year old user complaints from 2019, since im having the same problem now in December 2021.  Hopefully I'll be more responsive if people want me to make it more backwards compatable, change the implementation, add a function and things like that since I intend to use this package myself.other than that as far as code modification you can see the commit log in the proxify repo that I forked off the original people who made it, when I tried to run some functions from the original proxify.py that was throwing the versioning error(when you tried to use pip to install it) it had an out of bounds error on the list in list2dict:"it might be because the original author was using an older version.  But problem is that in the list2dict, for some proxy types there may not be an x[7].  Perhaps its due to the implementation of the underlying modules like urllib and re changed after python 2.8 since the error from pip, pip3 is "ERROR: Package 'proxify' requires a different Python: 3.7.9 not in '<=2.8,>=2'"My intent in the use of this package is to be able to bypass API/Request limits when webscraping, for example my laptop has 4 cores, so web scraping tasks in theory could get a 4x speed up if you could use all the cores and assign them jobs cleverly if it wasn't for the target website logging IP addresses and User Agents.  But since this package will generate you a list of proxys to essentially feed as a parameter into the requests module(these proxys will be dirty in all likelihood so use with caution, probably they are used excessively in illicit activities, but I don't imagine that will inhibit anyone trying to scrape government websites or listing websites) you can get around that.Nothing I have mentioned constitutes legal advice, and any reprocussions any individual faces from either their direct usage of this module, or its use in other applications is solely their own responsibility.  By using this you agree that I am not liable since I am simply bug/version fixing an already existing piece of code. Aside from that, see the original authors README for documentation and usage:https://github.com/s0md3v/proxify
Package: proxifyapps
wrapper for proxifyreTested against Windows 10 / Python 3.10 / Anaconda and Ubuntupip install proxifyappsapp_infos={"logLevel":"all","proxies":[{"appNames":[r"C:\Program Files\Mozilla Firefox"],# folder or name"socks5ProxyEndpoint":"127.0.0.1:1080","username":None,"password":None,"supportedProtocols":["UDP",'TCP'],},{"appNames":[r"Chrome"],# folder or name"socks5ProxyEndpoint":"127.0.0.1:1081","username":None,"password":None,"supportedProtocols":["UDP",'TCP'],},],}proxify_apps(app_infos,print_log=True)# always use ctrl+c to kill the process
Package: proximatic
ProximaticPython API for managing Proximatic configuration files.When installed, theproximaticcommand provides a CLI for managing Proximatic configuration.This Python package provides the core for the Proximatic system.If you are looking for the turn-key production deployment of Proximatic, seehttps://github.com/LunkRat/proximatic.InstallationpipinstallproximaticUsageCommand Line Interface (CLI)Open a Terminal and type:proximaticUseproximatic --helpfor available commands and options.Python API programmatic interfacefromproximaticimportProximaticproximatic=Proximatic(yml_dir='/path/to/your/proximatic/data',fqdn='example.org')JSON REST API interfaceYou can run the (experimental) REST API on your localhost by typing the command:proximatic-httpIt will try to open your browser tohttp://localhost:8000LicenseThe MIT License (MIT)AuthorLink Swanson (LunkRat)
Package: proximityhash
ProximityHash: Geohashes in Proximity (with the option of compression usingGeoraptor)Geohash is a geocoding system invented by Gustavo Niemeyer and placed into the public domain. It is a hierarchical
spatial data structure which subdivides space into buckets of grid shape, which is one of the many applications of
what is known as a Z-order curve, and generally space-filling curves.ProximityHashgenerates a set of geohashes that cover a circular area, given the center coordinates and the radius.
It also has an additional option to useGeoRaptorthat creates the best combination of geohashes across various
levels to represent the circle, starting from the highest level and iterating till the optimal blend is brewed. Result
accuracy remains the same as that of the starting geohash level, but data size reduces considerably, thereby improving
speed and performance.Usage$ proximityhash -husage: proximityhash [-h] [--georaptor GEORAPTOR] [--minlevel MINLEVEL]
                   [--maxlevel MAXLEVEL]
                   latitude longitude radius precision_level

positional arguments:
    latitude              latitude of the center point
    longitude             longitude of the center point
    radius                radius of coverage in metres
    precision_level       geohash precision level

optional arguments:
    -h, --help            show this help message and exit
    --georaptor GEORAPTOR georaptor flag to compress the output (default: false)
    --minlevel MINLEVEL   minimum level of geohash if georaptor set to true(default: 1)
    --maxlevel MAXLEVEL   maximum level of geohash if georaptor set to true(default: 12)Example$ proximityhash 48.858156 2.294776 1000 7$ proximityhash 48.858156 2.294776 2000 7 --georaptor true$ proximityhash 48.858156 2.294776 2000 7 --georaptor true --minlevel 3 --maxlevel 6InstallationTo install proximityhash, simply:$ pip install proximityhashLicense:Licensed under the Apache License, Version 2.0.Copyright 2017 Ashwin Nair <https://www.linkedin.com/in/nairashwin7>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.Contributors:Ashwin Nair [https://github.com/ashwin711]Arjun Menon - [http://github.com/arjunmenon92]
Package: proximus
BBOX3 APIThis API have been written in Python using Selenium, Firefox and Geckodriver. It can works on a server (headless)Setting upInstall Firefoxsudoapt-keyadv--keyserverkeyserver.ubuntu.com--recv-keysA6DCF7707EBC211F
sudoapt-add-repository"deb http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu bionic main"sudoapt-getupdate
sudoapt-getinstallfirefoxInstall Geckodriverwgethttps://github.com/mozilla/geckodriver/releases/download/v0.28.0/geckodriver-v0.28.0-linux64.tar.gz
tarxfvzgeckodriver*.tar.gz
sudomvgeckodriver/usr/bin/geckodriverInstall Python3 and Pip3sudoapt-getupdate
sudoapt-getinstallsoftware-properties-common
sudoadd-apt-repositoryppa:deadsnakes/ppa
sudoapt-getinstallpython3python3-pipInstall Seleniumpip3installseleniumInstall this APIpip3installproximusQuickstart# Load the module, open the browser and login (mandatory at the start)fromproximusimport*b=newInstance(headless=True)login(b,"yourpassword")# What you want to execute (you can find all the functions below)toggleHotspot(b)# Close the browser (mandatory at the end)b.close()DocumentationTo get the documentation, simply run:importproximushelp(proximus)
Package: proxine
ProxineProxy engine for Python.Basic usageCheck proxies one by one:importrequestsfromproxine.sourcesimportget_allproxies=get_all()forproxyinproxies:try:r=requests.get("https://httpbin.org/ip",proxies={"http":proxy.to_string(),"https":proxy.to_string(),},timeout=5,)print("OK",proxy)exceptException:print("ERROR",proxy)
Package: proxipy
Need proxy? You`re welcome.To parse really big site in a small amount of time you need to make hundreds of requests concurrently and not being banned(that’s mainly impossible to do from one IP).So,proxipycould help you with this.It returns a random proxy(or list of proxies)to use it directly in requests module.Installation$pipinstallproxipyUsageFirst, we need to import our module (and/orrequests):>>>fromproxipyimportproxipy>>>importrequestsAnd use itwith/out filters:>>>prox=proxipy()>>>prox{'http':...,'https':...}>>>req=requests.get('http://httpbin.org/get',...proxies=proxipy(country='US',port=8080))>>>req<Response[...]>
Package: proxlist
ProxlistRetrieve free, open-source proxy servers.Finding and storing a list of proxies can be taxing - especially ones that are free and actually work.proxlistwill validate and return a rotating random proxy so you don't need to keep a list of proxies or ensure the list is still valid.Proxies are returned in the form of strings (eg:ip:port).These proxies come from all over the world and may not be performant for a production application. Instead, you should use a paid proxy service or a self-hosted solution. This package is intended for testing purposes and there are no guarantees about where the data sent through these proxies goes or how it's handled. The list and quality of proxies rotates rapidly - your mileage may vary.Install# Install toolpip3installproxlist# Install locallyjustinstallUsageimportproxlistimportrequests# Get a random proxyproxy=proxlist.random_proxy()# You can also filter proxies by country or google_verifiedproxies=proxlist.random_proxy(country='US',google_verified=True)# Alternatively, you could get the entire list of current proxies (and could optionally filter them like above)proxies=proxlist.list_proxies()# Depending on the proxy and your location in the world, you may need to adjust the timeout# to provide the proxy enough time to route your request. Additionally, some of these proxies# may be unstable - adding retry logic is highly recommended. Caching a working proxy is also# a good idea with a fallback of retrying if the cached proxy no longer works or times out.response=requests.get('https://google.com',proxies={'http':f'http://{proxy}','https':f'http://{proxy}',},timeout=10,)print(response.text)Development# Get a comprehensive list of development toolsjust--list
Package: proxmark3py
proxmark3pyA proxmark3 library base onpyserialinstallpython3 -m pip install proxmark3pyUsagelist available portspython-mserial.tools.list_portsInitializeproxmark3importproxmark3adapter=proxmark3.Proxmark3Adapter('/dev/cu.usbmodemiceman1')# change to your proxmark3 serial portpm3=proxmark3.Proxmark3(adapter)
Package: proxmox-backup-removable-datastore
proxmox-backup-removable-datastoreThis program launches the jobs configured in Proxmox Backup Server (Sync, Prune, Garbage) and ejects the removable device at the end of the process. It synchronises the PBX datastore on a removable device such as an RDX tape.Requirementsproxmox-backup-manager ≥ 3.0python ≥ 3.9pipFor Debian Systemsudoaptinstallpython3python3-pipInstallpython3-mpipinstallproxmox-backup-removable-storageUsageHowtoYou can find howto to configure removable storage, tasks, and more on the./docsdirectory.LicenceGPL-3.0-or-later
Package: proxmoxer
master branch:develop branch:Proxmoxer is a python wrapper around theProxmox REST API v2.
It currently supports the Proxmox services of Proxmox Virtual Environment (PVE), Proxmox Mail Gateway (PMG), and Proxmox Backup Server (PBS).It was inspired by slumber, but it is dedicated only to Proxmox. It allows not only REST API use over HTTPS, but
the same api over ssh and pvesh utility.LikeProxmoxia, it dynamically creates attributes which responds to the
attributes you’ve attempted to reach.Full Documentation is available athttps://proxmoxer.github.io/docs/Migrating to version 2Full instructions for the minimal steps needed to update to version 2 can be found inMigration Docs.Installationpip install proxmoxerTo use the ‘https’ backend, install requestspip install requestsTo use the ‘ssh_paramiko’ backend, install paramikopip install paramikoTo use the ‘openssh’ backend, install openssh_wrapperpip install openssh_wrapperShort usage informationThe first thing to do is import the proxmoxer library and create ProxmoxAPI instance.from proxmoxer import ProxmoxAPI

proxmox = ProxmoxAPI(
    "proxmox_host", user="admin@pam", password="secret_word", verify_ssl=False
)This will connect by default to PVE through the ‘https’ backend.Note: ensure you have the required libraries (listed above) for the connection method you are usingQueries are exposed via the access methodsget,post,putanddelete. For convenience two
synonyms are available:createforpost, andsetforput.Using the paths from thePVE API v2, you can create
API calls using the access methods above.>>> for node in proxmox.nodes.get():
...     for vm in proxmox.nodes(node["node"]).openvz.get():
...         print "{0}. {1} => {2}".format(vm["vmid"], vm["name"], vm["status"])
...

141. puppet-2.london.example.com => running
101. munki.london.example.com => running
102. redmine.london.example.com => running
140. dns-1.london.example.com => running
126. ns-3.london.example.com => running
113. rabbitmq.london.example.com => runningSee Changelog inCHANGELOG.md
Package: proxmox-pci-switcher
Proxmox PCI SwitcherSwitch among Guest VMs organized byResource Pool.main features:ONEGPU card,NOS (at once)Guest VM command clientHandler power offReset framebufferTOCProxmox ConfigurationCreate Resource PoolAssign Guest VMInstall Proxmox SnippetProxmox ConfigSnippet VariablesAssign VM to SnippetGuest Client SwitcherList ResourcesSwitch ResourceUsing GUIProxmox ConfigurationCreate Resource PoolAssign Guest VMInstall Proxmox Snippetcurl-fsSLhttps://github.com/rosineygp/proxmox-pci-switcher/releases/latest/download/pci-group-switcher.sh>pci-group-switcher.sh# set execution permissionchmod+xpci-group-switcher.sh# move for your snippets <storage>/<folder>Proxmox ConfigSnippet VariablesNAMEDefaultDescription_POOL_NAME *<auto_discovery>The name ofResource Pool_SHUTDOWN_TIMEOUT300Checking if resource was released (Current VM Running is down)_RESET_GPU_FRAMEBUFFERtrueReset GPU framebuffer_PIN_CPU_IDSfalsePin CPU usingtaskset(syntax equals taskset cpu-list parameter)_RENICE_PRIORITYfalseRenice process usingreniceAll variables must be changed inpci-group-switcher.shat proxmox ve._POOL_NAME* By default it will scan for VMID in all Resource Pools, in case of long delays replace function call to Resource Pool name (eg. desktop, gpu, ...).The following variables can be passed using/etc/pve/qemu-server/<vmid>.varsfile, the script will load variables from file if it exists.If you need to overwrite an Default value set at/etc/environmentthe variable name without the_prefix. (eg. RESET_GPU_FRAMEBUFFER=false)Assign VM to Snippetqmset<vmid>-hookscript<storage>:snippets/pci-group-switcher.shAfter proxmox configuration is possible to switch using proxmox api or web interface.Guest Client Switcherrequirements: python 3pipinstallproxmox-pci-switcher# create config foldermkdir-p~/.config/proxmox-pci-switcher/# create config filecat<<EOF > ~/.config/proxmox-pci-switcher/config.yamlproxmox:host: '<ip or dns>'user: '<user>@<method>'password: '<password>'api_id: '<name>'          # only for api accessapi_token: '<token>'      # only for api accessverify_ssl: falsegui:                        # optionaltheme: Dark               # Light or Darkpools:- '<desktop>'- '<gpu-nvidia>'- '<gpu-amd>'EOFEditconfig.yamlwith your proxmox credentials and pools.API access has priority over user and password access.List Resourcesproxmox-pci-switcherlist

pool(s)vmidnamestatustype---------------------------------------------
desktop119catalinastoppedqemu
desktop116win10-desktopstoppedqemu
desktop117mini-desktopstoppedqemu
desktop103u20-desktoprunningqemu
desktop115u20-srv-desktopstoppedqemuSwitch Resource# run command directlyproxmox-pci-switcherswitchwin10-desktop# create a alias for better experiencealiaswindows="proxmox-pci-switcher switch win10-desktop"# and just runwindowsUsing GUIproxmox-pci-switchergui
Package: proxop
Proximity Operator RepositoryProximity operators have become increasingly important tools as basic
building blocks of proximal splitting algorithms, a class of algorithms
that decompose complex composite convex optimization methods into simple
steps involving one of the functions present in the model. This package provides
implementations of the proximity operator of various
functions (function of scalar variable or multivariate,convex and non-convex functions,
indicator functions...).For more information see thefull projectcontaining technical details, a tutorial and code implantation in matlab.InstallationTo install package (require python 3.8.0 or a later version):pip install proxopTo update, one should add the option "--upgrade":pip install proxop --upgradeHow to use it ?To import the package:import proxopPlease visit ourwebsitefor more tutorial and more details.Examples:Evaluates the function 'AbsValue':
>>> import proxop
>>> proxop.AbsValue()(-3)
3Use a scale factor 'gamma':
>>> proxop.AbsValue(gamma=2)(-3)
6When the input is a vector, the result is the sum of the outputs obtained by applying the function to each element :>>> from proxop import AbsValue
 >>> import numpy as np
 >>> AbsValue()( np.array([-1, 2, 3., -4.]) )
 10.0Compute the proximity operator by using the method 'prox' :>>> AbsValue().prox( 3)
2
>>> AbsValue().prox(np.array([ -3., 1., 6., 3.]))
array([-2.,  0.,  5., 2.])Use a scale factor 'gamma'>0 to commute the proximity operator of  th function "gamma*f" :>>> AbsValue(gamma=2).prox([ -3., 1., 6.])
 array([-1.,  0.,  4.])Example 2: Projection onto a setSince proximity operator is a generalization of the notion of projection onto a (convex) set,
one can easily interpret the result with an indicator function. For example, the affine barrier is defined as:/ -log(b- a.T*x)    if u.T*x < b
            f(x) =|
                   \   + inf            otherwise


 >>> import numpy as np
 >>> from proxop import AffineBarrier
 >>>
 >>> x=np.array([1,2,3])
 >>> a= np.array([-1, 5, 3])
 >>> b= 3.5
 >>> AffineBarrier(a,b)(x)
 infThe result below is infinite, which means 'x' does not belong to the affine set.Projection of 'x' onto the affine set:>>> px= AffineBarrier(x,b).prox(x) 
 >>> px
 >>> AffineBarrier(a,b)(px)
 0.61828190224889As expected, the result is finite, meaning the projection of 'x' belongs to the affine set.Example 3: Matrix variable>>> x=np.arange(6)
 >>> x=x.reshape((2,3))
 >>> x
 array([[0, 1, 2],
       [3, 4, 5]])
 >>> a =np.ones_like(x)
 >>> a[0,:]=2
 >>> a
 array([[2., 2., 2.],
        [1., 1., 1.]])
 >>> b=np.array([-1, 2, 4])Set 'axis=0' to process along the rows of the matrix 'x' (note the dimension of 'b'
must be compatible with the shape of 'x'):>>> AffineBarrier(a,b, axis=0)(x)
 infProjection of x onton the affine set:>>> px = AffineBarrier(a,b, axis=0).prox(x)  
 >>> AffineBariier(x,b, axis=0)(px)
  0.157704693902156
Package: proxr-protocol
proxr-protocolA sans I/O Python implementation of theProXR Protocol.IntroductionThis Python package contains tooling for encoding and decoding bytestrings for communication with ProXR peripherals.
ProXR has been implemented using a variety of transport layers---XBee, UART, Ethernet, etc.
In persuit of simplicity and reusability, this package does not contain any interface capabilities.
Use something likepySerialfor transport.
Read thesans I/O manifestofor more motivation regarding this design pattern.MaintainersBlaise Thompson
Package: proxsurv
PBSA : Proximity Based Survival AnalysisDue to some uncertain cause we had to retract the package, this will bw made avaialble after December,2024.Proximity Based Survival Analysis are algorithms, designed for survival prediction
using proximity information. The k-NN survival, Random Survival Forest, Kernel Survival
are some examples of proximity based survival analysis. While this package tends
to provide those algorithms later, currently the package provides the following algorithms:COBRA SurvivalFor now other algorithms are taken from scikit-survival and np_survival to provide as
a base learner for the ensemble algorithms.installationpip install proxsurvThe documentation is available athttps://pbsa.readthedocs.io/en/latest/
Package: proxtop
Proxmox resource monitorProxtop lists the top resource consumers of your Proxmox VM platform.It will list columns of the top users of these resources:cpudiskreaddiskwritenetinnetoutIMPORTANT CHANGES IN proxtop 0.3.0:Shows only one of AVERAGE, MEDIAN, MAX now. See the -g option.The –partial-match option has been removed in favor of globbing
(e.g.*server-name*).The default output is now MEDIAN.IMPORTANT CHANGES IN proxtop 0.2.0:The default port is now 443. This was tested with Proxmox 4.0-57.
If you want the old default port 8006 back, you may append “:8006”
to the hostname.The VM container type is now used in the REST path: i.e./qemu/(or lxc) instead of/openvz/.Quick jumpInstallationExampleLicenseFutureInstallationVia pip:$pipinstallproxtopVia git:$pipinstallproxmoxer# tested with 0.1.7 and 0.2.0$pipinstallrequests# tested with 2.2.1 and 2.5.3$gitclonehttps://github.com/ossobv/proxtop.git$cdproxtop$pythonsetup.pyinstallExample$./proxtop-tdayproxmox.example.com:8006monitor@pvePassword:<enter password>
SORTED BY: diskread, avg
------------------#0:3.1MiB/spve10(acme-bugs-bunny)#1:1.3MiB/spve07(customerX-private)#2:992.3KiB/spve10(acme-road-runner)...
SORTED BY: cpu, max
------------------#0:91%pve07(customerX-private)#1:89%pve10(acme-bugs-bunny)#2:66%pve10(acme-elmer-fudd)See the help for more options:usage: proxtop [-h] [-T TOP] [-t TIMEFRAME] [-g AGGREGATION]
               [--only-storage ONLY_STORAGE]
               hostname username [only_vms [only_vms ...]]

proxtop lists the top resource consumers on your Proxmox VM platform.

positional arguments:
  hostname              Use this API hostname (e.g. proxmox.example.com[:443])
  username              Use this API username (e.g. monitor@pve)
  only_vms              Limit results to these VM names (globbing is allowed)

optional arguments:
  -h, --help            show this help message and exit
  -T TOP, --top TOP     Limit results to TOP VMs
  -t TIMEFRAME, --timeframe TIMEFRAME
                        Timeframe, can be one of: hour* | day | week | month |
                        year
  -g AGGREGATION, --aggregation AGGREGATION
                        RRD aggregation, can be one of: AVERAGE | MAX |
                        MEDIAN*
  --only-storage ONLY_STORAGE
                        Filter VMs by storage glob (e.g. "nfs03*")

Default values may be placed in ~/.proxtoprc. Lines should look like:
hostname=HOSTNAME, username=USERNAME, password=PASSWORDLicenseproxtop is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, version 3 or any later version.FuturePossible future enhancements:Explain how server-side AGGREGATION affects the values
(or perhaps remove the AVG/MAX subtypes and show only one, based
on -g).Add alternate modes of output?Limit results to only one item (cpu, diskread, …)?