Saravanan666/pypi-org huggingface dataset:
Package: ul-py-tool
ul-py-toolThis library allows to bootstrap Python UnicLab project from scratch.
It provides a set of useful CMD commands mapping inmain.pyfile.defmain()->None:Cmd.main({'code_stats':'ul_py_tool.commands.cmd_stats:CmdStats','minor':'ul_py_tool.commands.cmd_version:CmdVersionMinor','major':'ul_py_tool.commands.cmd_version:CmdVersionMajor','patch':'ul_py_tool.commands.cmd_version:CmdVersionPatch','lint':'ul_py_tool.commands.cmd_lint:CmdLint','install':'ul_py_tool.commands.cmd_install:CmdInstall','test':'ul_py_tool.commands.cmd_test:CmdTest','fmt':'ul_py_tool.commands.cmd_fmt:CmdFmt','release':'ul_py_tool.commands.cmd_release:CmdRelease','test_secrets':'ul_py_tool.commands.cmd_test_secrets.py:CmdTestSecrets','build-images':'ul_py_tool.commands.cmd_build_images:CmdBuildImages','outdated':'ul_py_tool.commands.cmp_outdated:CmdOutdated','cleanup':'ul_py_tool.commands.cmd_cleanup:CmdCleanup','fix_own':'ul_py_tool.commands.cmd_fix_own:CmdFixOwn',})This maps the code of the CMD command to its name. After mapping, we can use a command like this:python-mFOLDER_NAME_WHERE_MAIN_PY_LOCATEDcommand_name
python-msrcrun_some_script# main.py located in src/ rootCommandDesriptionCmdBase class. Each command should inherit from it and provide methodrun().CmdStatsCommand that provides us statistics about service, lines of code written, etc.CmdVersionCommand that applies a versioning to setup.py (major, minor, patch).CmdTestCommand that runs tests.CmdReleaseCommand for making a release.CmdLintCommand to run lint (different steps).CmdFmtCommand to apply formatting (black, isort (to be implemented)).CmdBuildImagesCommand that helps to build & push to the registry Docker images.CmdInstallGenerates project files, configs, pre-commits, etc.
Package: ultan
ultan“You know old Ultan, I take it? No, course not. If you did, you’d know the way to the library.”— The Shadow of the Torturer, Gene Wolfeultanis a Python identifier and documentation provider. It has two main
services:It can list all identifiers available in your current Python environment.It can provide docstrings for names.This may not sound very spectactular, and it’s not. The main trickultanaims for is being able to provide a comprehensive list of identifiers,even for
modules which are not imported. It uses various strategies to scan your
installed packages for identifiers, doing things, for example, like parsing
source files into ASTs and looking for assignments.Why?ultanis supposed to scratch a specific itch: being able to do completion on
identifiers which aren’t actually available in the current namespace. For
example, if I’m coding along and want to adduuid.uuid1(), standard
completers won’t give me that completion unless I’ve already importeduuid.ultanwill know aboutuuid.uuid1()even if you haven’t importeduuid, so you can get the completion.This may be a terrible idea! But I want to give it a try.Testsultanusestoxto run its tests. Here’s that works:$ pip install -e .[test]
$ toxThere are more details to it, of course, but you can learn about those by
reading thetoxdocumentation.
Package: ultima
Ultima - intuitive parallelmap()for PythonWhat is it?ultimais a Python package that provides a simple yet powerful interface to domap()in parallel.
It usesconcurrent.futuresas its execution backend and can run tasks in either threads or sub-processes.
It is designed to squeeze maximum performance (let those CPUs burn 🔥) with the same simple interface.Usage examples:Run a heavy function in sub-processes:fromultimaimportWorkforceinputs=open("input_data.txt")withWorkforce()aswf:forresultinwf.map(cpu_intensive_function,inputs):...An equivalent one-liner:fromultimaimportultimapforresultinultimap(cpu_intensive_function,inputs):...The default backend is multiprocessing, but you can easily use threads instead:fromultimaimportultimapforresultinultimap(io_bound_function,inputs,backend='threading',n_workers=64):...To chain an IO-intensive task with a CPU-intensive task:fromultimaimportultimapdefio_intensive(url):importrequestsreturnrequests.get(url).textdefcpu_intensive(page):importhashlibreturnhashlib.sha1(page.encode()).hexdigest()urls=open("urls.txt")webpages=ultimap(io_intensive,urls,backend='threading',n_workers=64)hashes=ultimap(cpu_intensive,webpages,backend='multiprocessing')print(len(set(hashes)))You can also map a function recursively:fromultimaimportultimapdefvisit(graph,node,add_input):forchild_nodeingraph.get_children(node):add_input(graph,child_node)returnf"visited{node}"print(list(ultimap(visit,[(graph,graph.root)],recursive=True)))
Package: ultimaker-printer-api
python-ultimaker-printer-apiAn Ultimaker Printer API Client implementation in Python derived from Swagger documentation (see http://printer_ip/docs/api/) and request testingUsagefromultimakerimportPrinter,Identity,CredentialsDictIDENTITY=Identity('Application','Anonymous')IP='192.168.1.18'PORT=80credentials_dict=CredentialsDict('credentials.json')printer=Printer(IP,PORT,IDENTITY)printer.save_credentials(credentials_dict)credentials_dict.save()printer.put_system_display_message("It's over, Anakin!","Acquire high ground")mDNSIf your local network supports mDNS (some school/corproate networks disable it), printers can be automatically discovered with the zeroconf package.
Package: ultimapy
ultimapyultimapy is a python library for rendering images from the Ultima Online client files. The SDK part of the project is almost a direct 1:1 code translation of the C# Ultima SDK (used by UOFiddler, among other things).Why?The C# SDK does not run with mono due to implementations being missing from the underlying libraries. Attempts to get this to run in dotnet core or using mono have never been successful. Rewriting this code in Python allows the code to be used in a linux environment, for the most part out of the box. Since Python has many available popular open source web frameworks, this library allows you to serve up images directly in code used by your web framework of choice.It also includes some features not seen anywhere else, such as the rendering of player avatars. Items & paperdolls have been done before in PHP, but that code is difficult to read and edit, whereas this library takes a much more flexible and simple approach (the same as which is used in the C# SDK). This lib even fixes a few rendering bugs which are present in the C# SDK.Featuresultimapy can currently do the following:Render land, statics. This includes rendering of in game items.Render "animations" or single frames of animations. This includes monsters and players, though player construction is done by rendering the mount, body, hair and clothing layers in order.Draw text from the client (eg, ASCIIFont).Extract information about skills - naming, groups, indexes.Rendering paperdolls / individual gumpsUnimplemented featuresUOP support is not planned, which limits the client version.InstallationInstall ultimapy to your project with:pip install ultimapyYou must specify your Ultima Online client directory by any of the following methods:environment.ini- add the lineULTIMA_FILES_DIR=/path/to/ultimaDjango - add into settings.py:ULTIMA_FILES_DIR=/path/to/ultimaSpecify an environment variableULTIMA_FILES_DIRwith the value/path/to/ultimaSettingsAs above, settings can be set through any of the methods that theULTIMA_FILES_DIRcan be set by (environment.ini, Django settings, environment variable).Currently there are only 2 settings:ULTIMA_FILES_DIR, this is the path to your Ultima Online directory. This has no default and will not read from registry.ULTIMA_MOUNT_IDS, if loaded via environment, should be a valid json list of all possible mount IDs. If set in Django, can simply be set up as a list. This has a default of mounts that are found in the 5.0.8.3 client.How to use ultimapyExample of creating an image:from ultimapy.ascii_font import ASCIIFont

img = ASCIIFont.FONTS[3].get_string_image("Hello world")
img.save("HelloWorld.bmp")
Package: ultimate
ultimateA scikit-learn compatible neural network implementationInstallationpip install ultimateWhy Ultimate?Support feature importanceSupport missing valuesSupport am2x/a2m2x activation functionsSupport softmax/hardmax/mse/hardmse loss functionsSupport fc/add/conv/star operationsHow To Use?# let's use a simple example to learn how to use
from ultimate.mlp import MLP
import numpy as np

# generate sample
X = np.linspace(-np.pi, np.pi, num=5000).reshape(-1, 1)
Y = np.sin(X)
print(X.shape, Y.shape)

# fit and predict
mlp = MLP(layer_size=[X.shape[1], 8, 8, 8, 1], rate_init=0.02, loss_type="mse", epoch_train=100, epoch_decay=10, verbose=1)

mlp.fit(X, Y)
pred = mlp.predict(X)

# show the result
import matplotlib.pyplot as plt  
plt.plot(X, pred)
plt.show()
Package: ultimateEda
ultimateEdaWith This Library  You can do the EDA(Exploroty data analysis)version0.0.1Authors@RANJIT_MAITYReales Date13-02-2022BadgesðŸš€ About MeI Am Ranjit From INDIA, a Certified Data scientist , Data Engineer by professional  with hands-on experience of more than 1year and 2months ,on ML> NLP> Data mining > Neural Networks > ModeL Deployment>ETL.
Give me raw data and I'll return you insights, problems to be rectified and enhancements to achieve the target. I am always on the lookout for new projects to work And
Am Always Happy â˜» To Play With DataðŸ”— LinksDemoYOU HAVE TO CALL THE EDA finction and pass your DATAFRANE(DF).
cool SEAT BACK RELAX.Usage/Examples!pipinstallultimateEdaimportultimateEdaasueresult=ue.eda.EDA(df)#Your Dataframe#It will return a Dataframeresult#to look to the result dataframe
Package: ultimate-holdem
Ultimate Texas HoldemThis repository contains code that leverages the pyo3 crate from Rust which compiles into native python code.
The core engine of the Ultimate Texas Holdem game and all its properties such as the Players, Cards, Game Logic and Wagering system is designed and implemented in Rust. The pure python code contains a wrapper layer which allows for the actual interaction with the console / user.PhasesCreate a Command Line Interface Version of the GameWrap CLI into GUISend Logs as unstrcutred data to MongoDB Cloud Atlas DatabaseContainerize (w/ Docker)Deploy on AWS Kubernetes Cluster
Package: ultimate-hosts-blacklist-central-repo-updater
This is the branch which contain the tool which we use to update ourcentral repository.Installation$ pip3 install --user ultimate-hosts-blacklist-central-repo-updaterUsageThe sript can be called asuhb-central-repo-updater,uhb_central_repo_updaterandultimate-hosts-blacklist-central-repo-updater.usage: uhb_central_repo_updater [-h] [-m] [-p PROCESSES]

The tool to update the central repository of the Ultimate-Hosts-Blacklist
project.

optional arguments:
    -h, --help            show this help message and exit
    -m, --multiprocessing
                            Activate the usage of the multiprocessing.
    -p PROCESSES, --processes PROCESSES
                            The number of simulatenous processes to create and
                            use.

Crafted with ♥ by Nissar Chababy (Funilrys)LicenseMIT License

Copyright (c) 2019 Ultimate-Hosts-Blacklist
Copyright (c) 2019 Nissar Chababy
Copyright (c) 2019 Mitchell Krog

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: ultimate-hosts-blacklist-comparison
This is the branch which contain the tool which let us compare a given list with our infrastructure.Installation$ pip3 install --user ultimate-hosts-blacklist-comparisonUsageThe sript can be called asuhb-comparison,uhb_comparisonandultimate-hosts-blacklist-comparison.usage: ultimate-hosts-blacklist-comparison [-h] [-c] [--clean] [-f FILE]
                                       [-l LINK] [--verbose]

A script to compare a given link or file to Ultimate Hosts Blacklist
infrastructure.

optional arguments:
    -h, --help            show this help message and exit
    -c, --cache           Use cache if exist.
    --clean               Clean the given file/link with our official whitelist
                            tool before processing.
    -e, --export          Produce a JSON file with all complete information -
                            including the list or domains and IPs which are not
                            present.
    -f FILE, --file FILE  File to compare.
    -l LINK, --link LINK  Link to compare.
    --verbose             Run in verbose mode.

Crafted with ♥ by Nissar Chababy (Funilrys)
Package: ultimate-hosts-blacklist-deployment-launcher
The deployment launcher of the Ultimate-Hosts-Blacklist.Installation$ pip3 install --user ultimate-hosts-blacklist-deployment-launcherUsageThe launcher can be called asuhb-deployment-launcher, orultimate-hosts-blacklist-deployment-launcher.usage: ultimate-hosts-blacklist-deployment-launcher [-h] [-d] [-v]

The deployment launcher of the Ultimate Hosts Blacklist project.

optional arguments:
    -h, --help     show this help message and exit
    -d, --debug    Activates the debug mode.
    -v, --version  Show the version end exits.

Crafted with ♥ by Nissar Chababy (Funilrys)LicenseMIT License

Copyright (c) 2017, 2018, 2019, 2020, 2021, 2022 Ultimate-Hosts-Blacklist
Copyright (c) 2017, 2018, 2019, 2020, 2021, 2022 Nissar Chababy
Copyright (c) 2017, 2018, 2019, 2020, 2021, 2022 Mitchell Krog

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: ultimate-hosts-blacklist-input-repo-updater
This is the branch which contain the tool which we use to update and test each input sources repositories.Installation$ pip3 install --user ultimate-hosts-blacklist-input-repo-updaterUsageThe sript can be called asuhb-input-repo-updater,uhb_input_repo_updaterandultimate-hosts-blacklist-input-repo-updater.usage: uhb_input_repo_updater [-h] [-d] [-m] [-v]

The tool to update the input repositories of the Ultimate-Hosts-Blacklist
project.

optional arguments:
    -h, --help          show this help message and exit
    -d, --debug         Write all debug information to stdout.
    -m, --multiprocess  Activate the usage of multiple processes.
    -v, --version       Show the version end exist.

Crafted with ♥ by Nissar Chababy (Funilrys)LicenseMIT License

Copyright (c) 2019 Ultimate-Hosts-Blacklist
Copyright (c) 2019 Nissar Chababy
Copyright (c) 2019 Mitchell Krog

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: ultimate-hosts-blacklist-test-launcher
The test launcher of the Ultimate-Hosts-Blacklist project.Installation$ pip3 install --user ultimate-hosts-blacklist-test-launcherUsageThe launcher can be called asuhb-test-launcherorultimate-hosts-blacklist-test-launcherusage: ultimate-hosts-blacklist-test-launcher [-h] [-d] [-v]

 The test launcher of the Ultimate-Hosts-Blacklist project.

 optional arguments:
     -h, --help     show this help message and exit
     -d, --debug    Activates the debug mode.
     -v, --version  Show the version end exist.

 Crafted with ♥ by Nissar Chababy (Funilrys)LicenseMIT License

Copyright (c) 2019, 2020, 2021 Ultimate-Hosts-Blacklist
Copyright (c) 2019, 2020, 2021 Nissar Chababy
Copyright (c) 2019, 2020, 2021 Mitchell Krog

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: ultimate-hosts-blacklist-the-whitelist
This is the branch which contain the script which we use to whitelist domains or IP into our infrastructure.Installation$ pip3 install --user ultimate-hosts-blacklist-the-whitelistComplementary whitelistOur script allow us to link one or more file(s) to the system which will be used in complementary of our whitelist list.Special markersIf you already used a whitelist list you already know that we generaly only list all domains we want to whitelist one by one.It’s also possible to do that with our whitelisting system but we can do more.ALLTheALLmarker will tell the system to escape and regex check againt what follows.INVALID characters$As we automatically append$to the end, you should not use this character.\\As we automatically escape the given expression, you should not explicitly escape your regular expression when declaring anALLmarker.REGTheREGmarker will tell the system to explicitly check for the given regex which follows the marker.RZDTheRZDmarker will tell the system to explicitly check for the given string plus all possible TDL.Understanding what we actually doIf we have the following secondary whitelist list:facebook.com
ALL .gov
REG face
RZD ebayour system will actually :Remove every line which matchfacebook.comandwww.facebook.comRemove everyline which matchebay.*In complementary convert all lines withALL ` or :code:`REGto the right format.Check every line again the regular expression.Print or save on screen the results.The genereated regular expression will be in this example:\.gov$|face|ebay(.*)NOTE: The ebay group is much longer as we construct the list of TDL based on the Root Zone Database of the IANA and the Public Suffix List project.Which actually means that we whitelist:all elements/lines which ends with.govall elements/lines which contain the wordfaceUsage of the scriptusage: uhb_whitelist [-h] [-f FILE] [-w WHITELIST [WHITELIST ...]] [-wc]
                 [-o OUTPUT] [-v]

The tool to clean a list or a hosts file with the Ultimate Hosts Blacklist
whitelist list or your own.

optional arguments:
    -h, --help            show this help message and exit
    -f FILE, --file FILE  Read the given file and remove all element to
                            whitelist.
    -w WHITELIST [WHITELIST ...], --whitelist WHITELIST [WHITELIST ...]
                            Read the given file and append its data to the our
                            whitelist list.
    -wc, --without-core   Disable the usage of the Ultimate Hosts Blacklist
                            whitelist list.
    -o OUTPUT, --output OUTPUT
                            Save the result to the given filename or path.
    -v, --version         Show the version end exist.

Crafted with ♥ by Nissar Chababy (Funilrys)
Package: ultimatelabeling
UltimateLabelingA multi-purpose Video Labeling GUI in Python with integrated SOTA detector and tracker. Developed using PyQt5.[Under development]The integrated object detectors and trackers are based on the following codes:OpenPifPaf: for human pose estimationYOLO darknet: for object detectionSiamMask: for visual object trackingHungarian algorithm (scipy.optimize): for optimal instance ID assignmentFor remote server processing, follow the guide below in order to configure theserver files.DemoFeaturesSSH connection to the remote server (see below to configure the server)YOLO and OpenPifPaf integrated object & pose detectors (single frame and entire video mode)Hungarian instance ID assignmentSiamMask Visual object tracking for missing or mislabeled objectsZoom on the video, resizable bounding boxes and skeletonsDark mode!InstallationInstall the requirements usingpipas follows:pip install -r requirementsPut the videos (folder of images or video file, the frames will be extracted automatically) inside thedatafolder. Then, open the GUI usingpython-multimatelabeling.mainAfter closing the window, the annotations are available in theoutputfolder.Remote server configurationTo configure the remote GPU server, follow the steps below:gitclonehttps://github.com/alexandre01/UltimateLabeling_server.gitcdUltimateLabeling_server
pipinstall-rrequirements.txt
bashsiamMask/setup.sh
bashdetection/setup.shThe data images and videos should be placed in the folderdata, similarly to the client code.To extract video files, use the following script:bashextract.shdata/video_file.mp4LicenceCopyright (c) 2019 Alexandre Carlier, released under the MIT licence.