Saravanan666/pypi-org huggingface dataset:
Package: quickmachotkey
This is a set of minimal Python bindings for the undocumented macOS framework
APIs that eventhe most modern, sandboxing-friendly shortcut-binding
frameworksuse under the hood for actually binding global hotkeys.Unlike something full-featured like MASShortcut, this provides no configuration
UI; you have to provide keyboard constants directly.Simple example:fromquickmachotkeyimportquickHotKey,maskfromquickmachotkey.constantsimportkVK_ANSI_X,cmdKey,controlKey,optionKey@quickHotKey(virtualKey=kVK_ANSI_X,modifierMask=mask(cmdKey,controlKey,optionKey))defhandler()->None:print("handled ⌘⌃⌥X")if__name__=="__main__":fromAppKitimportNSApplication# type:ignore[import]fromPyObjCToolsimportAppHelper# type:ignore[import]print("type ⌘⌃⌥X with any application focused")NSApplication.sharedApplication()AppHelper.runEventLoop()
Package: quickmail
send email with one line using sslyou need a local_settings.py in the root of the virtualenv with this:# MAIL_CONFIG_DICT is required by for senderror_simple which is a function of the module quickmail# SMTP_SSL_HOST is a ssl enabled smtp host and SMTP_SSL_PORT is the port to use (usually 465)# MAIL_USER and MAIL_PASS refer to the email account to use to send error messages. MAIL_RECIPIENTS is a list of emails (strings) to be notified of errorsMAIL_CONFIG_DICT = {'SMTP_SSL_HOST': 'yourdomain.com','SMTP_SSL_PORT': 465,'MAIL_USER': 'you@yourdomain.com','MAIL_PASS': 'yourpass','MAIL_RECIPIENTS': ['you@yourdomain.com', friend@anotherdomain.com']}
Package: quick-mailer
DescriptionThis Module help you to sendfast Email. 🌸And you can attachimage, audio, and other files easily.The Module supportGmail And Microsoftright now, but in the nearly future will support other mail services.Installation:pip install quick-mailer-->> GitHub LinkUsage:Send MessagefrommailerimportMailermail=Mailer(email='someone@gmail.com',password='your_password')mail.send(receiver='someone@example.com',# Email From Any service Providerno_reply='noreplay@example.com',# Redirect receiver to another email when try to reply.subject='TEST',message='HI, This Message From Python :)')Parametersreceiver:EmailAddressasStringorList.[Required]cc:EmailAddressasStringorList.(CarbonCopy)[Optional]bcc:EmailAddressasStringorList.(BlindCarbonCopy)[Optional]sender_name:SetSendername.[Optional]receiver_name:Setreceivername.[Optional]no_reply:SetAnotherEmailToReply[Optional]subject:MessageTitle.[Optional]message:YourMessage.[Optional]image:ImageFileName.(ImagePath)[Optional]audio:AudioFileName.(AudioPath)[Optional]file:FileName.(AnyFilePath)[Optional]Check Send Status# Using (status) Attributeprint(mail.status)# Example For One Receiver:ifmail.status:passelse:pass# Note:# IF You Put List Emails Receivers# Variable Will Return Dictionary Results.# IF You Allowed Repeat# The Attribute Will provide Results List.Send Multi Filesmail.send(receiver='someone@example.com',# Email From Any service Providersubject='TEST',message='HI, This Message From Python :)',image='img.jpg',# Image File Pathaudio='sound.mp3',# Audio File Pathfile='file.zip')# Any File PathSettings Methodmail.settings(repeat=1,# To Repeat Sendingsleep=0,# To Sleep After Send Each Messageprovider=mail.GMAIL,# Set Maill Servicemulti=False)# Default False, If You Set True# Message Will Sent 4 Each Email Alone# Else Will Sent To All TogetherSend Multi Emails# One By One:mail.settings(multi=False)# In Same Message:mail.settings(multi=True)mail.send(receiver=['someone@example.com','someone1@example.com'],subject='TEST',message='HI, This Message From Python :)')Counter Variables# CC Receivers Countprint('CC count:',mail.count_cc)# BCC Receivers Countprint('BCC count:',mail.count_bcc)# Receivers Countprint('Receivers count:',mail.count_rec)# Messages Countprint('Messages count:',mail.count_msg)Example Functionfrommailerimportexampleexample()About Method# You Can Use (mail.about) Method for more info.mail.about()Changelogs2022.2.10 update:Fix issue #3 TypeError on python < 3.102022.2.2 update:Support Html MessageFix issue #1 TypeError on python < 3.10Follow Me on Instagram:@9_Tay. 🌸Thank You :) 🌸🌸
Package: quickmathsfunctions
Python CI/CD with BuildkiteThis repository serves as a code container for the tutorial I wrote onBuildkite's blog.Blog link will be updated once the article is published.FeaturesSimple Utility functionsPublish documentation to Readthedocs.ioCI/CD with BuildkiteGetting StartedFollow these instructions to get the project up and running.# Clone the repogitclonehttps://github.com/ravgeetdhillon/buildkite-python-ci-cd# Change directory$cdbuildkite-python-ci-cd# Initialize virtual environment$python3-mvenvvenv# Install dependencies$pipinstallFor detailed instructions,read the blog.Tech StackPythonAuthorsRavgeet DhillonExtraYou are welcome to makeissues and feature requests.In case you get stuck somewhere, feel free to contact me viaMail.
Package: quick-menu
quick-menuThis is a simple package to create text menus for use in console applications.UsageA menu can be created quickly that can call a function with or without a value. An exit
item is automatically added to the menu.Create a Quick Menufromquick_menu.menuimportMenu,MenuItemdeffunc(val=1):print("func1: val =",val)input("Press [Enter] to continue")menu=Menu("Simple Menu",menu_items=[MenuItem("1","Func default",action=func),MenuItem("2","Func with val=4",action=func,action_args={"val":4}),])menu.run()Output============== Simple Menu =============
1: Func default
2: Func with val=4
X: Exit
========================================
>> 1
func1: val = 1
Press [Enter] to continue

============== Simple Menu =============
1: Func default
2: Func with val=4
X: Exit
========================================
>> 2
func1: val = 4
Press [Enter] to continueDocumentationThedocumentationis made withMaterial for MkDocsand is hosted byGitHub Pages.Installationpip install quick-menuLicensequick-menuis distributed under the terms of theMITlicense.
Package: quickmin-step
SEAMM QuickMin Plug-inA SEAMM plug-in for simple, quick minimizationFree software: BSD-3-ClauseDocumentation:https://molssi-seamm.github.io/quickmin_step/index.htmlCode:https://github.com/molssi-seamm/quickmin_stepFeaturesQuickMin provides quick, simple optimization of molecular structures using one of a
number of forcefields. It is intended for small systems, with no more than about 300
atoms. Beyond that size it will be rather slow, but more importantly larger systems
typically have many local minima, often close to each other energetically, so the
concept of the minimum structure is not very useful.QuickMin usesOpenBabelfor the minimization. There are currently five forcefields
available:GAFF– the general AMBER force fieldMMFF94– the Merck molecular force fieldMMFF94s– the Merck molecular force field for energy minimizationGhemicalUFF– Universal force fieldThe first four have parameters for organic and biomolecular systems, while UFF attempts
to cover the entire periodic table with reasonable accuracy. The more specialized
forcefields tend to be more accurate, roughly in the order listed (though the two MMFF94
are essentially similar). By default QuickMin will try each of the forcefields in the
order given until it finds one that can handle the given molecule. You can specify the
forcefield to use; however, if it does not have parameters for your molecule, QuickMin
will throw an error.AcknowledgementsThis package was created with themolssi-seamm/cookiecutter-seamm-plugintool, which
is based on the excellentCookiecutter.Developed by the Molecular Sciences Software Institute (MolSSI), which receives funding
from theNational Science Foundationunder award CHE-2136142.History2023.11.15 – Bugfix: structure handlingError putting the coordinates into a newly created configuration.2023.10.30 – Enhanced structure handling.Switched to standard handling of structures, which adds ability to name with the
IUPAC name, InCHI, and InChIKey in addition to previous methods.2023.1.14 – Changed documentation to new style and theme.Switched the documentation to the MolSSI theme and diátaxis layout, though more work
is needed.2022.11.7 – Internal ReleaseSwitching from LGTM code analysis to GitHub Actions using CodeQL, since LGTM is
shutting down!2022.10.23 – Properties addedAdded a single property, ‘total energy#QuickMin#<forcefield>’, to store the final
energy in the database. Also added ‘total energy’ as a result for tables or
variables.2022.10.22 – Documentation!Got the documentation into reasonable shape.2022.10.20 – Initial Release!Provides quick minimization for smaller molecules, using OpenBabel. Probably
reasonable for some few hundred atoms. Supports the following forcefields:GAFFMMFF94 & MMFF94s (which is optimized for minimization)GhemicalUFFThe default is the “best available” forcefield, which tries them in the order given
above until it finds one that can handle the molecule.
Package: quickmongo.py
Quick IntroQuickmongo.py is a quick wrapper for pymongo to access mongodb! You can use pymongo if you know it!Quick DocsInstallationIn your terminal:pip install quickmongo.pyIn your python file:fromquickmongoimportDatabase# If you are using locallydb=Database('mongodb://localhost:27017/',{'db_name':'local'})# if you are using 'mongodb+srv://' uri then you should do something like thisdb=Database(mongoURL)# mongourl will be the 'mongodb+srv://' uri link# clusterName will be the name of the mongoose cluster. Eg:- Cluster0# Incase if you don't know what is your clustername you will get an TypeError with available clusters!Options of DatabasesSet some options for your database as a dict which is optionaloptions={'collection_name':'yourCollectionName',# Collection name will be 'python' as default'db_name':'Cluster0'# This is optional unless you are using localhost you have to set it to local!}db=Database(mongoURL,options)# mongoURL is described aboveGet databases and collections# Get all database names under the linkprint(db.all_database_names())# Check if the given database exists in the listprint(db.database_exists('Cluster0'))# Get all collections names under the linkprint(db.all_collection_names())# Check if the given collection exists in the listprint(db.collection_exists('python'))All Operationsdb.set('foo','bar')# Will set value 'bar' for the key 'foo'db.get('foo')# Will return 'bar' which is the value of the key 'foo'db.all()# Will return all keys and values of the collection! {'key': 'foo', 'value': 'bar'} as a dictdb.startswith('f')# Will sort all data whose keys startswith 'f' as {'key': 'foo', 'value': 'bar'}db.delete('foo')# Will delete value of the key 'foo'db.delete_all()# Will delete all values of the all keys! Simple drop() functiondb.set('foo',1)# Simple set function given description abovedb.add('foo',2)# Will add 2 to the old value. So the current value will be 3db.subtract('foo',1)# Will subtract 1 from old value of the key 'foo'. So the current value will be 1db.math('foo','*',5)# Will multiply value by 5 so 1*5 = 5db.math('foo','**',5)# 5**5 = 25db.math('foo','/',5)# 25/5 = 5db.math('foo','+',1)# 5+1 = 6db.math('foo','-',1)# 6-1 = 5db.typeof('foo')# Its currently int so it will return <class 'int'>EventsEvents are functions which will trigger on paticular timesReady Event:defready():print('Connected with database')db=Database(mongoURL='your-url',events={'ready':ready})# Will run ready callback when db is ready!Contribute codes to this packages by githubhereSupportJoin our Discord ServerGitHub Repo
Package: quickMTF
Copyright (c) 2022 lorry_rui , Fremont ,USAPermission 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,  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.*for image quaility test purpose like lens focus test   @  Lorry RUi=======================
Homepage: quickMTFPyPI Package PageSource Code.. image::https://github.com/Lorrytoolcenter/quickMTF/doc/linepair2.png:align: center
.. image:: doc/linepair2.png
:width: 600:github_url:https://github.com/Lorrytoolcenter/quickMTFMain FeaturesQuick calculation of MTF values for both linepair and slant edge MTF.Built-in GUI for image debugging and location picking.Plot MTF chartGUI:Check measure position percentage featureUndo:Undo one test.Clear all:Clear all tests.Save current display:Save the current scene.Save current image:Save the image with markers based on image size.Mail to: :lorryruizhihua@gmail.comThis is a GUI Sample.. image::https://github.com/Lorrytoolcenter/quickMTF/doc/manual.png.. image:: doc/manual.png
:width: 600.. image:: doc/sfr.png
:width: 600sample code for using lib quickMTF.. code-block:: pythonfrom quickMTF.quickMTF import quickMTF
import cv2ifname== 'main':
test = quickMTF()
ROI_width = 600
ROIX = 1593
ROIY = 1500
image = cv2.imread("image.jpg")
image = image[ROIY:ROIY+10, ROIX:ROIX+ROI_width]print(test.quicklinepairMTF(image, library='cv2'))  # linepair chart MTF value and pixels/line pair
   print(test.quicksfrMTF(image, cp=0.5))  # CP means cycles/pixel and out MTF value per c/p and slant angle
   print(test.quicksfrCP(image, mtf_indx=30))  # MTFindex means MTF and out Cycles/pixel per MTF value and slant angle
Package: quicknn
QuickNNThequicknnis a Tensorflow-based package that aims to simplify the application of the feedforward neural networks in classification and regression problems.
The main features of thequicknnpackage are:internally management of the categorical variables with one-hot-encoding(OHE) method batch-wise, just you have to feed it with pandas object;internally management of the validation of the data while training;possibility to stop the training phase, change some parameters and then resume the training from where it had remained;allows easy visualization of the learning curves usingTensorboard;ExamplefromquicknnimportQuickNNfromsklearn.datasetsimportload_bostonfromsklearn.model_selectionimporttrain_test_splitX,y=load_boston(return_X_y=True)X_train,X_val,y_train,y_val=train_test_split(X,y,test_size=0.25)qnn=QuickNN(list_neurons=[100,200,1])qnn.fit(X_train,y_train,n_epochs=10)## In IPython session you can stop-change-resume the training.qnn.fit(X_train,y_train,n_epochs=20)## Just increasing the n_epochs.qnn.fit(X_train,y_train,n_epochs=30,learning_rate=0.01)## You can change e.g., the learning_rate param while trainingy_pred=qnn.predict(X_val)InstallingThe dependencies are showed inrequirements.txt, which can be installed with the command:$pipinstall-rrequirements.txtThen the library can easily downloaded through pip:$pipinstallquicknnLicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for details.ReferencesIPythonTensorpandasscikit-learnpath.py
Package: quickpac
QuickpacHere you will find all public interfaces to the Quickpac system.This Python package is automatically generated by theSwagger Codegenproject:API version: v1.00Package version: 1.0.0Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegenRequirements.Python 3.4+Installation & Usagepip installpipinstallquickpacOr you can install directly from Github:pipinstallgit+https://github.com/camptocamp/quickpac-client.gitSwagger client generationGenerate viaSwagger codegen.Getting StartedPlease follow theinstallation procedureand then run the following:importquickpacfromquickpac.restimportApiExceptionfrompprintimportpprint# Configure HTTP basic authorization: Basicconfiguration=quickpac.Configuration()configuration.username='YOUR_USERNAME'configuration.password='YOUR_PASSWORD'# create an instance of the API classapi_instance=quickpac.BarcodeApi(quickpac.ApiClient(configuration))body=quickpac.GenerateLabelRequest()# GenerateLabelRequest |  (optional)try:# Generates an address labelapi_response=api_instance.barcode_generate_label_post(body=body)pprint(api_response)exceptApiExceptionase:print("Exception when calling BarcodeApi->barcode_generate_label_post:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.quickpac.chClassMethodHTTP requestDescriptionBarcodeApibarcode_generate_label_postPOST/Barcode/GenerateLabelGenerates an address labelPickupMigrosApipickmup_set_paket_status_getGET/Pickmup/SetPaketStatusSetPaketStatusPickupMigrosApipickmup_set_paket_status_postPOST/Pickmup/SetPaketStatusSetPaketStatusPickupMigrosApipickmup_set_ruecksendung_getGET/Pickmup/SetRuecksendungSetRuecksendungPickupMigrosApipickmup_set_ruecksendung_postPOST/Pickmup/SetRuecksendungSetRuecksendungZIPApiz_ip_get_all_zip_codes_getGET/ZIP/GetAllZipCodesReturns all currently deliverable and planned postcodes.ZIPApiz_ip_is_deliverable_zip_code_getGET/ZIP/IsDeliverableZipCodeChecks whether the requested postcode can currently be delivered.Documentation For ModelsCommunicationDimensionsGenerateLabelCustomerGenerateLabelDefinitionGenerateLabelEnvelopeGenerateLabelFileInfosGenerateLabelRequestGenerateLabelResponseGenerateLabelResponseDefinitionGenerateLabelResponseEnvelopeGenerateLabelResponseEnvelopeDataGenerateLabelResponseEnvelopeDataProviderGenerateLabelResponseEnvelopeDataProviderSendingItemItemChoiceTypeLabelDataLabelDataProviderLabelDataProviderSendingLabelResponseItemLanguageLanguageCodeLogoAspectRatioLogoHorizontalAlignLogoVerticalAlignMessageTypeModeTypeNotificationNotificationTypePickupMigrosCallbackResultResponsePickupMigrosSetPaketStatusRequestPickupMigrosSetRuecksendungPrintAddressesTypeRecipientServiceCodeAttributesZIPAllResponseZIPIsCurrentResponseZIPModelDocumentation For AuthorizationBasicType: HTTP basic authenticationAuthor
Package: quickpanda
a pipeline for quick data analysis and machine learningfile_operate:read file and do base operate like auto asdtype etc.it support multi type files operates together.preprocess:create a preprocessor to preprocessing(dropna,fillna,dropoutlyers...)
you can select the file and cols by passing dict-type args.analysis:base on the previous manipulations,we get clean datas,we can now acutally start the analysis tasks:
correlation:
    get correlations between value-type features and labels. 
    compare the correlation between class-type features and labels.modeling:we provide base ml models to complete classification or regression tasks
listing:
    gbdt:xgboost,light gbm,radom forests
    norm:svc,linear,logistic,bayes
    timesequence:ARMA,ARIMA
    nn:
    DeepLearning:\statistic_test:normality test
correlation test
significance test
parametric test
nonparametric test
Package: quickpanda-aidroid
#a pipeline for quick data analysis and machine learning##file_operate:123read file and do base operate like auto asdtype etc.it support multi type files operates together.##preprocess:create a preprocessor to preprocessing(dropna,fillna,dropoutlyers...)
you can select the file and cols by passing dict-type args.##analysis:
base on the previous manipulations,we get clean datas,we can now acutally start the analysis tasks:
correlation:
get correlations between value-type features and labels.
compare the correlation between class-type features and labels.##modeling:
we provide base ml models to complete classification or regression tasks
listing:
gbdt:xgboost,light gbm,radom forests
norm:svc,linear,logistic,bayes
timesequence:ARMA,ARIMA
nn:
DeepLearning:\statistic_test:normality test
correlation test
significance test
parametric test
nonparametric test表头表头单元格单元格单元格单元格
Package: quick-pandas
quick-pandasMakepandasrun faster with a single monkey_patch call.Installpipinstallquick-pandas--upgradeUsageimportpandasaspdfromquick_pandasimportmonkeymonkey.patch_all()df=pd.DataFrame(data=[1])df.sort_values(kind='radixsort',by=0)NoticeThis library is still under development and is unstable. DoNOTuse it unless you know what you are doing.
Package: quickpath
QuickPathQuickPath is a package, which provides functions for easy access the elements of collection/object structures.Motivating exampleanimals=[{'name':'Wombat','avg_properties':{'height':{'value':66,'unit':'cm'},'length':{'value':108,'unit':'cm'},'weight':{'value':27,'unit':'kg'}}},{'name':'Duck','avg_properties':{'height':{'value':62,'unit':'cm'},'weight':{'value':1,'unit':'kg'}}},{'name':'Dog','max_properties':{'height':{'value':95,'unit':'cm'},'weight':{'value':105,'unit':'kg'}}},]Let's query that above structure:foranimalinanimals:print(animal["name"],'average length',animal["avg_properties"]["length"]["value"])This code will abort with error as no theDuckhas nolengthkey. We have to add one more check.foranimalinanimals:print(animal["name"],'average length',animal["avg_properties"]["length"]["value"]if"length"inanimal["avg_properties"]else'-')This improved code will still fail asDoghas onlymax_propertykey, we have to handle this situation too.foranimalinanimals:if"avg_properties"inanimaland"length"inanimal["avg_properties"]:print(animal["name"],'average length',animal["avg_properties"]["length"]["value"])else:print(animal["name"],'avarage length',"-")The above scenarios can be simplified byquickpath:fromquickimportimportgetpathforanimalinanimals:print(animal["name"],'average length',getpath(animal,("avg_properties","length","value"),default='-'))Alternatively, the keys can be represented as a single string:fromquickimportimportgetpathsforanimalinanimals:print(animal["name"],'average length',getpaths(animal,"avg_properties.length.value"),default='-'))Separator can be changed to any alternative characters:fromquickimportimportgetpathsforanimalinanimals:print(animal["name"],'average length',getpaths(animal,"avg_properties/length/value"),default='-',sep='/')
Package: quickpath-airflow-operator
Quickpath Airflow OperatorAllows from Execution of Blueprints on the Quickpath Platform from within AirflowInstallationpip install quickpath-airflow-operatorConnectionsConnections can be created asHTTPTypeService Connection (QPP-Group)Service Connection is Required for Blueprint ExecutionConnection ID = `QPP-Group`
Connection Type = `HTTP`
Schema = `https`
Host = `<Quickpath_platform_base_url>`
Password = `<Group API Key>`API Connection (QPP-User)API Connection is only required ifpoll_for_results=TrueConnection ID = `QPP-User`
Connection Type = `HTTP`
Schema = `https`
Host = `<Quickpath_platform_base_url>`
Password = `<User API Key>`UsageImportfrom quickpath_airflow_operator import QuickpathPlatformOperator`Syncronous Execution will execute a blueprint, wait for the result, and return itquickpath_execution = QuickpathPlatformOperator(
    task_id="run_blueprint",
    service_connection_id="QPP-Group",
    api_connection_id="QPP-User",
    environment_name="design",
    blueprint_endpoint="blueprint_endpoint",
    request_object={},
    synchronous=True,
)Produces XCom Keysblueprint_uuidandblueprint_responseAsyncronous Execution With Result Polling will execute a blueprint and poll for the blueprint resultsAsyncronous Execution will execute a blueprint and return the Blueprint UUIDquickpath_execution = QuickpathPlatformOperator(
    task_id="run_blueprint",
    service_connection_id="QPP-Group",
    api_connection_id="QPP-User",
    environment_name="design",
    blueprint_endpoint="blueprint_endpoint",
    request_object={},
    synchronous=False,
    poll_for_results=True,
    max_polls=20,
    poll_interval=5
)Produces XCom Keysblueprint_uuidAsyncronous Execution will execute a blueprint and return the Blueprint UUIDquickpath_execution = QuickpathPlatformOperator(
    task_id="run_blueprint",
    service_connection_id="QPP-Group",
    api_connection_id="QPP-User",
    environment_name="design",
    blueprint_endpoint="blueprint_endpoint",
    request_object={},
    synchronous=False,
    poll_for_results=True,
)Produces XCom Keysblueprint_uuidandblueprint_response