Saravanan666/pypi-org huggingface dataset:
Package: ambrosia
Ambrosiais a Python library for A/B tests design, split and effect measurement.
It provides rich set of methods for conducting full A/B testing pipeline.The project is intended for use in research and production environments
based on data in pandas and Spark format.Key functionalityPilots design 🛫Multi-group split 🎳Matching of new control group to the existing pilot 🎏Experiments result evaluation as p-value, point estimate of effect and confidence interval 🎞Data preprocessing ✂️Experiments acceleration 🎢DocumentationFor more details, see theDocumentationandTutorials.InstallationYou can always get the newestAmbrosiarelease usingpip.
Stable version is released on every tag tomainbranch.pipinstallambrosiaStarting from version0.4.0, the ability to process PySpark data is optional and can be enabled
usingpipextras during the installation.pipinstallambrosia[spark]UsageThe main functionality ofAmbrosiais contained in several core classes and methods,
which are autonomic for each stage of an experiment and have very intuitive interface.Below is a brief overview example of using a set of three classes to conduct some simple experiment.Designerfromambrosia.designerimportDesignerdesigner=Designer(dataframe=df,effects=1.2,metrics='portfel_clc')# 20% effect, and loaded data frame dfdesigner.run('size')Splitterfromambrosia.splitterimportSplittersplitter=Splitter(dataframe=df,id_column='id')# loaded data frame df with column with id - 'id'splitter.run(groups_size=500,method='simple')Testerfromambrosia.testerimportTestertester=Tester(dataframe=df,column_groups='group')# loaded data frame df with groups info 'group'tester.run(metrics='retention',method='theory',criterion='ttest')DevelopmentTo install all requirements runmakeinstallYou must havepython3andpoetryinstalled.For autoformatting runmakeautoformatFor linters check runmakelintFor tests runmaketestFor coverage runmakecoverageTo remove virtual environment runmakecleanAuthorsDevelopers and evangelists:Bayramkulov AslanKhakimov ArtemVasin Artem
Package: ambrozia
Ambrosiais a Python library for A/B tests design, split and effect
measurement. It provides rich set of methods for conducting full
A/B test pipeline.An experiment design stage is performed using metrics historical data
which could be processed in both forms of pandas and spark dataframes
with either theoretical or empirical approach.Group split methods support different strategies and multi-group split,
which allows to quickly create control and test groups of interest.Final effect measurement stage is conducted via testing tools that
are able to return relative and absolute effects and construct corresponding
confidence intervalsfor continious and binary variables.
Testing tools as well as design ones support significant number of
statistical criteria, like t-test, non-parametric, and bootstrap.For additional A/B tests support library provides features and tools
for data preproccesing and experiment acceleration.Key functionalityPilots design ✈Multi-group split 🎳Matching of new control group to the existing pilot 🎏Getting the experiments result evaluation as p-value, point estimate of effect and confidence interval 🎞Experiments acceleration 🎢DocumentationFor more details, see theDocumentationandTutorials.InstallationStable version is released on every tag tomainbranch.pipinstallambroziaAmbrosia requires Python 3.7+UsageDesignerfromambrozia.designerimportDesignerdesigner=Designer(dataframe=df,effects=1.2,metrics='portfel_clc')# 20% effect, and loaded data frame dfdesigner.run('size')Splitterfromambrozia.splitterimportSplittersplitter=Splitter(dataframe=df,id_column='id')# loaded data frame df with column with id - 'id'splitter.run(groups_size=500,method='simple')Testerfromambrozia.testerimportTestertester=Tester(dataframe=df,column_groups='group')# loaded data frame df with groups info 'group'tester.run(metrics='retention',method='theory',criterion='ttest')DevelopmentTo install all requirements runmakeinstallYou must havepython3andpoetryinstalled.For autoformatting runmakeautoformatFor linters check runmakelintFor tests runmaketestFor coverage runmakecoverageTo remove virtual environment runmakecleanCommunicationDevelopers and evangelists:Bayramkulov AslanKhakimov ArtemVasin Artem
Package: ambsql
AmbSQLAmbSQL is a Relational Database Management System which created with keeping in focus the speed and the ease to operate on.Made With ❤ in Python3DocumentationPlease refer to the documentation athttps://github.com/ambujraj/AmbSQL/wiki/DocumentationCompatibilityThis program is compatible with python - 3.xInstallationFor Command-line InterfaceDownload the AmbSQL.exe file fromhttps://github.com/ambujraj/AmbSQL/releasesand run it on Your PC.AmbSQL can also be downloaded fromhttps://ambujraj.github.io/AmbSQL/download/.For Python PackageYou can use one of the below methods to download and use this repository.Using pip:$ pip install ambsqlManually using CLI:$ git clone https://github.com/ambujraj/AmbSQL.git$ cd AmbSQL$ sudo python3 setup.py install (Linux and MacOS)$ python setup.py install (Windows)Manually using UI:Go to therepo on github=> Click on 'Clone or Download' => Click on 'Download ZIP' and save it on your local disk.UsageIf installed CLI, open the AmbSQL.exe file and get the work started.If installed using pip or CLI:$ python(Windows)or$ python3(Linux or MacOS)>>>from ambsql import *If installed using UI, unzip the file downloaded, go to the 'AmbSQL' directory and use one of the below commands:$ python3 AmbSQL.py(Linux or MacOS)or$ python AmbSQL.py(Windows)ExamplesIf you installedpackageusing pip or CLI, below is the sample code:from ambsql import *createtable('studenttable', 'name', 'age')insertvalues('studenttable', 'Jack', 21)showvalues('studenttable')If you installedAmbSQL.exe, below is the sample code:> connect> createtable(studenttable, name, age)> insertvalues(studenttable, Jack, age)> showvalues(studenttable)ContributorsCheck the list of contributorshereHelp Us ImproveYou can suggest us of new improvements you want by creating new IssuehereLicenseMIT License
Package: ambs-realpython-reader
Real Python Feed ReaderThe Real Python Feed Reader is a basicweb feedreader that can download the latest Real Python tutorials from theReal Python feed.For more information see the tutorialHow to Publish an Open-Source Python Package to PyPIon Real Python.InstallationYou can install the Real Python Feed Reader fromPyPI:pip install realpython-readerThe reader is supported on Python 2.7, as well as Python 3.4 and above.How to useThe Real Python Feed Reader is a command line application, namedrealpython. To see a list of thelatest Real Python tutorialssimply call the program:$ realpython
The latest tutorials from Real Python (https://realpython.com/)
 0 How to Publish an Open-Source Python Package to PyPI
 1 Python "while" Loops (Indefinite Iteration)
 2 Writing Comments in Python (Guide)
 3 Setting Up Python for Machine Learning on Windows
 4 Python Community Interview With Michael Kennedy
 5 Practical Text Classification With Python and Keras
 6 Getting Started With Testing in Python
 7 Python, Boto3, and AWS S3: Demystified
 8 Python's range() Function (Guide)
 9 Python Community Interview With Mike Grouchy
10 How to Round Numbers in Python
11 Building and Documenting Python REST APIs With Flask and Connexion – Part 2
12 Splitting, Concatenating, and Joining Strings in Python
13 Image Segmentation Using Color Spaces in OpenCV + Python
14 Python Community Interview With Mahdi Yusuf
15 Absolute vs Relative Imports in Python
16 Top 10 Must-Watch PyCon Talks
17 Logging in Python
18 The Best Python Books
19 Conditional Statements in PythonTo read one particular tutorial, call the program with the numerical ID of the tutorial as a parameter:$ realpython 0
# How to Publish an Open-Source Python Package to PyPI

Python is famous for coming with batteries included. Sophisticated
capabilities are available in the standard library. You can find modules for
working with sockets, parsing CSV, JSON, and XML files, and working with
files and file paths.

However great the packages included with Python are, there are many
fantastic projects available outside the standard library. These are most
often hosted at the Python Packaging Index (PyPI), historically known as the
Cheese Shop. At PyPI, you can find everything from Hello World to advanced
deep learning libraries.

[... The full text of the article ...]You can also call the Real Python Feed Reader in your own Python code, by importing from thereaderpackage:>>> from reader import feed
>>> feed.get_titles()
['How to Publish an Open-Source Python Package to PyPI', ...]
Package: ambulance_game
Ambulance Decision Game: A python library that attempts to explore a game theoretic approach to the EMS - ED interfaceTable of ContentsAbout The ProjectInstallationTestsRoadmapLicenseContactAbout The ProjectThis project revolves around modelling the interaction between the Emergency Medical Service (EMS) and Emergency Departments.Theambulance_gamelibrary is used to model:a discrete event simulation model of a queueing system with two waiting spaces, where individuals can be blocked.the equivalent Markov chain model,a game theoretic model between 3 players; 2 queueing systems (EDs) and a distrbutor (EMS).InstallationInstall a development version of this library with the command:$ python -m pip install flit
$ python -m flit install --symlinkTestsRun all tests developed by first installing and then runningtox:$ python -m pip install tox
$ python -m toxRoadmapSee theopen issuesfor a list of proposed features (and known issues).LicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactYour Name -@Michalis_Pan-PanayidesM@cardiff.ac.ukProject Link:AmbulanceDecisionGame
Package: ambushed
This is a package that has useful machine vision for use with CarsCHANGE LOGRELEASE 10.0.0.1  (7/27/2021)First Release\RELEASE 20.0.0.2 –> 7/27/2021Just wanted to test some things outreally didn’t don anything\-RELEASE 3
-0.0.0.3–> 7/27/2021
-Just wanted to test some things out
-really didn’t don anything
Package: amc
In quantum many-body theory, one often encounters problems with rotational
symmetry. While methods are most conveniently derived in schemes that do not
exploit the symmetry, a symmetry-adapted formulation can lead to orders of
magnitude savings in computation time. However, actually reducing the formulas
of a many-body method to symmetry-adapted form is tedious and error-prone.The AMC package aims to help practitioners by automating the reduction
process. The unreduced (m-scheme) equations can be entered via an easy-to-use
language. The package then uses Yutsis graph techniques to reduce the
resulting network of angular-momentum variables to irreducible Wigner 6j and
9j symbols, and outputs the reduced equations as a LaTeX file. Moreover, the
package is based on abstract representations of the unreduced and reduced
equations in the form of syntax trees, which enable other uses such as
automatic generation of code that evaluates the reduced equations.InstallationInstall amc using thepippackage manager.pipinstallamcUsagePrepare a file with the properties of the tensors and the equations to reduce.
For example, second-order many-body perturbation theory can be reduced in this
way:# mbpt.amc

declare E2 {
    mode=0,
    latex="E^{(2)}_{0}",
}

# Hamiltonian
declare H {
    mode=4,
    latex="H",
}

E2 = 1/4 * sum_abij(H_abij * H_ijab);Then run theamcprogram on the inputamc-ombpt.texmbpt.amcThe result isE^{(2)}_{0}=\frac{1}{4}\sum_{a b i j{J}_{0}}\hat{J}_{0}^{2}H_{a b i j}^{{J}_{0}{J}_{0}0}H_{i j a b}^{{J}_{0}{J}_{0}0}See theUser’s Guidefor
details.CitingReleases of this code are deposited to the Zenodo repository. If you use it in
research work please cite the version used. Go tothe Zenodo recordto find bibliographic information
for each release.If you use this code in research work please also cite the following publicationA. Tichai, R. Wirth, J. Ripoche, T. Duguet.Symmetry reduction of tensor
networks in many-body theory I. Automated symbolic evaluation of SU(2)
algebra.arXiv:2002.05011[nucl-th]ContributingPull requests are welcome. For major changes, please open an issue first to
discuss what you would like to change.LicenseGPLv3
Package: amcache2
amcache2.pycreates a bodyfile from AmCache.hveInstallationI recommend to usepipenvinstead ofvenv, because usingvenvI had problems withhttps://github.com/construct/construct/pull/930pipenvinstallamcache2Usageusage:amcache2.py[-h]registry_hive

ParseprogramexecutionentriesfromtheAmcache.hveRegistryhive

positionalarguments:registry_hivePathtotheAmcache.hvehivetoprocess

options:-h,--helpshowthishelpmessageandexitExamplepipenvrunamcache2.pyAmcache.hve|mactime-d-b-
Package: amc-cropper
AMC Cropping ToolAuthor: Nikhil RejiCrops AMC files to descired length based on provided fps, start, and end whole seconds. Works through command line.For asf/amc v1.1 standard.features:Crop AMC file based on seconds.Save to new parsed AMC file.Thorough validation of all arguments.Soft mode: Will not override existing files.Command line driven.Dependencies:AsfAmc-ParserPython 3.6 +CompatabilityOnly tested on Windows 10.ExampleExample working directory the programm will execute in.Documentstest.amccroppedREADME.mdIn an open command line in the prefered working directory:python -m amccrop -i test -o testcropped -fps 30 -s 2 -e 5where:
-m  :   tells python to find installed module.
-i  :   input amc relative filepath including filename, excluding format.
-o  :   output amc relative file path including filename, excluding format.
-fps    :   frame rate per second
-s  :   start seconds, whole integer.
-e  :   end seconds, whole integer.
Package: amclient
amclientAMClient is an Archivematica API client library and Python package for making
it easier to talk to Archivematica from your Python scripts. AMClient also acts
as a command line application which can easily be combined with shell-scripts
to perform the same functions as a Python script might.AMClient brings together the majority of the functionality of the two primary
Archivematica components:Archivematica APIStorage Service APIBasic usage:amclient.py <subcommand> [optional arguments] <positional argument(s)>E.g.:amclient.pyclose-completed-transfers\--am-user-nametest234deffdf89d887a7023546e6bc0031167cedf6To see a list of all commands and how they are used, then runamclient.pywithout any arguments.To understand how to use an individual subcommand, simply run:amclient.py <subcommand>, the output will describe the input parameters for
that command:E.g.:usage:amclientextract-file[-h][--ss-user-nameUSERNAME][--ss-urlURL][--directoryDIR][--saveas-filenameSAVEASFILENAME]ss_api_keypackage_uuidrelative_pathCalling the module from Python:E.g.:Python3.6.7(default,Oct222018,11:32:17)[GCC8.2.0]onlinuxType"help","copyright","credits"or"license"formoreinformation.>>>fromamclientimportAMClient>>>am=AMClient()>>>am.ss_url="http://127.0.0.1:62081">>>am.ss_user_name="test">>>am.ss_api_key="test">>>am.list_storage_locations()...jsonisoutputhere...CONTRIBUTINGFor information about contributing to this project please see the AMClientCONTRIBUTING.md
Package: amcp-pylib
Python AMCP Client Libraryv0.2.1IntroductionWelcome to the AMCP client library repository for Python!
The goal of this library is to provide simple and understandable interface for communication with CasparCG server.Installationpip install amcp_pylibUsage examplesBelow you can see various usage examples.Connecting to serverfromamcp_pylib.coreimportClientclient=Client()client.connect("caspar-server.local",6969)# defaults to 127.0.0.1, 5250Built-in support forasynciomodule:importasynciofromamcp_pylib.coreimportClientAsyncclient=ClientAsync()asyncio.new_event_loop().run_until_complete(client.connect("caspar-server.local",6969))Sending commandsfromamcp_pylib.coreimportClientfromamcp_pylib.module.queryimportVERSION,BYEclient=Client()client.connect()response=client.send(VERSION(component="server"))print(response)response=client.send(BYE())print(response)<SuccessResponse(data=['2.0.7.e9fc25a Stable'],code=201,code_description='VERSION')>
<InfoResponse(data=['SERVER SENT NO RESPONSE'],code=0,code_description='EMPTY')>All supported protocol commands are listed and documented on CasparCG'swiki pages.Some commands may not be supported yet (in that case, please create issue (or pull ;) request).
Package: amcrest
A Python 2.7/3.x module forAmcrest Camerasusing the SDK HTTP API. Amcrest and Dahua devices share similar firmwares. Dahua Cameras and NVRs also work with this module.Documentation:http://python-amcrest.readthedocs.io/InstallationPyPI$pipinstallamcrest--upgrade$eval"$(register-python-argcompleteamcrest-cli)"# To enable amcrest-cli autocomplete in the system:$echo'eval "$(register-python-argcomplete amcrest-cli)"'>/etc/profile.d/amcrest-cli-autocomplete.shRPM$gitclonegit@github.com:tchellomello/python-amcrest.git$./autogen.sh$makerpm$dnf/yuminstallamcrest-cli-NVR.rpmpythonX-amcrest-NVR.rpmUsagefromamcrestimportAmcrestCameracamera=AmcrestCamera('192.168.0.1',80,'admin','password').camera#Check software informationcamera.software_information'version=2.420.AC00.15.R\r\nBuildDate=2016-09-08'#Capture snapshotcamera.snapshot(0,"/home/user/Desktop/snapshot00.jpeg")<requests.packages.urllib3.response.HTTPResponseobjectat0x7f84945083c8>#Capture audiocamera.audio_stream_capture(httptype="singlepart",channel=1,path_file="/home/user/Desktop/audio.aac")CTRL-Ctostopthecontinuousaudiofloworuseatimer#Move camera downcamera.ptz_control_command(action="start",code="Down",arg1=0,arg2=0,arg3=0)#Record realtime stream into a filecamera.realtime_stream(path_file="/home/user/Desktop/myvideo")CTRL-CtostopthecontinuousvideofloworuseatimerCommand Line$manamcrest-clior$amcrest-cli--help# Saving credentials to file.$vim~/.config/amcrest.conf[patio]hostname:192.168.0.20username:adminpassword:123456port:80[living_room]hostname:192.168.0.21username:adminpassword:secretport:80$amcrest-cli--cameraliving_room--version-http-apiversion=1.40Text User Interface (TUI)Configure amcrest.conf and trigger amcrest-tui, make sure the user
triggering amcrest-tui have access to framebuffer device or use sudo.NOTE:Execute it from console logins, like /dev/ttyX (Non X Window).
Pseudo-terminals like xterm, ssh, screen and others WONT WORK.$vim~/.config/amcrest.conf[patio]hostname:192.168.0.20username:adminpassword:123456port:80[living_room]hostname:192.168.0.21username:adminpassword:secretport:80$amcrest-tuiSupportability MatrixCamerasModelTestedStatusResults/IssuesIPM-721YesworkingIPM-HX1YesworkingIP2M-841YesworkingIP2M-842YesworkingIP3M-941YesworkingIP3M-943YesworkingIP3M-956YesworkingIP3M-956EYesworkingIP3M-HX2YesworkingIP4M-1026BYesworkingIP4M-1041BYesworkingIP4M-1051BYesworkingIP5M-1176EBYesworkingIP8M-2496EBYesworkingIP8M-T2499EW-28MYesworkingNetwork Video Recorders (NVR)ModelTestedStatusResults/IssuesXVR DAHUA 5104SYesworkingIf you have different model, feel fee to contribute and report your results.HelpIf you need any help, please join our community on the Gitter channels available atGitter.
Package: amdgpu-fan
[![CircleCI](https://circleci.com/gh/chestm007/amdgpu-fan.svg?style=svg)](https://circleci.com/gh/chestm007/amdgpu-fan)# Fan controller for amdgpusIf you experience problems please create an issue.## installation:### pip`sudo pip3 install .`### Arch linuxAvailable in the aur as `amdgpu-fan`## usage:`sudo amdgpu-fan`## configuration:```# /etc/amdgpu-fan.yml# eg:speed_matrix:  # -[temp(*C), speed(0-100%)]- [0, 0]- [40, 30]- [60, 50]- [80, 100]# optional# cards:  # can be any card returned from#         # ls /sys/class/drm | grep "^card[[:digit:]]$"# - card0```
Package: amdgpu-fan-ctrl
AMD GPU fan control for LinuxThis software has been developed and tested on Debian 10 Buster with the 4.19.0-6-amd64 Linux kernel and a Radeon™ RX 590 GPU.
It requires theamdgpukernel module to be loaded.Why this package?automatic fan control provided by the GPU hardware keeps the fans of my RX 590 running all the time (albeit at a very low speed)after some years of continued use, even at low speeds, fans develop irritanting noisesmost of the time I use my computer in a way that requires minimal GPU usage (writing code, browsing the web, etc)without fans, the temperature of my RX 590 rarely raises above 50°C when doing non-GPU intensive activities, even during the hottest summer daysDisclaimerUSE OF THIS SOFTWARE IS ENTIRELY OF YOUR RESPONSABILITY.  HARDWARE DAMAGE MAY RESULT FROM HIGH TEMPERATURES AS A RESULT OF USING THIS SOFTWARE.WarningThis software puts your GPU into manual fan control (manual means not controlled directly by hardware).If you stop this software you should reboot your computer or manually reset your GPU fan control to automatic mode.Installing this softwareIf you want to run the software manually or develop your own software making use of functions from theamdgpu_fan_ctrlPython module, you may install it with pip3 or simply copy the file into some directory of your choice.The most common use case will be to run this software as asystemdservice, started at boot.  To install this service, run the script./install-systemd-service.shas root.LicenseThis software is licensed under the MIT license.
Package: amdgpu-pptable
AMDGPU PowerPlay table parserA Python library that converts AMDGPU PowerPlay tables to ctypes structs.Uses code generated from MIT-licensed AMDGPU Linux driver headers.For a Qt GUI editor seeamdgpu-pptable-editor-qtGenerating ctypes structsGenerated code is tracked in git, it is located insrc/amdgpu_pptable/generated.To re-generate it (with, maybe, different kernel sources):$ tox -e generate-ctypes -- -k path/to/kernel/sources
Package: amdgpu-stats
amdgpu_statsA Python module/TUI for AMD GPU statistics.
TestedonlyonRX6000series cards and(less so)with Ryzen CPU iGPUs.Pleasefile an issueif finding incompatibility!ScreenshotsMain screen / statsUsage graphsLogsInstallationpipinstallamdgpu-statsTo use theTUI, runamdgpu-statsin your terminal of choice. For themodule, see below!ModuleIntroduction:In[1]:importamdgpu_stats.utilsIn[2]:amdgpu_stats.utils.AMDGPU_CARDSOut[2]:{'card0':'/sys/class/drm/card0/device/hwmon/hwmon9'}In[3]:amdgpu_stats.utils.get_core_stats('card0')Out[3]:{'sclk':640000000,'mclk':1000000000,'voltage':0.79,'util_pct':65}In[4]:amdgpu_stats.utils.get_clock('core',format_freq=True)Out[4]:'659 MHz'For more information on what the module provides, please see:ReadTheDocshelp('amdgpu_stats.utils')in your interpreterThe module sourceFeature requestsare encouraged😀RequirementsOnlyLinuxis supported. Information iscompletelysourced from interfaces insysfs.Itmaybe necessary to update theamdgpu.ppfeaturemaskparameter to enable metrics.This is assumed present forcontrolover the elements being monitored. Untested without.Seethis Arch Wiki entryfor context.
Package: ameilisearch
ameiliSearchAsynchronous MeiliSearch API client that is100% compatiblewithMeiliSearch Pythonupstream commit hash:e665923efc9735fd09994b0f01395ceb29051c71Getting StartedAdd Documentsimportasyncioimportameilisearchasyncdefmain():documents=[{'id':1,'title':'Carol','genres':['Romance','Drama']},{'id':2,'title':'Wonder Woman','genres':['Action','Adventure']},{'id':3,'title':'Life of Pi','genres':['Adventure','Drama']},{'id':4,'title':'Mad Max: Fury Road','genres':['Adventure','Science Fiction']},{'id':5,'title':'Moana','genres':['Fantasy','Action']},{'id':6,'title':'Philadelphia','genres':['Drama']},]asyncwithameilisearch.Client("http://127.0.0.1:7700",'masterKey')asclient:asyncwithclient.index("movies")asindex:# If the index 'movies' does not exist, MeiliSearch creates it when you first add the documents.awaitindex.add_documents(documents)# => { "updateId": 0 }asyncio.get_event_loop().run_until_complete(main())Differences from synchronous clientsExisting API clients worked withrequests.ameilisearch works withaiohttp.Users need to manage client sessions.The http instance is in two places:ClientandIndex.Use theasync withsyntax to close the session immediately after use, or must close the session usingawait :client_or_index_instance:.http.session.close()after using it all.