Saravanan666/pypi-org huggingface dataset:
Package: locust-mboutet
LocustLocust is an easy to use, scriptable and scalable performance testing tool. You define the behaviour of your users in regular Python code, instead of using a clunky UI or domain specific language. This makes Locust infinitely expandable and very developer friendly.FeaturesWrite user test scenarios in plain old PythonIf you want your users to loop, perform some conditional behaviour or do some calculations, you just use the regular programming constructs provided by Python. Locust runs every user inside its own greenlet (a lightweight process/coroutine). This enables you to write your tests like normal (blocking) Python code instead of having to use callbacks or some other mechanism. Because your scenarios are “just python” you can use your regular IDE, and version control your tests as regular code (as opposed to some other tools that use XML or binary formats)fromlocustimportHttpUser,task,betweenclassQuickstartUser(HttpUser):wait_time=between(1,2)defon_start(self):self.client.post("/login",json={"username":"foo","password":"bar"})@taskdefhello_world(self):self.client.get("/hello")self.client.get("/world")@task(3)defview_item(self):foritem_idinrange(10):self.client.get(f"/item?id={item_id}",name="/item")Distributed & Scalable - supports hundreds of thousands of usersLocust makes it easy to run load tests distributed over multiple machines. It is event-based (usinggevent), which makes it possible for a single process to handle many thousands concurrent users. While there may be other tools that are capable of doing more requests per second on a given hardware, the low overhead of each Locust user makes it very suitable for testing highly concurrent workloads.Web-based UILocust has a user friendly web interface that shows the progress of your test in real-time. You can even change the load while the test is running. It can also be run without the UI, making it easy to use for CI/CD testing.Can test any systemEven though Locust primarily works with web sites/services, it can be used to test almost any system or protocol. Justwrite a clientfor what you want to test, orexplore some created by the community.HackableLocust is small and very flexible and we intend to keep it that way. If you want tosend reporting data to that database & graphing system you like, wrap calls to a REST API to handle the particulars of your system or run atotally custom load pattern, there is nothing stopping you!LinksWebsite:locust.ioDocumentation:docs.locust.ioCode/issues:GithubSupport/Questions:StackOverflowChat/discussion:Slack signupAuthorsCarl Bystr(@cgbystromon Twitter)Jonatan Heyman(@jonatanheymanon Twitter)Joakim Hamrén(@Jahaajaon Twitter)Hugo Heyman(@hugoheymanon Twitter)Lars HolmbergLicenseOpen source licensed under the MIT license (seeLICENSEfile for details).
Package: locust-mboutet2
LocustLocust is an easy to use, scriptable and scalable performance testing tool. You define the behaviour of your users in regular Python code, instead of using a clunky UI or domain specific language. This makes Locust infinitely expandable and very developer friendly.FeaturesWrite user test scenarios in plain old PythonIf you want your users to loop, perform some conditional behaviour or do some calculations, you just use the regular programming constructs provided by Python. Locust runs every user inside its own greenlet (a lightweight process/coroutine). This enables you to write your tests like normal (blocking) Python code instead of having to use callbacks or some other mechanism. Because your scenarios are “just python” you can use your regular IDE, and version control your tests as regular code (as opposed to some other tools that use XML or binary formats)fromlocustimportHttpUser,task,betweenclassQuickstartUser(HttpUser):wait_time=between(1,2)defon_start(self):self.client.post("/login",json={"username":"foo","password":"bar"})@taskdefhello_world(self):self.client.get("/hello")self.client.get("/world")@task(3)defview_item(self):foritem_idinrange(10):self.client.get(f"/item?id={item_id}",name="/item")Distributed & Scalable - supports hundreds of thousands of usersLocust makes it easy to run load tests distributed over multiple machines. It is event-based (usinggevent), which makes it possible for a single process to handle many thousands concurrent users. While there may be other tools that are capable of doing more requests per second on a given hardware, the low overhead of each Locust user makes it very suitable for testing highly concurrent workloads.Web-based UILocust has a user friendly web interface that shows the progress of your test in real-time. You can even change the load while the test is running. It can also be run without the UI, making it easy to use for CI/CD testing.Can test any systemEven though Locust primarily works with web sites/services, it can be used to test almost any system or protocol. Justwrite a clientfor what you want to test, orexplore some created by the community.HackableLocust is small and very flexible and we intend to keep it that way. If you want tosend reporting data to that database & graphing system you like, wrap calls to a REST API to handle the particulars of your system or run atotally custom load pattern, there is nothing stopping you!LinksWebsite:locust.ioDocumentation:docs.locust.ioCode/issues:GithubSupport/Questions:StackOverflowChat/discussion:Slack signupAuthorsCarl Bystr(@cgbystromon Twitter)Jonatan Heyman(@jonatanheymanon Twitter)Joakim Hamrén(@Jahaajaon Twitter)Hugo Heyman(@hugoheymanon Twitter)Lars HolmbergLicenseOpen source licensed under the MIT license (seeLICENSEfile for details).
Package: locustodoorpc
Locust odoorpcLinksLocust:https://locust.io/Locust docs:https://docs.locust.io/OdooRPC:https://pythonhosted.org/OdooRPC/Source code:https://github.com/camptocamp/locustodoorpcAlternative:https://github.com/nseinlet/OdooLocust(usingopenerplibinstead ofodoorpc)DescriptionLocust custom client integrating theodoorpclibrary, so you can run load-testing on
your odoo services. Have a look at the feature list oflocustto see what you can do.Installationvirtualenv .env
source .env/bin/activate
pip install locustodoorpcUsageFor the general documentation on Locust, heads onhttps://docs.locust.io/en/latest/A few options can be customized with environment variables or command line parameters. These
can also be specified in the Locust Web UI now.NameOptionUsageODOO_DB_NAME–odoo-db-nameConfigure the name of the database to load-test
(default: odoo)ODOO_LOGIN–odoo-loginLogin to use for the actions (default: admin)ODOO_PASSWORD–odoo-passwordPassword for the user (default: admin)ODOO_VERSION–odoo-versionForce an Odoo version (e.g. 9.0, 10.0, 11.0), normally
automatically recognizedExample:ODOO_DB_NAME=demo locust -f examples/locustfile.py --host http://localhost:8069Also Valid:locust -f examples/locustfile.py --host http://localhost:8069 --odoo-db-name=demoCheck theexamplesRelease History0.0.4 (2023-02-17)update locust versionallow Odoo Configuration from the Locust Web UI (#5 by @HP-bkeys)0.0.3 (2022-08-25)fix python3 supportupdate locust package nameadapt to new locust APIbump dependencies version of locust and odoorpcupdate examples to work with Odoo 15.0 out of the box0.0.2 (2017-11-03)Fix support of jsonrpc-ssl0.0.1 (2017-11-03)Initial release.
Package: locust-plugin-result
# Locust Plugin to provide FAIL/PASS status for entire test run## LinksLocust Website: <a href=”https://locust.io”>locust.io</a>## DescriptionThis locust plugin extends Locust with the concept of test run PASS/FAIL## FeaturesUtility function to set resultIn your locustfile.py:from locust_plugin_result import RESULT_PASS, RESULT_FAIL, set_result

...
  # Inside event callback
  set_result(environment.runner, RESULT_FAIL, "Failed check of ...")See examples/result.py for details.Endpoint to get status:http://<locust-master>/statusReturns json:{
  'result': None,  # Result will be None until your locustfile sets it.
  'state': 'ready',
  'worker_count': None,  # None for LocalWorker - current number of workers if running distributed
  'user_count': 0
}## AuthorsLars Hupfeldt Nielsen## LicenseOpen source licensed under the BSD license (see _LICENSE_ file for details).
Package: locust-xmlrpc
A XML-RPC Transport to use withLocustUsage in your locustfile:fromsix.movesimportxmlrpc_client# Python2-3 compatfromlocust_xmlrpcimportLocustXmlRpcTransportfromlocustimportLocustclassXmlRpcLocust(Locust):def__init__(self,*args,**kwargs):super(XmlRpcLocust,self).__init__(*args,**kwargs)self.client=xmlrpc_client.ServerProxy('{}/xmlrpc'.format(self.host),transport=LocustXmlRpcTransport())
Package: locutius
LOCUTIUSAdapted from Adam Bard's work athttps://unpythonic.com/02_02_multimethods/,
with clarifications, corrections, and unit tests.Clojure-style multimethods with arbitrary dispatch keys. See 'test_locutius.py'
for usage examples.INSTALLATIONpip install locutiusRequires Python 3, preferably 3.6 or later.
Package: lodcloud-search-API
lodcloud_search_APIDescriptionIt is a set of python functions created to make it easier and more effective to search for knowledge graphs among those made available bylod-cloud.The site provides ajson filethat we analyze and query, in particular you can make abrutal searchand asearch by tags.You can also choose torankthe results in 4 different ways:name(default)sizeauthoritycentralityBasic UsageInstallwithpip:python3 -m pip install lodcloud-search-API# First of all you have to require the package in the codefromlodcloud_search_apiimportsearch_api# ..then you have to initialize the search_apisearch_api.initialize()Now you are ready to exploit all the functions:BRUTALSEARCHresults=search_api.brutalSearch('keyword','rankingMode');# rankingMode(optional) is one of['name', 'size', 'authority', 'centrality']TAGSEARCHresults=search_api.tagSearch('keyword','tag',rankingMode);//chooseoneofthetagsfromlodcloudjsonstructure.MULTITAGSEARCHresults=search_api.multiTagSearch('keyword',rankingMode,'tag_1','tag_2','tag_3',...);//youperformthequeryonseveraltags.Available methodsbrutalSearch(target): For each knowledge graph in lod-cloud, it searches within all tags for the regular expression containing the target.tagSearch(target, tag): For each knowledge graph, it searches within the specified tag for the regular expression containing the target.multiTagSearch(target, ...tags): For each knowledge graph, it searches within the specified tags the regular expression containing the target.filterResults(result, ...tags): It's a filter to return in the resulting JSON only tags specified.generalSorting(result, mode): It's a dispatcher method to execute the ranking algorithm specified in mode parameter.sortResultsBySize(results): Sorts results by triples number.sortResultsByName(results): Sorts results in alphabetic order using the identifier.sortResultsByAuthority(results): Sorts results by authority using the pagerank algorithm.sortResultsByCentrality(results): Sorts results by centrality using the centrality algorithm.
Package: lode
Tiny and minimalistic logging utility module.Lode is designed to be used in the case where normally simple print statement
style debugging would be useful, like checking whether or not a section of code
is executed, but stdout or stderr has been robbed from you by something like a
devilishly clever test framework.  Rather than try to uncover which dark
alleyway your calls to print end up, lode just outputs it to a friendly file.Lode is tested and supported on python versions 2.6, 2.7, 3.2, 3.3 and 3.4.InstallingLode can be installed with pip:$pipinstalllodeOr from source:$gitclonehttps://github.com/kragniz/lode.git$cdlode$pythonsetup.pyinstallUsing this thingFor the most basic usage, just import lode and call thelogfunction. Usage
is largely the same as the print function, with it taking any number of
positional arguments, formatting those to a string, and joining them together
separated by spaces.importlode;lode.log('hi there!')TestsTests are stored thetestssubdirectory of the main lode package. Set up lode
for testing by running in the root directory of the git repository the
following commands:$pipinstall-e.$pipinstall-rtest-requirements.txtThen run the tests:$py.test-v
Package: lodek-bookman
AboutBookman is a simple manager for books.Bookman uses a convention to generate books file names.
It integrates with Google Books API to fetch information for a book and it generates a bookman formatted file name.Combined withfzfit's easy to find books.The bookname fileconvention is as follows:[tag1][tag2]Author-One,Author-Two_Book-Title(2000)_ISBN.pdfTags can be used by bookman to open all books with a given tag, for instance.
Package: lodepy
lodepylodepy is a Multi-node fully python automation tool. It is agentless and executes tasks over SSH.The conceptIn a nutshell, lodepy serves a pretty simple task: execute ssh commands on servers to set them up.With this comes a variety of somewhat neccessary functionalities that lodepy implements:Execute the commands (obviously) within well defined "Groups" of "Nodes"Create a well defined logging system to stream and monitor task executionProvide a clean wrapper / execution model to seamlessly run operations and comparisons on multiple results.Using lodepyIn it's current state the main interaction is going to be with theGroupclass and its subclasses (namely theGroupReturn).Definining a group is quickly done with the use oflodepy.import_group_txt(file: str) -> Dict[str, Group]This is going to be in the format of:[group1]

