Saravanan666/pypi-org huggingface dataset:
Package: zenduty-airflow-operator
Airflow Plugin - ZendutyThis plugin creates a Zenduty Alert when plugin is run.OperatorsZendutyIncidentOperatorThis operator composes the logic for this plugin. It generates an Incident on Zenduty by sending an Alert to Zenduty.
It accepts the following parameters:api_key: API Key generated by Zenduty (Required).integration_id: The Integration_id generated by the API Integration (Required).title: Title of the incident that is to be created.summary: Summary for the incident to be created.RequirementsThis plugin requires thezenduty-apipython package.Example Failure Callback Usagefrom airflow.models import DAG, Variable
from airflow.operators.bash_operator import BashOperator
from zenduty_airflow_operator import ZendutyIncidentOperator

my_test_dag = DAG('example')

op = BashOperator(
    dag=my_test_dag,
    task_id='my_task',
    provide_context=True,
    python_callable=my_python_job,
    on_failure_callback=zenduty_incident
)
    
def zenduty_incident():

    operator = ZendutyIncidentOperator(
        api_key=Variable.get("api_key"),
        integration_id=Variable.get("integration_id"),
        title="Test Title",
        summary="Test Summary"
    )

    return operator.execute()
Package: zenfeed
Zen feed reader − inspired by zencancan.Documentation is available at <http://fspot.github.io/zenfeed/>.ScreenshotsFeed list :![feed_list](https://cdn.mediacru.sh/85fg1zEf8fQR.png)Feed view :![feed_view](https://cdn.mediacru.sh/pX8d2iWXpHI6.png)Article view :![article_view](https://cdn.mediacru.sh/3iiUrJfCRFql.png)Layout on smartphones :![layout_mobile](https://cdn.mediacru.sh/2qFVC52hgB6X.png)Todoadd import/export OPML featuretest zenfeed with mysql and postgresqlactually remove oldest entries when threshold is exceeded
Package: zenfilter
Info:This is the README file for zenfilter.Author:Shlomi Fish <shlomif@cpan.org>Copyright:© 2016, Shlomi Fish.Date:2021-09-01Version:0.6.5PURPOSEThis small script filters long STDIN output, performing several functions
to keep track of the important parts and progresses, which will be hard to
do with a shell script.It is useful for filtering the output of verbose
Travis-CI (https://travis-ci.org/) commands, but may be useful in other
contexts where there is a limit to the amount of kept output.All arguments are optional:–count-step=n: displaysCOUNT <tab> <step>every n lines.–last=n: displays the last n lines prefixed with “LASTt”–filter=<regex pattern>: displays matching lines with a “FOUNDt” prefix.–suppress-last-on=<regex>: suppress the last lines if their concatenated output matches the regex.Examples:python zenfilter.py --count-step=10 --last=200 --filter="[0-9]+"
python zenfilter.py --last=20
python zenfilter.py --last=25 --count-step=15A use case scenario:make 2>&1 | python zenfilter.py [args]COPYRIGHTCopyright © 2016, Shlomi Fish.
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:Redistributions of source code must retain the above copyright
notice, this list of conditions, and the following disclaimer.Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in the
documentation and/or other materials provided with the distribution.Neither the name of the author of this software nor the names of
contributors to this software may be used to endorse or promote
products derived from this software without specific prior written
consent.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
“AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Package: zenggewifi
Python control for Zengge Wi-Fi LED bulbsExample usageConnectingimportzenggewifibulb=zenggewifi.ZenggeWifiBulb('192.168.1.20')bulb.connect()Get Statestate=bulb.get_status()Returns a status object which contains of these members:state.deviceType# Type of devicestate.isOn# whether device is onstate.Mode# current modestate.Slowness# current slownessstate.Color# current color, color objectstate.LedVersionNum# version of LEDSet Colorbulb.set_on(color)Color object has these members:self.R# Red value [0-255]self.G# Green value [0-255]self.B# Blue value [0-255]self.W# Warmwhite value [0-255]self.IgnoreW# Whether warmwhite is ignored (then RGB is used) or not (then only warmwhite is used)Turn offbulb.set_off()
Package: zengin-code
The python implementation of ZenginCode.ZenginCode is datasets of bank codes and branch codes for japanese.Installationpipinstallzengin_codeUsagefromzengin_codeimportBankBank.all# => OrderedDict([(u'0001', <zengin_code.bank.Bank object at 0x1044173d0>), ...ContributingBug reports and pull requests are welcome on GitHub athttps://github.com/zengin-code/zengin-pyLicenseThe package is available as open source under the terms of theMIT License.
Package: zen-han-converter
zen_han_converterDescriptionThis is a tool for converting full-width and half-width characters to each other, implemented only with Python's standard modules.Target charactersLatin alphabetArabic numeralsASCII symbolsSpaceInstallactionpip install zen_han_converterUsage>>> from zen_han_converter import ZenToHan
>>> zen_to_han = ZenToHan()
>>> zen_to_han.convert('ａｂｃｄｅｆｇｈｉｊｋｌｍｎｏｐｑｒｓｔｕｖｗｘｙｚ')
'abcdefghijklmnopqrstuvwxyz'
Package: zenircbot_api
This is in dev currently.Once it is released you’ll be able to do the following:$ pip install zenircbot_apiAnd you’ll be able to use it like so:from zenircbot_api import ZenIRCBot


client = ZenIRCBot(hostname='redis.server.location', port=6379)
client.send_privmsg(to='#channel', message='ohai')Docs are availabe at:http://zenircbot.rtfd.org/History2.2.6 (2014-02-28)Use atexit to make sure gevent greenlets die.2.2.5 (2014-02-26)Fix pubsub parser to check for proper message type.2.2.4 (2012-06-28)added services command2.2.3 (2012-04-17)removed extra ‘ in library2.2.2 (2012-04-17)Switched to gevent instead of Thread to make killing services easier.2.2.1 (2012-04-17)Add symlink for LICENSE so it includes properly when making the package.2.2.0 (2012-04-17)Add MANIFEST.inVersion bump to match major/minor step with ZenIRCBot.2.1.3 (2012-04-11)Creating history
Package: zenithta
ZenithTAFormerly PantherA efficient, high-performance python technical analysis library written in Rust using PyO3 and rust-numpy.IndicatorsATRCMFSMAEMARSIMACDROCHow to build (Windows)Runcargo build --releasefrom the main directory.Get the generated dll from the target/release directory.Rename extension from .dll to .pyd.Place .pyd file in the same folder as script.Putfrom panther import *in python script.SpeedOn average, I found the Panther calculations of these indicators to be about 9x or 900% faster than the industry standard way of calculating these indicators using Pandas. Don't believe me? Install the library and run the tests in the speed_tests directory to see it for yourself :)LicenseMIT LicenseCopyright (c) 2022 Greg JamesPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: zenity-py
zenity-py - Zenity for PythonExactly what it says it is.How to installJust typepython3 -m pip install zenity-pyand it should install just fine.BUT, you need to also check if Zenity is installed.
Type in the Command Prompt/Terminal:zenity.
If this is the output you get:You must specify a dialog type. See 'zenity --help' for detailsthen you're good to go and you can get to using zenity-py.If it says something likezsh: command not found: zenityor'zenity' is not recognized as an internal or external command, operable program or batch file., then you don't have it installed.How to install Zenity - Linux/MacOn Linux, use your system's package manager or Homebrew to install it.
Example:sudo apt install zenityOn Mac, use Homebrew to install it.
Example:brew install zenityHow to install Zenity - WindowsInstall MinGW then search for Zenity in it. I don't use Windows anymore and I never really used MinGW for any other stuff other then make, so that's all i'm saying.How to useIn a python file, typefromzenityimportZenity# Zenity syntax - title, body, type, options[]# the ! in !timeout means it is an option, not a valuez=Zenity("Title","Body","info",["!timeout",5])This should create a new Zenity instance. Of course, this is an example, so you can change anything.
After that, addz.Open()This should start up Zenity with the parameters you specified.
If a zenity window doesn't appear, something went wrong.
You can always print() the z variable, as the Zenity class returns both the status code and output.If you want to know what arguments you can use, go over to theZenity Manual.
Do not add an option like !calendar or !password onto the options. Just change the type to "calendar" or "password".
Package: zenkat
ZenKatZenKat is a tool and library to enable using a set of plaintext files, especially markdown files, as aZettelkastenknowledge base.I've used a number of knowledge management tools including Obsidian, Notion, and Coda, and have found them all lacking and / or designed in a way that makes them act as a walled garden. ZenKat is an attempt to create a lightweight FOSS alternative for command-line users. As such it aims to have few dependencies while still providing decent features.It's named this way because of my bad memory for German. I remembered ZEttelKAsTen as ZenKat (unclear where the N came from).Recommended SetupYou can install directly from pip:pip install zenkatThis also installs thezenkatconvenience script.To configure themes and create custom queries and formats, make a file at~/.config/zenkat/config.toml.If you'd like to run directly from source you can clone the repository and usedevelopment mode.It's also worth installingMarksman LSPif you plan on working with plaintext files a lot. This should work with major CLI editors including Helix, Neovim, and Spacemacs, as well as KATE. I use Helix.For viewing files as formatted you can useMD Fileserverwithmdstart.diffcomes by default on the command line and can be extremely helpful when combining duplicate notes (which Obsidian's multiple vaults tend to lead to).FeaturesFilter and sort through notes with powerful mapping syntaxCustomisable output formats and color schemesSupports markdown tags, and unpacks nested tagsResolves internal links, both inbound and outboundLoads YAML metadata headers in pagesTask tracking with beautiful formatting, filters, and extended syntaxConfiguration usingconfig.tomlin your home folder: seedefault_configfor optionsContentsUsageFields and SubfieldsFormattingFiltersSortingTasksgrep and catQueriesMacros
Package: zenlayercloud-sdk-python
Zenlayer Cloud Python SDK is the official software development kit, which allows Python developers to write software that makes use of Zenlayer Cloud services like BMC and VM.The SDK works on Python versions:2.7 and greater, including 3.xQuick StartFirst, install the library:$pipinstallzenlayercloud-sdk-pythonor download source code from github and install:$gitclonehttps://github.com/zenlayer/zenlayercloud-sdk-python.git$cdzenlayercloud-sdk-python$pythonsetup.pyinstall
Package: zen-logging
Zen Logging@loggifyThis decorator can be added to any class to initialize it with a logger, and add extra logging functionality to that class.The following additional kwargs are handled ininit:logger(Logger) Used as the parent logger, if not set, uses the root logger._log_init(bool) Can be passed to loggified classes, to enable or disable additional initialization logging._log_bump(int) Changes the log level for added loggers.Loggified classes will also log use of __getattribute__, __setattr__,  and __getitem__.Functions returned from __getattribute__ will automatically log additioanl information such as passed args and results.ColorLognameFormatterAlogging.Formatterwhich colors the loglevel portion.
Package: zenmai
toylang on yaml or jsoncommand line examplemain.yamlcode:$import:./filters.pyas:fdefinitions:$let:nums:{$load:./nums.yaml#/definitions/nums0/enum}odds:type:integerenum:$f.odds:{$get:nums}even:type:integerenum:$f.evens:{$get:nums}nums.yamldefinitions:nums0:type:integerenum:[1,2,3,4,5,6]nums1:type:integerenum:[1,2,3,5,7,11]filters.pydefodds(nums):return[nforninnumsifn%2==1]defevens(nums):return[nforninnumsifn%2==0]run.$zenmaiexamples/readme2/main.yamloutputzenmai main.yamldefinitions:odds:type:integerenum:-1-3-5even:type:integerenum:-2-4-6config loaderusing zenmai as config loader.fromzenma.loaderimportloadwithopen("config.yaml")asrf:d=load(rf)0.3.0$concat improvementtiny error reporting improvementchanging $load’s scope0.2.3fix loader bug0.2.2fix–databug0.2.1raw format0.2.0add$inheritactionzenmai as config loader0.1.0:first release
Package: zenmake
ZenMake is a cross-platform build system for C/C++ and some other languages.Main featuresBuild config as python (.py) or as yaml file.Distribution as zip application or as system package (pip).Automatic reconfiguring: no need to run command ‘configure’.Compiler autodetection.Building and running functional/unit tests including an ability to
build and run tests only on changes.Build configs in sub directories.Building external dependencies.Supported platforms: GNU/Linux, MacOS, MS Windows. Some other
platforms like OpenBSD/FreeBSD should work as well but it
hasn’t been tested.Supported languages:C: gcc, clang, msvc, icc, xlc, suncc, irixccC++: g++, clang++, msvc, icpc, xlc++, sunc++D: dmd, ldc2, gdc; MS Windows is not supported yetFortran: gfortran, ifort (should work but not tested)Assembler: gas (GNU Assembler)Supported toolkits/frameworks: SDL2, GTK3, Qt5DocumentationFor full documentation, including installation, tutorials and PDF documents,
please seehttps://zenmake.readthedocs.ioProject linksPrimary git repository:https://github.com/pustotnik/zenmakeSecondary git repository:https://gitlab.com/pustotnik/zenmakeIssue tracker:https://github.com/pustotnik/zenmake/issuesPypi package:https://pypi.org/project/zenmakeDocumentation:https://zenmake.readthedocs.io
Package: zen-mapper
Zen MapperPerfection is achieved, not when there is nothing more to add, but when there
is nothing left to take away.Antoine de Saint-ExupéryZen mapper is a minimal implementation of the TDA algorithm MapperInstallationThere are two supported methods of installationPyPiZen Mapper has a distribution onPyPi.
You can install it using pip:pipinstallzen-mapperNixZen Mapper is also packaged as a nix flake. If you have nix installed and flake
support enabled. You can create a dev environment with Zen Mapper installed
easily enough:nixflakenew-tgithub:zen-mapper/zen-mappernew_projectcdnew_project
nixdevelopWill drop you into a shell with python 3.11 and Zen Mapper configured.
Package: zen-markup-lang
IntroductionZen Markup Language is a markup language designed to store application configs. It combines the advantages of JSON, XML and YAML.ZML can store any JSON object.ZML keeps high readlibility even with deep nested structure like XML.ZML has a XML-like syntax, but is as user-frendly as YAML.ZML doesn't rely on indentation like JSON and XML.InstallationJust run this command.pip install zen-markup-langQuick StartSyntaxThe syntax of ZML is very intuitive. The follwing example demostrates basic ZML syntax.<!zml 0.1><a>114514</a><b>1919.810</b><c>true</c><d>false</d><e>null</e><f><>"hello`t"</><>"world!"</></f><g>empty_obj</g><h><i>empty_arr</i></h>The ZML file above is equivalent to the following JSON object:{"a":114514,"b":1919.810,"c":true,"d":false,"e":null,"f":["hello\t","world!"],"g":{},"h":{"i":[]}}A major difference is that the escaping character in ZML is ` instead of common \ .Use ZML in PythonThe package is namedzen_markup_lang. You can import the package likeimportzen_markup_langaszmlThere are four functions in the package,load,loads,dumpanddumps. They are similar to the functions in Python standard libraryjson.withopen('a.zml')asf:d=zml.load(f)print(zml.dumps(d))That's all. Enjoy! 👏
Package: zeno
ZenoZeno's Paradoxes Illustrated in PythonResourceshttps://en.wikipedia.org/wiki/Zeno%27s_paradoxesUsagepip install zenoExecutables are prefixed withze-# The Dichotomy
ze-dichotomyDevelopmentIn addition to following the setup guidehttps://packaging.python.org/tutorials/packaging-projects/I added a minimalsetup.pyso thatpip install -e .would workSeeMakefilefor build and upload optionsInstall package fromtest.pypi.org(uploaded withmake test_upload)pip install --index-url https://test.pypi.org/simple/ --no-deps zeno
Package: zeno-build
Zeno BuildZeno Buildis a tool for developers who want to quickly build, compare, and
iterate on applications using large language models.It provides:Simple examplesof code to build LLM-based apps. The examples are
architecture agnostic, we don't care if you are usingOpenAI,LangChain, orHugging
Face.Experiment managementandhyperparameter optimizationcode, so you can
quickly kick off experiments using a bunch of different settings and compare
the results.Evaluationof LLM outputs, so you can check if your outputs are correct,
fluent, factual, interesting, or "good" by whatever definition of good you
prefer! Use these insights to compare models and iteratively improve your
application with model, data, or prompt engineering.Sound interesting? Read on!Getting StartedTo get started withzeno-build, install the package from PyPI:pipinstallzeno-buildNext,start building! Browse to thedocsdirectory to get a
primer or to theexamples/directory, where we
have a bunch of examples of how you can usezeno-buildfor different tasks,
such aschatbots,text summarization, ortext
classification.Each of the examples include code for running experiments and evaluating the
results.zeno-buildwill produce a comprehensive report with theZenoAI evaluation platform.Interactive Demos/ReportsUsing Zeno Build, we have generated reports and online browsing demos of
state-of-the-art systems for different popular generative AI tasks.
Check out our pre-made reports below:Chatbots(Report,Browser):
A report comparing different methods
for creating chatbots, including API-based models such as ChatGPT and Cohere,
with open-source models such as Vicuna, Alpaca, and MPT.Translation(Report,Browser):
A report comparing GPT-based methods, Microsoft Translator, and the best system
from the Conference on Machine Translation.Building Your Own Apps (and Contributing Back)Each of the examples in theexamples/directory is specifically designed
to be self-contained and easy to modify. To get started building your own apps,
we suggest that you first click into the directory and read the general README,
find the closest example to what you're trying to do, copy the example to the
new directory, and start hacking!If you build something cool,we'd love for you to contribute it back. We
welcome pull requests of both new examples, new reports for existing examples,
and new functionality for the corezeno_buildlibrary. If this is of interest
to you, please click through to ourcontributing docdoc to
learn more.CITATIONTo citeGPT-MT report, please use the
following BibTeX/APA entry.BibTeX@misc{Neubig_Zeno_GPT_Machine_2023,author={Neubig, Graham andHe, Zhiwei},title={{Zeno GPT Machine Translation Report}},year={2023}}APANeubig, G., & He, Z. (2023). Zeno GPT Machine Translation ReportGet in TouchIf you have any questions, feature requests, bug reports, etc., we recommend
getting in touch via the githubissues
pageordiscord, where the community can discuss and/or
implement your suggestions!
Package: zeno-client
Zeno Python ClientThe Zeno Python client lets you create and manage Zeno projects from Python.Check out example projects athub.zenoml.com,learn how to use the API, orsee the full API documentation.Release InstructionsTo create a new release, first send a PR with a bumped package version inpyproject.toml.Then, in GitHub, click on "Releases" and "Draft a new Release".
From here click on "tag" and create a new tag of the formvX.X.Xfor your new version.
Make the release title the same as the tag.
Click "Generate release notes", and publish the release.
GitHub will start an action to push the new package to PyPI
Package: zenodo
Zenodo, a CERN service, is an open dependable home for the long-tail of
science, enabling researchers to share and preserve any research outputs in
any size, any format and from any science.Powered by InvenioZenodo is a small layer on top ofInvenio <http://github.com/inveniosoftware/invenio>, a ​free software
suite enabling you to run your own ​digital library or document repository on
the web.InstallationSee INSTALL.rstDeveloper documentationSeehttp://zenodo.readthedocs.orgLicenseCopyright (C) 2009-2015 CERN.Zenodo is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.Zenodo is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.You should have received a copy of the GNU General Public License
along with Zenodo; if not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307, USA.In applying this license, CERN does not
waive the privileges and immunities granted to it by virtue of its status
as an Intergovernmental Organization or submit itself to any jurisdiction.ChangesVersion 2.0.0 (released TBD)Major refactoring to move from Invenio 2.x to 3.x.
Package: zenodoclient
zenodoclientPython package to access the Zenodo API (RESTandOAI-PMH) programmatically and from the command line.InstallTo install from pypipipinstallzenodoclientInstructions for a development installation can be found inCONTRIBUTING.md.Curating depositsTo curate deposits on Zenodo, you need anaccess token.
Then you can use the CLI:zenodo --access-token $YOURTOKEN lsAccessing OAI-PMH feedsZenodo disseminates the metadata for communities via OAI-PMH. This metadata
can be accessed programmatically from python as folows:>>>fromzenodoclient.oaiimportRecords>>>recs=Records('dictionaria')>>>len(recs)18We can list the latest version for each Dictionaria dictionary:>>>importitertools>>>ford,recordsinitertools.groupby(sorted(recs,key=lambdar:(r.repos.repos,r.version),reverse=True),lambdar:r.repos.repos):...print(d,next(records).tag)...wersingv1.0tseltalv1.0.1teopv1.0sidaamav1.0sanzhiv1.0palulav1.0nenv1.1medialenguav1.0kalamangv1.0hdiv1.1guarayuv1.0diidxazav1.0daakakav1.1.1and look at metadata:>>>recs[0].doi'10.5281/zenodo.3066952'>>>recs[0].citation'Henrik Liljegren. (2019). dictionaria/palula: Palula Dictionary (Version v1.0) [Data set]. Zenodo. http://doi.org/10.5281/zenodo.3066952'