Saravanan666/pypi-org huggingface dataset:
Package: apimarket
apimarketAPI Market Python Open Source DevelopmentInstallationpipinstallapimarketSet API KEYThere are three different ways to set the API key: you can set the API key as an environment variable in your shell, in the .env file, or call functions with your API key.exportAPIMARKET_API_KEY="REPLACE-WITH-YOUR-API-HERE"APIMARKET_API_KEY="REPLACE-WITH-YOUR-API-HERE"PythonYou can consult the full list on Python Docs.Fetch CURP detailsimportapimarket# Also it is possible apimarket.fetch_curp_details("LOOA531113HTCPBN07", api_key="")result=apimarket.fetch_curp_details("LOOA531113HTCPBN07")print(result)CLIYou can consult the full list on CLI Docs.Fetch CURP detailsapimarket-cLOOA531113HTCPBN07Combine different requestsapimarket-cLOOA531113HTCPBN07--get-rfc-from-curpLOOA531113HTCPBN07|jq-s'add'Read a CSV with your customs fieldscsvcut belongs to csvkit librarycsvcutapimarket-consulta.csv-c'CURP'|xargs-P8-I{}apimarket-c{}2>"error.txt"|jq-s>curps.jsonServiciosValida CURP APIValida CURP API, es una API REST para la obtención y validación de los registros de nacimiento relacionados a la Clave Única de Registro de Población (CURP) en el Registro Nacional de Población (RENAPO) localizados en México en formato JSON. Este endpoint no usa un algoritmo, sino que consulta las fuentes oficiales. Este servicio cumple con la normativa de nuestra parte, te recomendamos leer nuestros nuestros términos y condiciones.
Más información enhttps://apimarket.mx/marketplace/valida-curpDudas y opinionesCorreoMediante correo electrónico:abdiel@apimarket.mxWhatsApp:https://api.whatsapp.com/message/CEUT72XQ5FKGP1
Package: apimatic-1-pypi
Getting Started with APIMATIC CalculatorIntroductionSimple calculator API hosted on APIMATICInstall the PackageThe package is compatible with Python versions2 >=2.7.9and3 >=3.4.
Install the package from PyPi using the following pip command:pipinstallapimatic-1-pypi==1.0.0You can also view the package at:https://pypi.python.org/pypi/apimatic-1-pypiTest the SDKYou can test the generated SDK and the server with test cases.unittestis used as the testing framework andnoseis used as the test runner. You can run the tests as follows:Navigate to the root directory of the SDK and run the following commandspip install -r test-requirements.txt
nosetestsInitialize the API ClientNote:Documentation for the client can be foundhere.The following parameters are configurable for the API Client:ParameterTypeDescriptionenvironmentEnvironmentThe API environment.Default:Environment.PRODUCTIONtimeoutfloatThe value to use for connection timeout.Default: 60max_retriesintThe number of times to retry an endpoint call if it fails.Default: 0backoff_factorfloatA backoff factor to apply between attempts after the second try.Default: 2retry_statusesArray of intThe http statuses on which retry is to be done.Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]retry_methodsArray of stringThe http methods on which retry is to be done.Default: ['GET', 'PUT']The API client can be initialized as follows:fromapimaticcalculator.apimaticcalculator_clientimportApimaticcalculatorClientfromapimaticcalculator.configurationimportEnvironmentclient=ApimaticcalculatorClient(environment=Environment.PRODUCTION,)List of APIsSimple CalculatorClasses DocumentationUtility ClassesHttpResponseHttpRequest
Package: apimatic-calculator
Getting startedCalculator API built with APIMATICHow to BuildYou must have Python2 >=2.7.9or Python3 >=3.4installed on your system to install and run this SDK. This SDK package depends on other Python packages like nose, jsonpickle etc.
These dependencies are defined in therequirements.txtfile that comes with the SDK.
To resolve these dependencies, you can use the PIP Dependency manager. Install it by following steps athttps://pip.pypa.io/en/stable/installing/.Python and PIP executables should be defined in your PATH. Open command prompt and typepip --version.
This should display the version of the PIP Dependency Manager installed if your installation was successful and the paths are properly defined.Using command line, navigate to the directory containing the generated files (includingrequirements.txt) for the SDK.Run the commandpip install -r requirements.txt. This should install all the required dependencies.How to UseThe following section explains how to use the ApimaticCalculator SDK package in a new project.1. Open Project in an IDEOpen up a Python IDE like PyCharm. The basic workflow presented here is also applicable if you prefer using a different editor or IDE.Click onOpenin PyCharm to browse to your generated SDK directory and then clickOK.The project files will be displayed in the side bar as follows:2. Add a new Test ProjectCreate a new directory by right clicking on the solution name as shown below:Name the directory as "test"Add a python file to this project with the name "testsdk"Name it "testsdk"In your python file you will be required to import the generated python library using the following code linesfromapimatic_calculator.apimatic_calculator_clientimportApimaticCalculatorClientAfter this you can write code to instantiate an API client object, get a controller object and  make API calls. Sample code is given in the subsequent sections.3. Run the Test ProjectTo run the file within your test project, right click on your Python file inside your Test project and click onRunHow to TestYou can test the generated SDK and the server with automatically generated test
cases. unittest is used as the testing framework and nose is used as the test
runner. You can run the tests as follows:From terminal/cmd navigate to the root directory of the SDK.Invokepip install -r test-requirements.txtInvokenosetestsInitializationAPI client can be initialized as following.client=ApimaticCalculatorClient()Class ReferenceList of ControllersSimpleCalculatorControllerSimpleCalculatorControllerGet controller instanceAn instance of theSimpleCalculatorControllerclass can be accessed from the API Client.simple_calculator_controller=client.simple_calculatorget_calculateCalculates the result for the specified operation and variables.defget_calculate(self,operation,x,y)ParametersParameterTagsDescriptionoperationRequiredThe operator to be applied on the provided variables.xRequiredDefaultValueThe LHS valueyRequiredDefaultValueThe RHS valueExample Usageoperation=OperationTypeEnum.SUMx=20y=30result=simple_calculator_controller.get_calculate(operation,x,y)Back to List of Controllers
Package: apimatic-calculator-97-sdk
Getting Started with APIMATIC CalculatorIntroductionSimple calculator API hosted on APIMATICInstall the PackageThe package is compatible with Python versions3 >=3.7, <= 3.11.
Install the package from PyPi using the following pip command:pipinstallapimatic-calculator-97-sdk==1.0.1You can also view the package at:https://pypi.python.org/pypi/apimatic-calculator-97-sdk/1.0.1Test the SDKYou can test the generated SDK and the server with test cases.unittestis used as the testing framework andpytestis used as the test runner. You can run the tests as follows:Navigate to the root directory of the SDK and run the following commandspip install -r test-requirements.txt
pytestInitialize the API ClientNote:Documentation for the client can be foundhere.The following parameters are configurable for the API Client:ParameterTypeDescriptionenvironmentEnvironmentThe API environment.Default:Environment.PRODUCTIONhttp_client_instanceHttpClientThe Http Client passed from the sdk user for making requestsoverride_http_client_configurationboolThe value which determines to override properties of the passed Http Client from the sdk userhttp_call_backHttpCallBackThe callback value that is invoked before and after an HTTP call is made to an endpointtimeoutfloatThe value to use for connection timeout.Default: 60max_retriesintThe number of times to retry an endpoint call if it fails.Default: 0backoff_factorfloatA backoff factor to apply between attempts after the second try.Default: 2retry_statusesArray of intThe http statuses on which retry is to be done.Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]retry_methodsArray of stringThe http methods on which retry is to be done.Default: ['GET', 'PUT']The API client can be initialized as follows:fromapimaticcalculator.apimaticcalculator_clientimportApimaticcalculatorClientfromapimaticcalculator.configurationimportEnvironmentclient=ApimaticcalculatorClient()List of APIsSimple CalculatorClasses DocumentationUtility ClassesHttpResponseHttpRequest
Package: apimaticcalculatortestapimatic
Getting Started with Calculator-M.HarisIntroductionAPIMatic calculator API version 1.2.Install the PackageThe package is compatible with Python versions3 >=3.7, <= 3.9.
Install the package from PyPi using the following pip command:pipinstallapimaticcalculatortestapimatic==1.0.0You can also view the package at:https://pypi.python.org/pypi/apimaticcalculatortestapimaticTest the SDKYou can test the generated SDK and the server with test cases.unittestis used as the testing framework andnoseis used as the test runner. You can run the tests as follows:Navigate to the root directory of the SDK and run the following commandspip install -r test-requirements.txt
nosetestsInitialize the API ClientNote:Documentation for the client can be foundhere.The following parameters are configurable for the API Client:ParameterTypeDescriptionhttp_client_instanceHttpClientThe Http Client passed from the sdk user for making requestsoverride_http_client_configurationboolThe value which determines to override properties of the passed Http Client from the sdk userhttp_call_backHttpCallBackThe callback value that is invoked before and after an HTTP call is made to an endpointtimeoutfloatThe value to use for connection timeout.Default: 60max_retriesintThe number of times to retry an endpoint call if it fails.Default: 0backoff_factorfloatA backoff factor to apply between attempts after the second try.Default: 2retry_statusesArray of intThe http statuses on which retry is to be done.Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]retry_methodsArray of stringThe http methods on which retry is to be done.Default: ['GET', 'PUT']The API client can be initialized as follows:fromcalculatormharis.calculatormharis_clientimportCalculatormharisClientfromcalculatormharis.configurationimportEnvironmentclient=CalculatormharisClient(environment=Environment.PRODUCTION,)List of APIsSimple CalculatorClasses DocumentationUtility ClassesHttpResponseHttpRequest
Package: apimatic-calc-v1
Getting startedSimple calculator API hosted on APIMATICHow to BuildYou must have Python2 >=2.7.9or Python3 >=3.4installed on your system to install and run this SDK. This SDK package depends on other Python packages like nose, jsonpickle etc.
These dependencies are defined in therequirements.txtfile that comes with the SDK.
To resolve these dependencies, you can use the PIP Dependency manager. Install it by following steps athttps://pip.pypa.io/en/stable/installing/.Python and PIP executables should be defined in your PATH. Open command prompt and typepip --version.
This should display the version of the PIP Dependency Manager installed if your installation was successful and the paths are properly defined.Using command line, navigate to the directory containing the generated files (includingrequirements.txt) for the SDK.Run the commandpip install -r requirements.txt. This should install all the required dependencies.How to UseThe following section explains how to use the ApimaticCalcV1 SDK package in a new project.1. Open Project in an IDEOpen up a Python IDE like PyCharm. The basic workflow presented here is also applicable if you prefer using a different editor or IDE.Click onOpenin PyCharm to browse to your generated SDK directory and then clickOK.The project files will be displayed in the side bar as follows:2. Add a new Test ProjectCreate a new directory by right clicking on the solution name as shown below:Name the directory as "test"Add a python file to this project with the name "testsdk"Name it "testsdk"In your python file you will be required to import the generated python library using the following code linesfromapimatic_calc_v_1.apimatic_calc_v_1_clientimportApimaticCalcV1ClientAfter this you can write code to instantiate an API client object, get a controller object and  make API calls. Sample code is given in the subsequent sections.3. Run the Test ProjectTo run the file within your test project, right click on your Python file inside your Test project and click onRunHow to TestYou can test the generated SDK and the server with automatically generated test
cases. unittest is used as the testing framework and nose is used as the test
runner. You can run the tests as follows:From terminal/cmd navigate to the root directory of the SDK.Invokepip install -r test-requirements.txtInvokenosetestsInitializationAPI client can be initialized as following.client=ApimaticCalcV1Client()Class ReferenceList of ControllersSimpleCalculatorControllerSimpleCalculatorControllerGet controller instanceAn instance of theSimpleCalculatorControllerclass can be accessed from the API Client.simple_calculator_controller=client.simple_calculatorget_calculateCalculates the expression using the specified operation.defget_calculate(self,options=dict())ParametersParameterTagsDescriptionoperationRequiredThe operator to apply on the variablesxRequiredThe LHS valueyRequiredThe RHS valueExample Usagecollect={}operation=OperationTypeEnum.MULTIPLYcollect['operation']=operationx=4collect['x']=xy=5collect['y']=yresult=simple_calculator_controller.get_calculate(collect)Back to List of Controllers
Package: apimaticcalhamza
Getting Started with First API CalculatorIntroductionMy First API- CalculatorInstall the PackageThe package is compatible with Python versions3 >=3.7, <= 3.9.
Install the package from PyPi using the following pip command:pipinstallapimaticcalhamza==1.0.0You can also view the package at:https://pypi.python.org/pypi/apimaticcalhamzaTest the SDKYou can test the generated SDK and the server with test cases.unittestis used as the testing framework andnoseis used as the test runner. You can run the tests as follows:Navigate to the root directory of the SDK and run the following commandspip install -r test-requirements.txt
nosetestsInitialize the API ClientNote:Documentation for the client can be foundhere.The following parameters are configurable for the API Client:ParameterTypeDescriptionhttp_client_instanceHttpClientThe Http Client passed from the sdk user for making requestsoverride_http_client_configurationboolThe value which determines to override properties of the passed Http Client from the sdk userhttp_call_backHttpCallBackThe callback value that is invoked before and after an HTTP call is made to an endpointtimeoutfloatThe value to use for connection timeout.Default: 60max_retriesintThe number of times to retry an endpoint call if it fails.Default: 0backoff_factorfloatA backoff factor to apply between attempts after the second try.Default: 2retry_statusesArray of intThe http statuses on which retry is to be done.Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]retry_methodsArray of stringThe http methods on which retry is to be done.Default: ['GET', 'PUT']The API client can be initialized as follows:fromfirstapicalculator.firstapicalculator_clientimportFirstapicalculatorClientfromfirstapicalculator.configurationimportEnvironmentclient=FirstapicalculatorClient(environment=Environment.PRODUCTION,)List of APIsSimple CalculatorClasses DocumentationUtility ClassesHttpResponseHttpRequest
Package: apimatic-core-interfaces
apimatic-core-interfacesIntroductionThis project contains the abstract layer for APIMatic's core library. The purpose of creating interfaces is to separate out the functionalities needed by APIMatic's core library module. The goal is to support scalability and feature enhancement of the core library and the SDKs along with avoiding any breaking changes by reducing tight coupling between modules through the introduction of interfaces.Version supportedCurrenty APIMatic supportsPython version 3.7 - 3.11hence the apimatic-core-interfaces will need the same versions to be supported.InstallationSimply run the command below in your SDK as the apimatic-core-interfaces will be added as a dependency in the SDK.pipinstallapimatic-core-interfacesInterfacesNameDescriptionHttpClientTo save both Request and Response after the completion of responseResponseFactoryTo convert the client-adapter response into a custom HTTP responseAuthenticationTo setup methods for the validation and application of the required authentication schemeUnionTypeTo setup methods for the validation and deserialization of OneOf/AnyOf union typesEnumerationsNameDescriptionHttpMethodEnumEnumeration containig HTTP Methods (GET, POST, PATCH, DELETE)
Package: apimatic-ignore-sdk
Getting Started with APIMATIC CalculatorIntroductionSimple calculator API hosted on APIMATICInstall the PackageThe package is compatible with Python versions3 >=3.7, <= 3.11.
Install the package from PyPi using the following pip command:pipinstallapimatic-ignore-sdk==3.4.89You can also view the package at:https://pypi.python.org/pypi/apimatic-ignore-sdk/3.4.89Initialize the API ClientNote:Documentation for the client can be foundhere.The following parameters are configurable for the API Client:ParameterTypeDescriptionenvironmentEnvironmentThe API environment.Default:Environment.PRODUCTIONhttp_client_instanceHttpClientThe Http Client passed from the sdk user for making requestsoverride_http_client_configurationboolThe value which determines to override properties of the passed Http Client from the sdk userhttp_call_backHttpCallBackThe callback value that is invoked before and after an HTTP call is made to an endpointtimeoutfloatThe value to use for connection timeout.Default: 60max_retriesintThe number of times to retry an endpoint call if it fails.Default: 0backoff_factorfloatA backoff factor to apply between attempts after the second try.Default: 2retry_statusesArray of intThe http statuses on which retry is to be done.Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]retry_methodsArray of stringThe http methods on which retry is to be done.Default: ['GET', 'PUT']The API client can be initialized as follows:fromapimaticcalculator.apimaticcalculator_clientimportApimaticcalculatorClientfromapimaticcalculator.configurationimportEnvironmentclient=ApimaticcalculatorClient()List of APIsSimple CalculatorClasses DocumentationUtility ClassesHttpResponseHttpRequest
Package: apimaticio-calculator-678-sdk
Getting Started with APIMATIC CalculatorIntroductionSimple calculator API hosted on APIMATICInstall the PackageThe package is compatible with Python versions3 >=3.7, <= 3.11.
Install the package from PyPi using the following pip command:pipinstallapimaticio-calculator-678-sdk==1.1.1You can also view the package at:https://pypi.python.org/pypi/apimaticio-calculator-678-sdk/1.1.1Test the SDKYou can test the generated SDK and the server with test cases.unittestis used as the testing framework andpytestis used as the test runner. You can run the tests as follows:Navigate to the root directory of the SDK and run the following commandspip install -r test-requirements.txt
pytestInitialize the API ClientNote:Documentation for the client can be foundhere.The following parameters are configurable for the API Client:ParameterTypeDescriptionenvironmentEnvironmentThe API environment.Default:Environment.PRODUCTIONhttp_client_instanceHttpClientThe Http Client passed from the sdk user for making requestsoverride_http_client_configurationboolThe value which determines to override properties of the passed Http Client from the sdk userhttp_call_backHttpCallBackThe callback value that is invoked before and after an HTTP call is made to an endpointtimeoutfloatThe value to use for connection timeout.Default: 60max_retriesintThe number of times to retry an endpoint call if it fails.Default: 0backoff_factorfloatA backoff factor to apply between attempts after the second try.Default: 2retry_statusesArray of intThe http statuses on which retry is to be done.Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]retry_methodsArray of stringThe http methods on which retry is to be done.Default: ['GET', 'PUT']The API client can be initialized as follows:fromapimaticcalculator.apimaticcalculator_clientimportApimaticcalculatorClientfromapimaticcalculator.configurationimportEnvironmentclient=ApimaticcalculatorClient()List of APIsSimple CalculatorClasses DocumentationUtility ClassesHttpResponseHttpRequest
Package: apimatic-requests-client-adapter
apimatic-requests-client-adapterIntroductionRequests is a simple, yet elegant, HTTP library. This repository contains the client implementation that uses the requests library for python SDK provided by APIMatic.Version supportedCurrenty APIMatic supportsPython version 3.7 - 3.11hence the apimatic-requests-client-adapter will need the same versions to be supported.InstallationSimply run the command below in your SDK as the apimatic-requests-client-adapter will be added as a dependency in the SDK.pipinstallapimatic-requests-client-adapterSupported Methods Provided by requests-clientMethodDescriptioncreate_default_http_clientfunction to creat a defaultp http clientforce_retriesReset retries according to each requestexecuteExecute a given HttpRequest to get a string response backconvert_responseConverts the Response object of the CoreHttpClient into a CoreHttpResponse objectTestsThe requests client implementation also contains unit tests to ensure reliability of the implementation and to prevent unwanted breakages.Linksapimatic-core-interfacesRequests
Package: api.mcsrvstat.py
api.mcsrvstat.pyAn asynchronous Python wrapper for theMinecraft Server Status API.ChecksStatuspretty codestyle enforcementInstallation# Install / upgrade.$pipinstall-Uapi.mcsrvstat.pyWiki & UsageIn order to read about the different methods, extensions and use cases, check outthe GitHub Wiki pageof this library. There's nothing more important than reading documentations in terms of implementing a new library in your project!AcknowledgementsThanks to Anders G. Jørgensen for making the original API behind this wrapper possible.LicenseLicensed under theMIT License.
Package: apimeter
ApiMeterApiMeteris a simple & elegant, yet powerful HTTP(S) testing framework. Enjoy! ✨ 🚀 ✨Design PhilosophyEmbrace open source, stand on giants' shoulders, likeRequests,unittestandLocust.Convention over configuration.Pursuit of high rewards, write once and achieve a variety of testing needsKey FeaturesInherit all powerful features ofRequests, just have fun to handle HTTP(S) in human way.Define testcases in YAML or JSON format in concise and elegant manner.Record and generate testcases withHARsupport. seehar2case.Supportsvariables/extract/validatemechanisms to create full test scenarios.Supports perfect hook mechanism.Withdebugtalk.pyplugin, very easy to implement complex logic in testcase.Testcases can be run in diverse ways, with single testcase, multiple testcases, or entire project folder.Test report is concise and clear, with detailed log records.With reuse ofLocust, you can run performance test without extra work.CLI command supported, perfect combination withCI/CD.DocumentationApiMeter is rich documented.中文用户使用手册开发历程记录博客CHANGELOGUsagepipinstallapimeter# 安装apimeter/path/to/api# 完整生成报告apimeter/path/to/api--skip-success# 报告忽略成功用例数注意事项1、安装后可用命令apimeter、hrun、apilocust；2、安装时不需要卸载HttpRunner，如果存在httprunner，会覆盖其hrun命令，另外的httprunner、ate命令依然可用；3、之所以不写字HttpRunner，因为部分项目在debugtalk.py中导入了HttpRunner包并使用其已封装好的函数；Developmentpoetryinstall# 拉取代码后安装依赖poetryrunpython-mapimeter/path/to/api# 完整生成报告poetryrunpython-mapimeter/path/to/api--skip-success# 报告忽略成功用例数据poetrybuild# 打包poetrypublish# 发布，根据提示输入pypi账号密码pipinstall-ihttps://pypi.Python.org/simple/apimeter# 指定安装源，因为刚发布其他平台未及时同步