node1, 1.1.1.1
node2, 1.1.1.2

[group2]

node3, 1.1.1.1
node4, 1.1.1.1

[group_name]
node_name, ssh_ipNote, already created groups can be found in thelodepy.data_store().groupsExecuting commandsWe can then execute a variety of Group commands. A series of these are listed as functions of Group.py.Some commands can be custom created. In this case you simply need to:Define the Task<Group>.execute_task(<Task>(params))Using these resulting GroupReturnFilteringGroupReturns handle filtering in the such way:group_return=GroupReturn()double_lt_5=group_return*2<5# double_lt_5 is going to be the GroupReturn filtered with only nodes doubled returning a value less than 5.Note, this also works with versioning. A command like git_version will be able to handle filtering such asgroup_return > 1.0.*Executing future commandsGroupReturns are simply subclasses of a Group. They can exectue commands and function entirely similarly.Any operations available to the value classGroup returns aim to be abtract enough that any of the commands it's value expects to handle, so can the GroupReturnIn total this is the entire functionality loop of lodepy. There is still more to cover (and to implement), but to expect: log handling / streaming results elsewhere, more configurability (error handling, execution tuning, etc.), a variety of builtin Tasks for common usecases and the ability to seamlessly create more Tasks (and recursively handle encapsuled tasks).
Package: lodge
lodgeA structured logging package in Python simple to use.FeaturesEasy to useEnv var configurationsStructured production log ready!Options to customize fieldsSet log level by moduleBased on stdlibInstallAdd to your setup as:..." lodge==<VERSION>",...or install with pippip install lodgeGetting Started>>>fromlodgeimportlogger>>>logger.info("Is that simple?"){"message":"Is that simple?","timestamp":"2021-03-21 14:26:54,838","level":"INFO"}Global level with env var config$exportLOG_LEVEL=ERROR>>>fromlodgeimportlogger>>>logger.info("This will not appear")>>>logger.error("Oh no"){"message":"Oh no","timestamp":"2021-03-21 14:26:54,839","level":"ERROR"}Module level with env var config$exportPACKAGE_MODULE1_LOG_LEVEL=ERROR$exportPACKAGE_MODULE2_LOG_LEVEL=INFO# package/module1.py>>>fromlodgeimportlogger>>>logger.info("Module 1 info")>>>logger.error("Module 1 error"){"message":"Module 1 error","timestamp":"2021-03-21 14:26:54,839","level":"ERROR"}# package/module2.py>>>fromlodgeimportlogger>>>logger.info("Module 2 info"){"message":"Module 2 info","timestamp":"2021-03-21 14:26:54,839","level":"INFO"}>>>logger.error("Module 2 error"){"message":"Module 2 error","timestamp":"2021-03-21 14:26:54,839","level":"ERROR"}Change format to easier read on development$exportLOG_ENV=DEV# package/module1.py>>>fromlodgeimportlogger>>>logger.info("a message")2021-03-2114:34:47,273|INFO|package.module1|amessageAdd extra fields$exportLOG_EXTRA_FIELDS='{"fausto":"olokinho"}'>>>fromlodgeimportlogger>>>logger.info("o loko"){"message":"o loko","timestamp":"2021-03-21 14:45:51,431","level":"INFO","fausto":"olokinho"}Overwrite base fields$exportLOG_BASE_FIELDS='{"message":"%(message)s"}'>>>fromlodgeimportlogger>>>logger.info("simple message"){"message":"simple message"}
Package: lodkit
LODKitLODKit is a collection of Linked Open Data related Python functionalities.LODkit (includes|will include)a customrdflib.Graphsubclass that is capable ofRDFS and OWL-RL inferencingBnode-safe graph merging [todo]a custom importer for loading RDF files as if they where Python modulesLOD-specific type definitions[...]Examples[todo]
Package: lodoo
CLI to manage locally-installed Odoo.This script is used by [odoo-helper-scripts](https://katyukha.gitlab.io/odoo-helper-scripts/)
to manage locally-installed odoo.For example, it provides CLI commands, like:addons-uninstalladdons-update-listdb-backupdb-copydb-createdb-dropdb-dump-manifestdb-existsdb-listdb-renamedb-restoreodoo-recomputerun-py-scripttr-check-translation-ratetr-generate-pot-fileSupported odoo versionsOdoo 16.0Odoo 15.0Odoo 14.0Odoo 13.0Odoo 12.0Odoo 11.0Odoo 10.0Odoo 9.0Odoo 8.0Odoo 7.0 (Limited support)
Package: loducode-maytapi
Library non Official for maytapi PYTHONLibrary for send messages for whatsappfunctionalitiesSend messagesend_text("573166187553","hello world 😄")Send multimediasend_multimedia("573166187553","hello world 😄","http://oyepepe.com/static/dashboard/assets/images/logo.png")send_multimedia("573166187553","","http://oyepepe.com/static/dashboard/assets/images/logo.png")Send contactsend_contact("573166187553",'573166187553')Send locationsend_location("573166187553","Hello","12.654","-72.776")send_location("573166187553","","12.654","-72.776")Send linksend_link("573166187553","Text","https://google.com")send_link("573166187553","","https://google.com")Set configset_config("https://f2d55e5eceae.ngrok.io/chatbot/recibir-mensage/",True)Required ENVID_PHONEPRODUCT_IDTOKEN
Package: loducode-utils
Loducode utilsBasic components for the development of loducode s.a.s.installpip install loducode_utils==1.5.2functionalitiesAdminAuditAdminAuditStackedInlineAuditTabularInlineModelsAuditCityTaskssend_mail_task(email, subject, message)slack_send_message_task(channel: str, message: str, id_user: str = '')Urls Api/api/token//api/logout//api/forget/UtilsPaginatedListViewslack_send_messageViews apiObtainCustomAuthTokenLogoutViewForgetPasswordViewCommandspython setup.py sdist bdist_wheeltwine upload --repository pypi dist/loducode_utils-1.5.2*entrar a la carpeta loducode_utils y correrdjango-admin makemessagesdjango-admin compilemessages####Version 1.5.2new field in city > icon####Version 1.5.1bug migrations####Version 1.5serializer audit####Version 1.4serializer cities####Version 1.3.3return slack task json bug####Version 1.3.2return slack task json####Version 1.3.1requirement slackclient bug####Version 1.3requirement slack####Version 1.2new tash send message slack####Version 1.1new method send message slack####Version 1.0new schema of migrations.####Version 0.0.18change models####Version 0.0.18implment get_user_model()####Version 0.0.17Migration 0004####Version 0.0.16Migration 0003uuid for auditsupport for user customsnew field in city > active####Version 0.0.15Migration 0002####Version 0.0.14Import export cities####Version 0.0.13Change translate state for departament####Version 0.0.11bug save user in save model audit####Version 0.0.10add locale es-enbug _ translate apps.py####Version 0.0.9add apps.py####Version 0.0.8change translation model payment recordnew view data epayco####Version 0.0.7
new model payment record####Version 0.0.6
model city in admin fixxed register####Version 0.0.5model city in adminmigrations initials city
Package: loducode-web3
Loducode web3Basic components for the development of loducode s.a.s.installpip install loducode_web3==0.1.5functionalitiesModelsAttributeNftNftCommandspython setup.py sdist bdist_wheeltwine upload --repository pypi dist/loducode_web3-0.1.5*pushgit tag -a 0.1.5 -m "annotation for this release"entrar a la carpeta loducode_web3 y correrdjango-admin makemessagesdjango-admin compilemessages####Version 0.1.4update requirements loducode utils####Version 0.1.4delete requirement sycopg2-binary==2.8.4####Version 0.1.3add translation####Version 0.1.2add method add_white_list####Version 0.1.1Models abstracts####Version 0.1.0Models abstracts####Version 0.0.1first version####Version 0.0.2bug imports####Version 0.0.1first version
Package: lod-unit
lod_unitThis is set up to make it easy to keep coronagraph information in λ/D space with an astropy unit calledlod. Convert into angular units (or vise versa) with an astropy Equivalency relationshiplod_eq.Installationpip install lod_unitUseTypical use will look likeimport astropy.units as u
from lod_unit.lod_unit import lod, lod_eq

diam = 10*u.m
lam = 500*u.nm
separation_lod = 3 * lod
separation_lod.to(u.arcsec, lod_eq(lam, diam))
>> <Quantity 0.03093972 arcsec>

separations_as = [0.1, 0.5, 1]*u.arcsec
separations_as.to(lod, lod_eq(lam, diam))
>> <Quantity [ 9.69627362, 48.48136811, 96.96273622] λ/D>