Saravanan666/pypi-org huggingface dataset:
Package: zellij
Zellijis an open source Python framework forHyperParameter Optimization(HPO) which was orginally dedicated toFractal Decomposition based algorithms[1][2].
It includes tools to define mixed search space, manage objective functions, and a few algorithms.
To implements metaheuristics and other optimization methods,ZellijusesDEAP[3]for theEvolutionary Algorithmspart
andBoTorch[4]forBayesian Optimization.Zellijis defined as an easy to use and modular framework, based on Python object oriented paradigm.Seedocumentation.Install ZellijOriginal version$ pip install zellijDistributed ZellijThis version requires a MPI library, such asMPICHorOpen MPI.
It is based onmpi4py$ pip install zellij[mpi]User will then be able to use theMPIoption of theLossdecorator.@Loss(MPI=True)Then the python script must be executed usingmpiexec:$mpiexec-machinefile<path/to/hostfile>-n<numberofprocesses>python3<path/to/python/script>DependenciesOriginal versionPython>=3.6numpy=>1.21.4DEAP>=1.3.1botorch>=0.6.3.1gpytorch>=1.6.0pandas>=1.3.4enlighten>=1.10.2MPI versionPython>=3.6numpy=>1.21.4DEAP>=1.3.1botorch>=0.6.3.1gpytorch>=1.6.0pandas>=1.3.4enlighten>=1.10.2mpi4py>=3.1.2ContributorsDesignThomas Firmin:thomas.firmin@univ-lille.frEl-Ghazali Talbi:el-ghazali.talbi@univ-lille.frReferences[1]Nakib, A., Ouchraa, S., Shvai, N., Souquet, L. & Talbi, E.-G. Deterministic metaheuristic based on fractal decomposition for large-scale optimization. Applied Soft Computing 61, 468–485 (2017).[2]Demirhan, M., Özdamar, L., Helvacıoğlu, L. & Birbil, Ş. I. FRACTOP: A Geometric Partitioning Metaheuristic for Global Optimization. Journal of Global Optimization 14, 415–436 (1999).[3]Félix-Antoine Fortin, François-Michel De Rainville, Marc-André Gardner, Marc Parizeau and Christian Gagné, "DEAP: Evolutionary Algorithms Made Easy", Journal of Machine Learning Research, vol. 13, pp. 2171-2175, jul 2012.[4]M. Balandat, B. Karrer, D. R. Jiang, S. Daulton, B. Letham, A. G. Wilson, and E. Bakshy. BoTorch: A Framework for Efficient Monte-Carlo Bayesian Optimization. Advances in Neural Information Processing Systems 33, 2020.
Package: zelos-crashd
Zelos CrasHD PluginA plugin forZelosto enhance crash triaging by performing dataflow & root cause analysis.Optional PrerequisitesThis plugin has an optional dependency on thegraphvizpackage to render control flow graphs to png. The graphviz python package can be installed normally viapip install graphviz, but will also requireGraphvizitself to be installed locally as well. Instructions for installing Graphviz locally can be foundhere.If you do not wish to install the graphviz package or Graphviz, you can safely ignore this optional dependency and zelos-crashd will still work as intended, but control flow graphs will not be rendered to png.InstallationInstall from pypi$pipinstallzelos-crashdOr install directly from the repo$gitclonehttps://github.com/zeropointdynamics/zelos-crashd.git$cdzelos-crashd$pipinstall.Alternatively, install aneditableversion for development$gitclonehttps://github.com/zeropointdynamics/zelos-crashd.git$cdzelos-crashd$pipinstall-e'.[dev]'Related ResourcesCrasHD Visualizeris a VS Code extension for visualizing the results & output of this plugin that features:Contextual source code highlightingInteractive graph of data flowAdditional context & runtime informationCrasHD Examplesis a collection of reproducible crashes that can be used with this plugin.UsageThe following snippets use the example fromexamples-crashd/afl_training/vulnerable.cAfter compiling the above example (vulnerable.c) you can emulate the binary using zelos:$zelosvulnerable<inputs/crashing_inputTo gain a more information on the crashing program, use the--taintand--taint_outputflags in order to keep track of dataflow leading from the crash. When the--taintflag is used, Zelos will calculate the dataflow and taint information related to the crash.--taint_output terminalis used to specify that the output of--taintwill be to stdout.$zelos--taint--taint_outputterminalvulnerable<inputs/crashing_inputChangelogAll notable changes to this project will be documented in this file.The format is based onKeep a Changelog,
and this project adheres toSemantic Versioning.[Version 0.0.2] - 2020-08-06Remove graphviz as a required dependency, add the taint_output flag.Addedtaint_output flagChangedN/ARemovedDependency on graphviz package[Version 0.0.1] - 2020-08-05Initial public release.AddedInitial open source commit.ChangedN/ARemovedN/AAuthorsRyan CourtKevin Z. SnowKevin ValakuzhySuyup Kim
Package: zelos-demeter
ReadmeDemeter is a backtest tool for DEFI. Please go to thewebsitefor a full descriptionLinkswebsite:https://zelos-demeter.readthedocs.io/Medium:https://medium.com/zelos-researchPypi:https://pypi.org/project/zelos-demeterdemeter-fetch:https://github.com/zelos-alpha/demeter-fetch
Package: zelt
Zalando end-to-end load testerAcommand-line toolfor orchestrating the deployment ofLocustinKubernetes.Use it in conjunction withTransformerto run large-scale end-to-end
load testing of your website.PrerequistesPython 3.6+InstallationInstall using pip:pipinstallzeltUsageExample HAR files, locustfile, and manifests are included in theexamples/directory, try them out.N.BThe cluster to deploy to is determined by your currently
configured context. Ensure you areusing the correct clusterbefore using Zelt.Locustfile as inputZelt can deploy Locust with a locustfile to a cluster:zeltfrom-locustfilePATH_TO_LOCUSTFILE--manifestsPATH_TO_MANIFESTSHAR files(s) as inputZelt can transform HAR file(s) into a locustfile and deploy it along
with Locust to a cluster:zeltfrom-harPATH_TO_HAR_FILES--manifestsPATH_TO_MANIFESTSN.BThis requiresTransformerto be installed. For more information about Transformer,
please refer toTransformer’s documentation.Rescale a deploymentZelt can rescale the number ofworkersin a deployment it has made
to a cluster:zeltrescaleNUMBER_OF_WORKERS--manifestsPATH_TO_MANIFESTSDelete a deploymentZelt can delete deployments it has made from a cluster:zeltdelete--manifestsPATH_TO_MANIFESTSRun Locust locallyZelt can also run Locust locally by providing the--local/-lflag to
either thefrom-harorfrom-locustfilecommand e.g.:zeltfrom-locustfilePATH_TO_LOCUSTFILE--localUse S3 for locustfile storageBy default, Zelt uses a ConfigMap for storing the locustfile. ConfigMaps
have a file-size limitation of ~2MB. If your locustfile is larger than
this then you can use an S3 bucket for locustfile storage.To do so, add the following parameters to your Zelt command:--storages3: Switch to S3 storage--s3-bucket: The name of your S3 bucket--s3-key: The name of the file as stored in S3N.B.Zelt willnotcreate the S3 bucket for you.N.B.Make sure to update your deployment manifest(s) to download the
locustfile file from S3 instead of loading from the ConfigMap volume
mount.Use a configuration file for Zelt optionsAn alternative to specifying Zelt’s options on the command-line is to
use a configuration file, for example:zeltfrom-har--configexamples/config/config.yamlN.B.The configuration file’s keys are the same as the command-line
option names but without the double dash (--).DocumentationTake a look at ourdocumentationfor more details.ContributingPlease readCONTRIBUTING.mdfor details on our
process for submitting pull requests to us, and please ensure you follow
theCODE_OF_CONDUCT.md.VersioningWe useSemVerfor versioning.AuthorsBrian Maher-@bmaherOliwia Zaremba-@tortilaThibaut Le Page-@thilpSee also the list ofcontributorswho participated
in this project.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details
Package: zelus-route-manager
zelusRequrementspython >= 3.8
iproute2Initialize build environmentpython -m pip install -U setuptools wheel buildBuild python packagepython -m build .Building docker imagedocker build -t markfarrell/zelus .Running docker containerdocker build -t markfarrell/zelus . && \
docker run --rm -it --name zelus --volume $(pwd)/docker-data/etc/zelus:/etc/zelus --cap-add NET_ADMIN -p 9123:9123 markfarrell/zelus --interface eth0Exec into containerdocker exec -it zelus /bin/shTest prometheus metricscurl http://localhost:9123/metricsTestingLinttox -e lint
Package: zema-emc-annotated
zema_emc_annotatedThis software provides a convenient API to access theannotated ZeMA dataset about
remaining useful life of an electro-mechanical cylinder on
Zenodo. The code was written forPython 3.10.Getting startedTheINSTALL guideassists in installing the required packages.
Afterwards please visit ourexample page.DocumentationThe documentation can be found onReadTheDocs.DisclaimerThis software is developed at Physikalisch-Technische Bundesanstalt (PTB). The software
is made available "as is" free of cost. PTB assumes no responsibility whatsoever for
its use by other parties, and makes no guarantees, expressed or implied, about its
quality, reliability, safety, suitability or any other characteristic. In no event
will PTB be liable for any direct, indirect or consequential damage arising in
connection with the use of this software.Licensezema_emc_annotated is distributed under theMIT
license.
Package: zemberek-grpc
Zemberek gRPCLatest version 0.16.0Zemberek-NLP provides some of its functions via a remote procedure call framework called gRPC. gRPC is a high performance, open-source universal RPC framework. Once Zemberek-NLP gRPC server is started, other applications can access remote services natively via automatically generated client libraries.https://github.com/ahmetaa/zemberek-nlpStart gRPC server with dockerYou can use it from directly in your computer or run with in docker container.https://hub.docker.com/r/ryts/zemberek-grpcRun with dockerdocker run -d --rm -p 6789:6789 --name zemberek-grpc ryts/zemberek-grpcCheck logsdocker logs -f zemberek-grpcInstall library and examplepipinstallzemberek-grpcPython Client Example#!/usr/bin/env python# -*- coding: utf-8 -*-importsysimportgrpcimportzemberek_grpc.language_id_pb2asz_langidimportzemberek_grpc.language_id_pb2_grpcasz_langid_gimportzemberek_grpc.normalization_pb2asz_normalizationimportzemberek_grpc.normalization_pb2_grpcasz_normalization_gimportzemberek_grpc.preprocess_pb2asz_preprocessimportzemberek_grpc.preprocess_pb2_grpcasz_preprocess_gimportzemberek_grpc.morphology_pb2asz_morphologyimportzemberek_grpc.morphology_pb2_grpcasz_morphology_gchannel=grpc.insecure_channel('localhost:6789')langid_stub=z_langid_g.LanguageIdServiceStub(channel)normalization_stub=z_normalization_g.NormalizationServiceStub(channel)preprocess_stub=z_preprocess_g.PreprocessingServiceStub(channel)morphology_stub=z_morphology_g.MorphologyServiceStub(channel)deffind_lang_id(i):response=langid_stub.Detect(z_langid.LanguageIdRequest(input=i))returnresponse.langIddeftokenize(i):response=preprocess_stub.Tokenize(z_preprocess.TokenizationRequest(input=i))returnresponse.tokensdefnormalize(i):response=normalization_stub.Normalize(z_normalization.NormalizationRequest(input=i))returnresponsedefanalyze(i):response=morphology_stub.AnalyzeSentence(z_morphology.SentenceAnalysisRequest(input=i))returnresponse;deffix_decode(text):"""Pass decode."""ifsys.version_info<(3,0):returntext.decode('utf-8')else:returntextdefrun():lang_detect_input='merhaba dünya'lang_id=find_lang_id(lang_detect_input)print("Language of ["+fix_decode(lang_detect_input)+"] is: "+lang_id)print("")tokenization_input='Merhaba dünya!'print('Tokens for input : '+fix_decode(tokenization_input))tokens=tokenize(tokenization_input)fortintokens:print(t.token+':'+t.type)print("")normalization_input='Mrhaba dnya'print('Normalization result for input : '+fix_decode(normalization_input))n_response=normalize(normalization_input)ifn_response.normalized_input:print(n_response.normalized_input)else:print('Problem normalizing input : '+n_response.error)print("")analysis_input='Kavanozun kapağını açamadım.'print('Analysis result for input : '+fix_decode(analysis_input))analysis_result=analyze(analysis_input)forainanalysis_result.results:best=a.bestlemmas=""forlinbest.lemmas:lemmas=lemmas+" "+lprint("Word = "+a.token+", Lemmas = "+lemmas+", POS = ["+best.pos+"], Full Analysis = {"+best.analysis+"}")if__name__=='__main__':run()
Package: zemberek-python
ZEMBEREK-PYTHONPython implementation of Natural Language Processing library
for Turkish,zemberek-nlp. It is based on
zemberek 0.17.1 and is completely written in Python meaning there is no need to setup
a Java development environment to run it.Source Codehttps://github.com/Loodos/zemberek-pythonDependenciesantlr4-python3-runtime==4.8numpy>=1.19.0Supported ModulesCurrently, following modules are supported.Core (Partially)TurkishMorphology (Partially)Single Word AnalysisDiacritics Ignored AnalysisWord GenerationSentence AnalysisAmbiguity ResolutionTokenizationSentence Boundary DetectionTokenizationNormalization (Partially)Spelling SuggestionNoisy Text NormalizationInstallationYou can install the package with pippip install zemberek-pythonExamplesExample usages can be found inexamples.pyNotesThere are some minor changes in codes where original contains some Java specific
functionality and data structures. We used Python
equivalents as much as we could but sometimes we needed to change them. And it
affects the performance and accuracy a bit.InMultiLevelMphfclass, in the original Java
implementation, there are some integer multiplication operations which I
tried to reimplement using vanilla Python 'int', but the results were not the
same. Then I tried it with numpy.int32 and numpy.float32, since default java
int and float types are 4 byte. The results were the same with Java, however, oftenly
these operations produced RuntimeWarning as the multiplication caused overflow. In Java
there were no overflow warnings whatsoever. I could not find a reasonable explanation to
this situation, nor I could find a better way to implement it. So I suppressed overflow warnings
for MultiLevelMphf. Therefore, please be aware that, this is not a healthy behaviour, and you should
be careful using this code.CreditsThis project is Python port ofzemberek-nlp.
Package: zemfrog-auth
zemfrog-authAuthentication for the zemfrog frameworkCurrently only supports JWT (JSON Web Token) authentication.FeaturesJWT Authentication BlueprintEvent signal support for user information (login, register, etc)UsageInstall the modulepipinstallzemfrog-authAdd jwt blueprints to your zemfrog applicationBLUEPRINTS=["zemfrog_auth.jwt"]Using event signalsIn this section I will give an example of using the event signal using a blinker.# Add this to wsgi.pyfromzemfrog_auth.signalsimporton_user_logged_in@on_user_logged_in.connectdefon_logged_in(user):print("Signal user logged in:",user)For a list of available signals, you can see ithere.
For signal documentation you can visithere.
Package: zemfrog-quasar
Zemfrog QuasarQuasar Framework IntegrationFeaturesSupport vue v2Added Vuex & Vue-RouterIntegrated with QuasarUsageInstall thispipinstallzemfrog-quasarAdd this to theZEMFROG_THEMESconfigurationZEMFROG_THEMES=["zemfrog_quasar"]Quick TutorialIn this theme, several jinja blocks are available, such as:meta- List of meta tags to includelinks- This is to be included in the head tag as (link,title, etc)content- This is to be included in the main tag (div#q-app)js- The js script that will be included, after vue, vuex, vue-router & quasarvuex- Configuration passed to vuexvue_router- Configuration passed to vue-routervue- Configuration passed to vueLayoutsExamples of using layouts:{% extends 'quasar/layout.html' %}LinksAn example of using block links, below we add material icons. By default it doesn't come with an icon, so you have to add it yourself.{% block links %}<linkhref="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons"rel="stylesheet"type="text/css">{% endblock %}ContentAn example of using block content:{% block content %}<q-toolbarclass="text-primary"><q-btnflatrounddenseicon="menu"></q-btn><q-toolbar-title>Toolbar</q-toolbar-title><q-btnflatrounddenseicon="more_vert"></q-btn></q-toolbar>{% endblock %}VueExamples of using vue:{% block content %}<q-toolbarclass="text-primary"><q-btnflatrounddenseicon="menu"@click="active = !active"></q-btn><q-toolbar-title>Is this active?<{ active }></q-toolbar-title><q-btnflatrounddenseicon="more_vert"></q-btn></q-toolbar>{% endblock %}
{% block vue %}
data() {
    return {
        active: false
    }
},
{% endblock %}In the example above, there are several explanations. See below:We adddatato vue via thevue blockWe also change the vue delimiter to<{,}>QuasarIf you use this, you can't use the self-closing tag. See herehttps://quasar.dev/start/umd#usage
Package: zemfrog-test
zemfrog-testZemfrog unit testing toolsFeaturesSupport automatically create unit tests for API / blueprintsAvailable fixtures:clientThis is to access the Client class to interact with the APIapp_ctxThis is to enable the flask context applicationreq_ctxThis is to activate the flask request context applicationuserThis is to generate confirmed random usersWarningzemfrog test is available a finalizer to delete all users when the test session ends. so you need to create a special database for testing.UsageInstall thispipinstallzemfrog-testAnd add it to theCOMMANDSconfiguration in the zemfrog application.COMMANDS=["zemfrog_test"]Now that you have thetestcommand, here is a list of supported commands:init- Initialize the tests directory in the project directory.new- Create unit tests for the API or blueprint. (The names entered must matchAPISandBLUEPRINTSconfigurations. For examplezemfrog_auth.jwt)run- To run unit tests.It doesn't work with thepytestcommand, don't know why. :/
Package: zemfrog-theme
zemfrog-themeZemfrog theme - to register your own theme template!
The main idea is to make a template for a theme that is easy to customize.UsageInstall thispipinstallzemfrog-themeAdd this to theEXTENSIONSconfigurationEXTENSIONS=["zemfrog_theme"]And you can register your own theme via theZEMFROG_THEMESconfiguration.See boilerplate for theme creation herehttps://github.com/aprilahijriyan/zemfrog-theme-templateSee sample themes herehttps://github.com/zemfrog/zemfrog-quasar
Package: zem-pysolarmanv5
Note:This project is a placeholder for unreleased versions of the upstream project. Please seehttps://pypi.org/project/pysolarmanv5/for the upstream project.pysolarmanv5This is a Python module to interact with Solarman (IGEN-Tech) v5 based solar
inverter data loggers. Modbus RTU frames can be encapsulated in the proprietary
Solarman v5 protocol and requests sent to the data logger on port tcp/8899.This module aims to simplify the Solarman v5 protocol, exposing interfaces
similar to that of theuModbuslibrary.Details of the Solarman v5 protocol have been based on the excellent work ofInverter-Data-Logger by XtheOneand others.Documentationpysolarmanv5 documentation is available onRead the Docs.The Solarman V5 protocol is documentedhere.Supported DevicesA user contributed list of supported devices is availablehere.If you are unsure if your device is supported, please use thesolarman_scanutility to find compatible data logging sticks on your local network.Please note that theSolis S3-WIFI-STdata logging stick isNOT supported.SeeGH issue #8for further information.Some Ethernet data logging sticks have native support Modbus TCP and thereforedo not require pysolarmanv5.
SeeGH issue #5for further information.Dependenciespysolarmanv5 requires Python 3.8 or greater.pysolarmanv5 depends onuModbus.InstallationTo install the latest stable version of pysolarmanv5 from PyPi, run:pip install pysolarmanv5To install the latest development version from git, run:pip install git+https://github.com/jmccrohan/pysolarmanv5.gitProjects using pysolarmanv5NosIreland/solismon3NosIreland/solismodjmccrohan/ha_pyscript_pysolarmanv5YodaDaCoda/hass-solarman-modbusschwatter/solarman_mqttRonnyKempe/solismontoledobastos/solarman_battery_autochargeAndyTaylorTweet/solis2mqttpixellos/codereinvented.automation.pycjgwhite/hass-solarimcfarla2003/solarconfiggithubDante/deye-controllerContributionsContributions welcome. Please raise any Issues / Pull Requests viaGithub.Licensepysolarmanv5 is licensed under theMIT License. Copyright (c) 2022 Jonathan McCrohan
Package: zen3geo
zen3geoThe 🌏 data science library you've been waiting for~君の前前前世から僕は 君を探しはじめたよSince your past life, I have been searching for you公案Geography is difficult, but easy it can also be
Deep Learning, you hope, has an answer to all
Too this, too that, where to though, where to?
Look out, sense within, and now you must knowInstallationTo install the development version from GitHub, do:pip install git+https://github.com/weiji14/zen3geo.gitOr the stable version fromPyPI:pip install zen3geoIf instead,conda-forgeyou desire:mamba install --channel conda-forge zen3geoOther instructions, seehttps://zen3geo.readthedocs.io/en/latest/#installation
Package: zenbu-fftw
ZeNBuZe(ldovich calculations for) N-B(ody Em)u(lators)A package to compute all the Zeldovich contributions to the power spectrum of a tracer with quadratic bias, including beyond-one-loop terms.For further details on the calculations seeKokron et al(2022) andDeRose et al(2022) for the real and redshift-space calculations, respectively.RequirespyFFTW.Based on thevelocileptorscode.Can be installed via pip:pip install git+https://github.com/sfschen/ZeNBu
Package: zencache
zencachePure memory cache powered by orpc.Installpip install zencacheExample server config: zencached-config.ymldaemon: true
pidfile: zencached.pid
loglevel: INFO
logfile: zencached.log
server:
  listen: 0.0.0.0
  port: 6779
  backlog: 8192
  buffer_size: 65536
  rfile_buffer_size: 65536
  wfile_buffer_size: 65536
  max_request_size: 4194304
authentication:
  enable: true
  users:
    app01: spnPF3HzY975GJYC
    app02: ZWRVfHrK8QkQoOnQ
    app03: xuFTlTy9i6KCfncp
zencache:
  ttl-scanner-worker-interval: 60
  ttl-scanner-manager-interval: 60expire optionsNONE: Default option, always set expiry.NX: Set expiry only when the key has no expiry.XX: Set expiry only when the key has an existing expiry.GT: Set expiry only when the new expiry is greater than current one.LT: Set expiry only when the new expiry is less than current one.Example client usagefrom orpc_client import OrpcConnectionPool

zencached_client_pool = OrpcConnectionPool(10, kwargs={
    "host": "127.0.0.1",
    "port": 6779,
    "username": "app01",
    "password": "spnPF3HzY975GJYC",
    "login_event": "zencache.login",
    "auto_login": True,
    })

with zencached_client_pool.get_session() as session:
    session.zencache.set('a', 'a')
    assert session.zencache.get('a') == 'a'Releasesv0.1.4Force to upgrade orpc version.Doc update.v0.1.3Add gevent patch all.Force item key to str format.v0.1.0First release.
Package: zencad
ZenCadCAD system for righteous zen programmersWhat is it?ZenCad - it's a system for use oce geometry core in openscad's script style.
So, it's  openscad idea, python language and opencascade power in one.Manual and InformationManual:here.Articles:habr:Система скриптового 3д моделирования ZenCadCommunity chat (Telegram):https://t.me/zencadInstallationCommon:Zencad needspythonoccandopencascade core(OCCT). After first launch
(typezencadorpython3 -m zencadcommands)
library instalation utility will started. You can use it forpythonoccandOCCTinstallation. Also you can install libraries manualy.apt install qt5-default
python3 -m pip install zencad[gui]
zencad 
# On first launch, Zenсad will ask you to download the required libraries. 
# After completing the necessary operations, close the installation utility and run the program again. 
zencadInstallation without graphical part:Install zencad as library without gui part:python3 -m pip install zencadpython3 -m zencad --install-occt-forcepython3 -m zencad --install-pythonocc-forceFor Windows:Windows version of ZenCad neededvcredist(Microsoft Redistibutable Package).Please, installvcredist 2015for Python3.7 and alsovcredist 2019for Python3.8 and later.Standalone DistributionZenCad have standalone version for Windows.
Windows prerelease version inreleases.Source codeMain project repo:https://github.com/mirmik/zencadRelated repos:https://github.com/mirmik/zenframehttps://github.com/mirmik/evalcacheHelloWorld#!/usr/bin/env python3#coding: utf-8fromzencadimport*model=box(200,center=True)-sphere(120)+sphere(60)display(m)show()Result: