Saravanan666/pypi-org huggingface dataset:
Package: microservice-utils
microservice-utilsUtilities and adapters for speeding up microservice development.Optional Dependencies (Extras)The package offers optional functionality through extras. Extras can be installed with the package using the following syntax:pipinstallmicroservice-utils[gcp_pubsub]Available extras:events: Support for event-driven architectures using pydantic for data validation and parsing.gcp_cloud_run: Support for Google Cloud Run with the google-cloud-run client library.gcp_cloud_tasks: Support for Google Cloud Tasks with the google-cloud-tasks client library.gcp_pubsub: Support for Google Cloud Pub/Sub using the google-cloud-pubsub client library and tenacity for retries.gcp_storage: Use GCP Cloud Storage with the async gcloud-aio-storage library.novu: Support for the open-sourcenovunotification center.openai: Support for completions with the OpenAI API.pinecone: Support for semantic search with Pinecone.To install multiple extras, separate them with commas:pipinstallmicroservice-utils[events,gcp_cloud_run,gcp_cloud_tasks,gcp_pubsub,openai,pinecone]GCP Pub/SubYou can subscribe to multiple subscriptions by subsequently callingsubscribe().wait_for_shutdownwill block IO
for all the subscriptions and wait for the app to be signaled to shut down.frommicroservice_utils.google_cloud.adapters.pubsubimportSubscribersubscriber=Subscriber("your-gcp-project-id",prepend_value="staging")withsubscriber:subscriber.subscribe("accounts__users",sample_handler)try:subscriber.wait_for_shutdown()exceptKeyboardInterrupt:# Gracefully shut down in response to Ctrl+C (or other events)subscriber.shutdown()Releasing a new versionUpdate the package version using semver rules (microservice-utils/__init__.py)Commit and push changeCreate a new tag with the version (e.g.git tag -a vx.x.x -m '')git push --tagsto push the new tag and start the release workflowTodosEventsGCP Pub/SubGCP Cloud TasksJWT validation utilsLogging
Package: microsockets
MicrosocketsASGI Websocket Server made with simplicity in mind.InstallpipinstallmicrosocketsMake an appimportmicrosocketsapp=microsockets.Application(# event_router, defaults to microsockets.events.EventRouter# room_manager, defaults to microsockets.rooms.RoomManager)Add an event handler@app.on("join")asyncdefhandle(ws):room=ws.payload["room"]user=ws.payload["user"]# Rooms managed by rooms.RoomManager, which can be subclassed/replacedawaitws.join(room)# Emit event back to client, may pass a payload as second argumentawaitws.emit("joined")# Broadcast to all other users in the room. skip_self=False would send it to current client as well.awaitws.broadcast("user joined",json.dumps(dict(user=user)),to=[room])Add middleware@app.hooks.before_onasyncdefload_payload(ws,func):ws.payload=json.loads(ws.payload)awaitfunc(ws)Run with ASGI Serverpipinstalluvicornuvicornexample:appInstall JS clientnpminstallmicrosocketsMake client side handlers and emit eventsimportMicroSocketfrommicrosockets;constsocket=MicroSocket("ws://127.0.0.1:8000");// socket.on(event, handler): Add event handler// socket.off(event, handler?): Remove event handler(s)// socket.send(event, payload): Overridden WebSocket method, requires event. Payload defaults to "".// MicroSocket returns a modified WebSocket, so the full WebSocket API is still available.socket.onopen=function(e){document.write("[open] Connection established <br />");document.write("Joining room <br />");socket.send("join",JSON.stringify({room:"gamers",user:Math.random()}));};socket.on("joined",function(payload){document.write(`[joined] Payload:${payload}<br />`);});socket.on("user joined",function(payload){document.write(`[user joined] Payload:${payload}<br />`);});Runexample.pyand openexample.htmlin multiple browser tabs to see this basic example.
Package: microsocksproxy
Wrapper for microsocks - multithreaded, small, efficient SOCKS5 server - Windows onlypip install microsocksproxyThis is a Windows only version.On the original page, there is no compiled binary for Windows. I was able to compile itusing Cygwin.microsocks.exe and cygwin1.dll are included.The Linux cli version can be downloaded here:https://github.com/rofl0r/microsocks/releasesYou can launch several proxies using the cli (adapt the command line)python C:\Users\Gamer\anaconda3\envs\dfdir\Lib\site-packages\microsocksproxy\__init__.py  "C:\Users\Gamer\Documents\Downloads\csvfiles\proxyredirect.txt"This is how the csv file should like:auth_once,listenip,port,user,password,bindaddr,silent,loglimit,colored-1,0.0.0.0,1080,baba,bubu,None,False,10,True-1,0.0.0.0,1081,baba,bubu,None,False,10,True-1,0.0.0.0,1082,baba,bubu,None,False,10,True-1,0.0.0.0,1083,baba,bubu,None,False,10,TrueOr you import itfrommicrosocksproxyimportstart_proxiesstart_proxies(allproxies=[(-1,"0.0.0.0",1080,"baba","bubu",None,False,10,True),(-1,"0.0.0.0",1081,"baba","bubu",None,False,10,True),(-1,"0.0.0.0",1082,"baba","bubu",None,False,10,True),])Each connection is printed in a different color
Package: microsoft-bing-autosuggest
Microsoft Bing Autosuggest SDK for PythonThis is the Microsoft Bing Autosuggest Client Library.This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.UsageFor more, seeAutosuggeston docs.microsoft.com.Provide FeedbackIf you encounter any bugs or have suggestions, please file an issue in
theIssuessection of the project.
Package: microsoft-bing-customimagesearch
Microsoft Bing Custom Image Search SDK for PythonThis is the Microsoft Bing Custom Image Search Client Library.This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.UsageFor more, seeCustom Image Searchon docs.microsoft.com.Provide FeedbackIf you encounter any bugs or have suggestions, please file an issue in
theIssuessection of the project.
Package: microsoft-bing-customwebsearch
Microsoft Bing Custom Web Search SDK for PythonThis is the Microsoft Bing Custom Web Search Client Library.This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.UsageFor more, seeCustom Web Searchon docs.microsoft.com.Provide FeedbackIf you encounter any bugs or have suggestions, please file an issue in
theIssuessection of the project.
Package: microsoft-bing-entitysearch
Microsoft Bing Entity Search SDK for PythonThis is the Microsoft Bing Entity Search Client Library.This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.UsageFor more, seeEntity Searchon docs.microsoft.com.Provide FeedbackIf you encounter any bugs or have suggestions, please file an issue in
theIssuessection of the project.
Package: microsoft-bing-imagesearch
Microsoft Bing Image Search SDK for PythonThis is the Microsoft Bing Image Search Client Library.This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.UsageFor more, seeImage Searchon docs.microsoft.com.Provide FeedbackIf you encounter any bugs or have suggestions, please file an issue in
theIssuessection of the project.
Package: microsoft-bing-newssearch
Microsoft Bing News Search SDK for PythonThis is the Microsoft Bing News Search Client Library.This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.UsageFor more, seeNews Searchon docs.microsoft.com.Provide FeedbackIf you encounter any bugs or have suggestions, please file an issue in
theIssuessection of the project.
Package: microsoft-bing-spellcheck
Microsoft Bing Spell Check SDK for PythonThis is the Microsoft Bing Spell Check Client Library.This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.UsageFor more, seeSpell Checkon docs.microsoft.com.Provide FeedbackIf you encounter any bugs or have suggestions, please file an issue in
theIssuessection of the project.
Package: microsoft-bing-videosearch
Microsoft Bing Video Search SDK for PythonThis is the Microsoft Bing Video Search Client Library.This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.UsageFor more, seeVideo Searchon docs.microsoft.com.Provide FeedbackIf you encounter any bugs or have suggestions, please file an issue in
theIssuessection of the project.
Package: microsoft-bing-visualsearch
Microsoft Bing Visual Search SDK for PythonThis is the Microsoft Bing Visual Search Client Library.This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.UsageFor more, seeVisual Searchon docs.microsoft.com.Provide FeedbackIf you encounter any bugs or have suggestions, please file an issue in
theIssuessection of the project.
Package: microsoft-bing-websearch
Microsoft Bing Web Search SDK for PythonThis is the Microsoft Bing Web Search Client Library.This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.UsageFor more, seeWeb Searchon docs.microsoft.com.Provide FeedbackIf you encounter any bugs or have suggestions, please file an issue in
theIssuessection of the project.
Package: microsoft-bonsai-api
Microsoft Bonsai API Python ClientUse this Python library to test and integrate simulators with Project Bonsai.RequirementsThe SDK supports the following versions of Python:Python 3 versions 3.4 and laterInstallationInstall the latest client using pip:pipinstallmicrosoft-bonsai-apiAlternatively, you can download or clone the client from theBonsai API GitHub repoand install the client by running Setuptools in the
installation directory:pythonsetup.pyinstall--userUsagehttps://docs.microsoft.com/en-us/python/api/microsoft-bonsai-api/Ask the communityPlease join us in ourcommunity forumsif you have any questions!
Package: microsoft-dynamics-auth
microsoft-dynamics-authMicrosoft Power Platform auth plugin forHTTPieInstallation$ pip install microsoft-dynamics-authVerify that you seemsft-power-platformunder--auth-typeby running$ http --helpConfigurationTo be able to execute requests you must setup the credentials for the target power platform environment. This auth plugin requires a clientid and secret for an app registerd in Active Directory. You must register an app in Active Directory and add it as an application user in the target power platform environment. Once you have the app configured in both AAD and Power Platform.Useenv-generator.pyincluded in this repository to generate the credentials file.parcin user home directory.$ python env-generator.pyThis will generate a ~/.parc file to store power platform environment credentials. Paste credentials in the following format after the prompt and then press enter")name: [SECTION_NAME] tenant: [TENANT] key: [CLIENT-ID] secret: [CLIENT-SECRET] resource: [ENVIRONMENT-URL]\n")For examplename: dev-contoso tenant: contoso.onmicrosoft.com key: highlyconfenditialkey secret: highlyconfidentialsecret resource: https://dev-contoso.crm.dynamics.com")You can also manually create the~/.parcin the following format[default]
tenant = contoso.onmicrosoft.com
key = 52a44848-095e-4882-a880-e8b8083714d8a
secret = highly-confidential-secret
resource = https://dev-contoso.crm.dynamics.com

[dev-contoso1]
tenant = contoso.onmicrosoft.com
key = 52a44848-095e-4882-a880-e8b8083714d8a
secret = highly-confidential-secret
resource = https://dev-contoso1.crm.dynamics.com

[dev-northwind]
tenant = northwind.onmicrosoft.com
key = f4d9f805-a172-4698-9228-518013cd04c5
secret = highly-confidential-secret
resource = https://dev-northwind.crm.dynamics.comUsage$ http --auth-type=msft-power-platform --auth='client-key:client-secret' https://your-org-name.your-crm-region.dynamics.com/api/data/v9.0UseHTTPie sessionsCreate session$ http --session=logged-in --auth-type=msft-dynamics --auth='client-key:client-secret' your-org-name.your-crm-region.dynamics.comRe-use auth$ http --session=logged-in POST your-org-name.your-crm-region.dynamics.com hello=world
Package: microsoft-kiota-abstractions
Microsoft Kiota Abstractions Library for PythonThe Microsoft Kiota abstractions library for Python is the python package defining the basic constructs Kiota projects need once an SDK has been generated from an OpenAPI definition.AKiotagenerated project will need a reference to the abstraction package to build and run.Read more about Kiotahere.Using the Abstractions LibraryIn order to use this library, install the package by running:pip install microsoft-kiota-abstractionsContributingThis project welcomes contributions and suggestions.  Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visithttps://cla.opensource.microsoft.com.When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.This project has adopted theMicrosoft Open Source Code of Conduct.
For more information see theCode of Conduct FAQor
contactopencode@microsoft.comwith any additional questions or comments.TrademarksThis project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
trademarks or logos is subject to and must followMicrosoft's Trademark & Brand Guidelines.
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's policies.
Package: microsoft-kiota-authentication-azure
Microsoft Kiota Authentication Azure Library for PythonThe Microsoft Kiota Authentication Azure Library is an implementation to authenticate HTTP requests using @azure/identity.AKiotagenerated project will need a reference to an authentication provider to make calls to an API endpoint.Read more about Kiotahere.Using the Microsoft Kiota Authentication Azure libraryIn order to use this library, install the package by running:pip install microsoft-kiota-authentication-azureContributingThis project welcomes contributions and suggestions.  Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visithttps://cla.opensource.microsoft.com.When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.This project has adopted theMicrosoft Open Source Code of Conduct.
For more information see theCode of Conduct FAQor
contactopencode@microsoft.comwith any additional questions or comments.TrademarksThis project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
trademarks or logos is subject to and must followMicrosoft's Trademark & Brand Guidelines.
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's policies.
Package: microsoft-kiota-http
Microsoft Kiota HTTP libraryThe Microsoft Kiota HTTP Library is a python HTTP implementation with HTTPX library.AKiotagenerated project will need a reference to a http package to to make HTTP requests to an API endpoint.Read more about Kiotahere.Using the Microsoft Kiota HTTP libraryIn order to use this library, install the package by running:pip install microsoft-kiota-httpContributingThis project welcomes contributions and suggestions.  Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visithttps://cla.opensource.microsoft.com.When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.This project has adopted theMicrosoft Open Source Code of Conduct.
For more information see theCode of Conduct FAQor
contactopencode@microsoft.comwith any additional questions or comments.TrademarksThis project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
trademarks or logos is subject to and must followMicrosoft's Trademark & Brand Guidelines.
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's policies.
Package: microsoft-kiota-serialization-form
Microsoft Kiota URI Form Encoded Serialization Library for PythonThe Form Serialization Library for Python is the pythonapplication/x-www-form-urlencodedserialization library implementation.AKiotagenerated project will need a reference to a form serialization package to handleapplication/x-www-form-urlencoded payloadsfrom a supporting API endpoint.Read more about Kiotahere.Using the Microsoft Kiota URI Form Encoded Serialization LibraryIn order to use this library, install the package by running:pip install microsoft-kiota-serialization-formContributingThis project welcomes contributions and suggestions.  Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visithttps://cla.opensource.microsoft.com.When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.This project has adopted theMicrosoft Open Source Code of Conduct.
For more information see theCode of Conduct FAQor
contactopencode@microsoft.comwith any additional questions or comments.TrademarksThis project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
trademarks or logos is subject to and must followMicrosoft's Trademark & Brand Guidelines.
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's policies.
Package: microsoft-kiota-serialization-json
Microsoft Kiota Serialization library for JSONThe Microsoft Kiota Serialization Library for JSON is a python implementation to serialize/deserialize JSON.AKiotagenerated project will need a reference to a json serialization package to handle json payloads from an API endpoint.Read more about Kiotahere.Using the Microsoft Kiota Serialization JSON libraryIn order to use this library, install the package by running:pip install microsoft-kiota-serialization-jsonContributingThis project welcomes contributions and suggestions.  Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visithttps://cla.opensource.microsoft.com.When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.This project has adopted theMicrosoft Open Source Code of Conduct.
For more information see theCode of Conduct FAQor
contactopencode@microsoft.comwith any additional questions or comments.TrademarksThis project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
trademarks or logos is subject to and must followMicrosoft's Trademark & Brand Guidelines.
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's policies.
Package: microsoft-kiota-serialization-text
Microsoft Kiota Text Serialization libraryThe Microsoft Kiota Text Serialization Library is a python implementation to serialize/deserialize text/plain.AKiotagenerated project will need a reference to a json serialization package to handle json payloads from an API endpoint.Read more about Kiotahere.Using the Microsoft Kiota Text Serialization libraryIn order to use this library, install the package by running:pip install microsoft-kiota-serialization-textContributingThis project welcomes contributions and suggestions.  Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visithttps://cla.opensource.microsoft.com.When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.This project has adopted theMicrosoft Open Source Code of Conduct.
For more information see theCode of Conduct FAQor
contactopencode@microsoft.comwith any additional questions or comments.TrademarksThis project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
trademarks or logos is subject to and must followMicrosoft's Trademark & Brand Guidelines.
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's policies.
Package: microsoft-scraper
Titlemicrosoft.com ScraperDescrptionWith microsoft.com Scraper you can scrape search results and extract the contents produced by the search result.In microsoft.com scraper it will scrape the data present of the website and give json data which contains the details of the contents on the website.JSON sample data{"Scraper_Surface":[{"content":"Protect your Surface","link_0":"https://www.microsoft.com/en-gb/store/b/microsoft-complete","See_new_link":"https://www.microsoft.com/windows/windows-11","call_action_glyph":"See what's new","heading":"Now with Windows 11, get closer to what you love","paragraph":"Family, friends, passions, music, creations\u2014Windows 11\u00a0is the one place for it all6. With a fresh new feel and tools that make it easier to be efficient, it has what you need for whatever\u2019s next."}Click Here for moreRun Scraperfrommicrosoft_scraperimport*link="https://www.microsoft.com/en-gb/d/surface-pro-x/8XTMB6C575MD"data=run_microsoft_scraper(link)How it works?It takes URL of microsoft page with a search keyword to scrape the data.It generates the json data which contains the information of the microsoft.com search result.It gives the every detail present inside website in the form of json data.ExamplesBelow are some of the examples of URLs using which you can scrape:Example 1Example2Queries/ FeedbackIf you have some queries or feedback please contact us at followingTelegramEmail
Package: microsoft-service-wrapper
Microsoft Service WrapperA python wrapper for microsoft services REST API (currently: Graph and PowerBI)Free software: MIT licenseDocumentation:https://microsoft-service-wrapper.readthedocs.io.FeaturesGraphGet Group membersAdd users to groupRemove users from groupPowerBIGet WorkspacesGrant Workspace Dataset permission to userUpdate Workspace Dataset permission to userRevoke Workspace permissions from userCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.3.1 (2022-10-13)Fix attrib name on graph remove group users0.3.0 (2022-08-28)Added page crawling.0.2.0 (2022-08-26)Now users are inserted as chunks of size 20 into groups.0.1.0 (2022-04-17)First release on PyPI.