Saravanan666/pypi-org huggingface dataset:
Package: z3c.winpdb
ContentsIntroductionNoteChangelogIntroductionz3c.winpdb is a trivial package that calls rpbd2.start_embedded_debugger
when IDatabaseOpenedWithRootEvent is fired during the startup of the
Zope / Plone instance thus making it possible to debug the running instance
with winpdb.Two environment variables are evaluated:RPDB2_ENABLE must be set to “true” for start_embedded_debugger to be called.
You most probably don’t want this in a production environment.
Default is “false”.In RPDB2_PASSWD you can set the password needed to attach winpdb to the
embedded debugger.
Default is “passwd”.NoteYou can’t use z3c.winpdb and use python profiling concurrently, as this causes
an infinite recursion in rpdb2’s CDebuggerCoreThread.profile_recursion method.
So if you use z3c.winpdb make sure to remove any publisher-profile-file
directive from zope.conf file.Changelog0.1.4Bugfix: configure.zcml was missing
Package: z3c.xmlhttp
This package provides an (XHR) XMLHttpRequest implementation which is used as
base javascript library for z3c.jsonrpcproxy. This library can be used in other
javascript projects if you need a XHR implementation.CHANGES0.5.1 (2012-11-19)cleanup msxml2 setup. See comments about the correct MSXML2.XMLHTTP usage athttp://blogs.msdn.com/b/xmlteam/archive/2006/10/23/using-the-right-version-of-msxml-in-internet-explorer.aspxRemoved slugs for ZPKG and ZCML.0.5.0 (2008-04-16)Initial Release
Package: z3c.zcmlhook
IntroductionThis package provides means of hooking into the Zope (ZCML) configuration
process.Custom ZCML actionsIt is sometimes useful to execute a function during the execution of
configuration actions, for example to perform one-off configuration that does
not warrant a new directive. The<zcml:customAction />directive is
provided for this purpose.For example, you may want to call a function calledmy.package.finalConfiguration()“late” in the configuration action
execution cycle. This can be achieved with the following ZCML statements:<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:zcml="http://namespaces.zope.org/zcml"
    i18n_domain="my.package">

    <include package="z3c.zcmlhook" file="meta.zcml" />

    <zcml:customAction
        handler="my.package.finalConfiguration"
        order="9999"
        />

</configure>Thehandlerattribute gives the name of a function to execute. The
function should take no arguments. Theorderattribute is optional, and
can be used to influence when in the configuration cycle the function is
executed. The default value for this, as for most Zope configuration actions,
is0.Overriding custom actionsIf you want to override the invocation of a custom handler in anoverrides.zcml, you need to tellzope.configurationwhich handler to
override. You can do that by setting thediscriminatorexplicitly. A
discriminator is used to uniquely identify a configuration action. In the
case of the<zcml:customAction />directive, the discriminator is based
on the full dotted name to the function by default. Thus, you could override
the function call above like so:<zcml:customAction
    handler="my.otherpackage.overrideFinalConfiguration"
    discriminator="my.package.finalConfiguration"
    order="9999"
    />Using a handler more than onceThediscriminatorattribute can also be used to explicitly allow using
the same handler more than once. If you wanted to callmy.package.finalConfigurationagain, you would normally get a
configuration conflict. However, with a (unique) custom discriminator, the
second call is allowed:<zcml:customAction
    handler="my.package.finalConfiguration"
    discriminator="my.package.finalConfiguration:early"
    order="-9999"
    />

<zcml:customAction
    handler="my.package.finalConfiguration"
    discriminator="my.package.finalConfiguration:late"
    order="9999"
    />Here, we are attempting to call our configuration action “very early” as
well as “very late” in the configuration process.Changelog2.0 (2023-02-24)Add support for Python 3.10, 3.11.Drop support for Python 2.7, 3.5, 3.6.1.1 (2021-02-15)Add support for Python 3.5, 3.6, 3.7, 3.8 and 3.9.Add test extra to declare test dependency onzope.component [test]. [icemac]1.0b1 (2010-01-02)Initial release
[optilude]
Package: z3hello
*******z3hello*******A Zope 3 hello application for demonstartinguse of buildout and zc.zope3recipes for buildingapplication soley from eggs.Releases********==================0.2   (2007/03/19)==================Use zc.zope3recipes:app recipe==================0.1   (2007/03/19)==================Initial release of Zope 3 hello app.Download**********************
Package: z3locales
The code is distributed under terms of the Zope Public License version 2.1.
See also LICENSE.txt.Z3locales is a library which translates dates in Zope 2 to the current
user language using Zope 3 technology.Those functions are available in the modulelocaldatetime:get_formatted_now(request)Return the current date formatted and translated in the current
user language. The target user language is determined via the
provided request.get_formatted_date(date,size="full",request=_marker, locale=_marker, display_time=True)Take a date (should be a tuple(year, month, day[, hour[, minute[,second]]])or a Python datetime object), format it and
translate it in the target user language (determined via locale or the
given request). The modifier size and display_time can be used to
change the output.get_month_names(request=_marker, locale=_marker,calendar='gregorian')Return a list of month names translated in the target language
(determined via locale or the given request).get_month_abbreviations(request=_marker, locale=_marker,calendar='gregorian')Return a list of month abbreviations (usually the first three
letters) translated in the target user language (determined via
locale or the given request).get_locale_info(request)Return the locale representing the target user language using the
provided request. This locale can be used after by other functions
of this package.Compatibility API exists with previous versions.Changes0.4.1 (2013-05-13)Fallback to english if the local that is asked is not available.0.4 (2012-09-03)Use local information from Zope API’s getPreferredLanguages when no
specific local is given.0.3 (2010-10-06)Refactor API to factorize needed computation. The API changed to be
compatible PEP8.0.2 (2008-09-25)First release as an egg.Use zope.i18n as a dependencies, not having a local copy of it.
Package: z3log
Paper Title: ErrorEval: an Open-Source Worst-Case-Error Evaluation Framework for Approximate ComputingShort Description: The open-source toolchain that proposes a methodology called ErrorEval which relies on
SMT (Satisfiability Modulo Theories) solvers.Authors:
Morteza Rezaalipour, Università della Svizzera italiana (USI), Lugano, Switzerland
Lorenzo Ferretti, Micron Technology, San Jose, USA
Ilaria Scarabottolo, Università della Svizzera italiana (USI), Lugano, Switzerland
George A. Constantinides, Imperial College London, London, UK
and Laura Pozzi, Università della Svizzera italiana (USI), Lugano, SwitzerlandEvent name: (Computing Frontiers - Workshop on Open-Source Hardware) CF23-OSHW 23, May 9-11, 2023, Bologna, Italy
DOI:https://doi.org/10.1145/3587135.3591438Home-page: UNKNOWN
Author: Morteza Rezaalipour (MorellRAP)
Author-email: <rezaalipour.usi@gmail.com>
License: UNKNOWN
Description: UNKNOWN
Keywords: python,verilog,circuits,synthesis
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Package: z3r-sramr-py
z3r-sramrInstallationpip install z3r-sramr-pyFunctionsparse_sram(sram, validate_sram=true)Accepts a bytes object and optional boolean argument. If you want to skip the SRAM validation
checks, you can passFalseas the second argument. Returns a dict with three
sub dicts:'meta','stats', and'equipment'. See keys.txt for a list of all
keys.Can raise a ParseException if one of the validation checks fail or another error
occurs.validate_sram(sram)Accepts a bytes object. ReturnsTrueif the object is valid ALTTPR SRAM andFalseif one
of the checks fail. Theparse_sram()function calls this function by default.Examplefromz3rsramrimportparse_sramwithopen("example.srm","rb")asf:sram=f.read()sram_map=parse_sram(sram)print(f'Current Rupees:{sram_map['equipment']['current rupees']}')print(f'Collection Rate:{sram_map['stats']['collection rate']}')print(f'Menu Time:{sram_map['stats']['menu time']}')
Package: z3-solver
Z3 is a theorem prover from Microsoft Research with support for bitvectors, booleans, arrays, floating point numbers, strings, and other data types.For documentation, please readhttp://z3prover.github.io/api/html/z3.htmlIn the event of technical difficulties related to configuration, compilation, or installation, please submit issues tohttps://github.com/z3prover/z3.git
Package: z3-solver-mythril
Z3 is a theorem prover from Microsoft Research with support for bitvectors, booleans, arrays, floating point numbers, strings, and other data types.For documentation, please readhttp://z3prover.github.io/api/html/z3.htmlIn the event of technical difficulties related to configuration, compiliation, or installation, please submit issues tohttps://github.com/angr/angr-z3
Package: z4-solver
z4z3with some improvements:BitVec:Change the right shift operation to be logical instead of arithmeticAdd theByteVecclassAdd some helper methods for solving:easy_solvefind_all_solutionseasy_proveAdd some helper functions for z3 variables/constants:BoolToIntSgnTruncDivFeatures implemented upstreamThese features were first provided by z4, before z3 included these features.
They have now been removed from z4.BoolRef:Support*for twoBoolRef's8efaaaf,ec74a87Support+f90b10a,a9513c1Support&,|and~f90b10aSupport^764f0d5Helper functions:Abscf08cdfUsageInstall withpip install z4-solver.easy_solveimportz4a,b=z4.Ints("a b")print(z4.easy_solve([a<=10,b<=10,a+b==15]))Output:[b = 5, a = 10]find_all_solutionsimportz4a,b=z4.Ints("a b")print(*z4.find_all_solutions([a<=10,b<=10,a+b==15]),sep="\n")Output:[b = 5, a = 10]
[b = 6, a = 9]
[b = 7, a = 8]
[b = 8, a = 7]
[b = 9, a = 6]
[b = 10, a = 5]easy_proveLet's try and prove that2 * a >= afor all integersa:importz4a=z4.Int("a")print(z4.easy_prove(2*a>=a))OutputTraceback (most recent call last):
  ...
z4.Z3CounterExample: [a = -1]This isn't true so we get an exception with the counter-examplea = -1. Of course2 * -1 = -2which is less than-1.Let's try again with the assumption thatamust be non-negative:print(z4.easy_prove(z4.Implies(a>=0,2*a>=a)))Output:True
Package: z80dis
z80disA python disassembler library for Z80Use>>> from z80dis import z80
>>> z80.disasm(b'\xCB\xE7', 0)
'set 4,a'Or, if you'd like access to the instruction internals, like opcode identifier, length, and operands:>>> decoded = z80.decode(b'\xCB\xE7', 0)
>>> decoded.op
<OP.SET: 58>
>>> decoded.operands[0]
(<OPER_TYPE.IMM: 45>, 4)
>>> decoded.operands[1]
(<OPER_TYPE.REG_A: 1>,)
>>> decoded.len
2The decoded structure can be supplied to disasm() to make a string:>>> z80.disasm(decoded)
'set 4,a'
Package: zaailabcorelib
zaailabcorelibIntroductionThis is ourzaailabcorelibtools implemented and used widely in ZAI Lab.CompilingTo compile and upload package to PyPipython3 setup.py sdist bdist_wheel
python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*  --verboseContributors[ 1 ] congvm -congvm.it@gmail.com[ 2 ] tript -thanhtri2502@gmail.com[ 3 ] tinhdm -minhtinh.1997.khmt@gmail.com
Package: zaapy
Zeltron AnAlysis with Python (ZAAPy)-->zaapy is a 2D visualization command line tool for Zeltron. It works with h5-formatted data from Zeltron and GRZeltronData FormatsAccepted formats for the data:
GRZeltron: *.h5
Zeltron: *.h5:warning: :construction: This project and documentation are under construction :construction: :warning:Installation:warning: zaapy requires Python 3.8 or newer. Installation method:$pipinstallzaapyUsageCommand lineThe zaapy CLI gets its parameters from two sources:command line parametersdefault valuesCommand lines parameters take priority over default values.To get help, run$zaapy--helpusage: zaapy [-h] [-dir DATADIR] [-field FIELD] [-it I1 I2 DT]
            [-vmin VMIN] [-vmax VMAX] [-cmap CMAP] [-dpi DPI]
            [-geom {cartesian, spherical}] [-d] [-log] [-range x x x x]
            [-spec SPEC] [-plane x x] [-title TITLE] [-fmt FMT]

optional arguments:
 -h,--help          show this help message and exit
 -dir DATADIR       location of output files and parameter files (default: '.')
 -field FIELD       field to plot
 -it I1,I2,DT       timesteps to plot
 -vmin VMIN         min value for colorbar
 -vmax VMAX         max value for colorbar
 -cmap CMAP         choice of colormap for the map
 -dpi DPI           image file resolution
 -geom              geometry of the simulation (choice: 'cartesian','spherical')
 -spec              species to load (default: 'electrons')
 -range             range of matplotlib window
 -plane             projection plane
 -title             name of the field in the colorbar
 -fmt               format of output image file

boolean flag:
 -log               plot the log10 of the field f, i.e. log(f)

CLI-only option:
 -d                 to display the plot, turned off if multiple timesteps to plot
 -version           display version numberPython modulezaapy can be used as a python module to load and work with data from simulation done with Zeltron.fromzaapy.apiimportGasDataSet,computeds=GasDataSet()ContributeWe use pre-commit hooks to format the code in order to reduce bad coding behaviourSupportIf you face an issue or a bug (might just be a feature :wink:), please report it as an issue on this repositoryAuthors and acknowledgmentAuthor: Adrien SoudaisAcknowledgments: Gaylor Wafflard-Fernandez, Clément Robert, Ileyk El MellahLicenseGNU GENERAL PUBLIC LICENSEProject statusStill under development
Package: zabbi
ZabbixZabbix - Python API ModuleDocumentationGetting StartedInstallzabbiusing pip:$pipinstallzabbiYou can now import and use zabbi like so:fromzabbiimportZabbixAPIzapi=ZabbixAPI("http://zabbixserver.example.com/zabbix")zapi.login("zabbix user","zabbix pass")print("Zabbix API Version%susing zabbi "%zapi.api_version())All zabbix api requests can be made as defined inZabbix API DocumentationThe features added in zabbi are :Using host.get you can get all results for a host ( including hostInterface results )Now you can get host.get info by name also ( host.get with param host="example")Now you can get info for host by ip also ( hostinterface with param ip="0.0.0.0" )Also the info would be returned for multiple hosts if there are with same ip or name*
Package: zabbix2jira
Creates or updates a ticket on JIRA from Zabbix alarmsPurposezabbix2jira is a simple command line program that receives an action from
Zabbix (or any other script) and creates (or updates) a ticket on a project
inside a JIRA installation.InstallationUse the following command under the program directory:$ pip install -e .We recommend using virtualenv to setup a self-contained app directory. In this
case, you should use:$ virtualenv env
$ source env/bin/activate
$ pip install -e .If you want to see which libraries this application uses, please check therequirements.txtfile.UsageDefault paths:Configuration:/etc/zabbix2jira.cfgLog:/var/log/zabbix2jira.logCache Directory:/var/cache/zabbix2jiraTo run it, activate virtualenv first:$ source env/bin/activate
$ zabbix2jira -hConfigurationThe command itself uses some default configuration, but you will want
to configure a file to configure your jira url, username and password.Simply copy thesample-config.cfgfile to the default configuration
path (/etc/zabbix/zabbix2jira.cfg) or copy to any location and use the-cparameter at the CLI call.The file itself is self-explanatory.Zabbix IntegrationCreate an action that calls the script with the proper variables.We create a action namedzabbix2jirawith the conditions:A Maintenance status not in maintenanceB Trigger value = PROBLEMC Trigger value = OKAnd with calculation:A and (B or C). Pay attention to the(B or C)because we want to run the action both on alarm and recovery.Note: this changed on Zabbix 3.2. You can skip and B and C conditions
because on this version, problem and recovery operations are separate.Then on theOperationsTab, create a step that executes aCustom scripton the Zabbix Server with the following commands:zabbix2jira -v -i {EVENT.ID} PROJECT {TRIGGER.STATUS} "[Zabbix Alert] {HOSTNAME} - {TRIGGER.NAME}" "Alert Details"You can also use the script as a user media and send a message to it.Note that if using avirtualenvsetup, activate it before the previous command:source /opt/z2d/env/bin/activateExamplesHere are some examples for running zabbix2jira.Create an issue with componentAlert:zabbix2jira -v -p Alert PROJECT PROBLEM "[Zabbix Alert] PROBLEM" "Alert Details"With the zabbix backend enabled, track the event id (123) to acknowledge it:zabbix2jira -v -i 123 PROJECT PROBLEM "[Zabbix Alert] PROBLEM" "Alert Details"Recover the previous issue:zabbix2jira -v -i 123 PROJECT OK "[Zabbix Alert] PROBLEM "Alert Details"Create an issue with typeBug:zabbix2jira -v -t Bug PROJECT PROBLEM "[Zabbix Alert] PROBLEM" "Alert Details"
Package: zabbixapi
|image0|========|Build Status| |Codacy Badge| |codecov| |PyPI| |PyPI|Zabbix Python Api rewrote by Liu Yicong.installation------------.. code:: shellpip install zabbixapi.. |image0| image:: https://cdn.rawgit.com/MrLYC/ZabbixPythonApi/master/logo.svg.. |Build Status| image:: https://travis-ci.org/MrLYC/ZabbixPythonApi.svg?branch=master:target: https://travis-ci.org/MrLYC/ZabbixPythonApi.. |Codacy Badge| image:: https://api.codacy.com/project/badge/Grade/84e46893a6994ad49feab94b97319dde:target: https://www.codacy.com/app/imyikong/ZabbixPythonApi?utm_source=github.com&utm_medium=referral&utm_content=MrLYC/ZabbixPythonApi&utm_campaign=Badge_Grade.. |codecov| image:: https://codecov.io/gh/MrLYC/ZabbixPythonApi/branch/master/graph/badge.svg:target: https://codecov.io/gh/MrLYC/ZabbixPythonApi.. |PyPI| image:: https://img.shields.io/pypi/v/zabbixapi.svg:target: https://pypi.python.org/pypi/zabbixapi/0.2.1.. |PyPI| image:: https://img.shields.io/pypi/pyversions/zabbixapi.svg:target: https://pypi.python.org/pypi/zabbixapi/0.2.1
Package: zabbix-api
This is an implementation of the Zabbix API in Python.
Please note that the Zabbix API is still in a draft state,
and subject to change.Implementations of the Zabbix API in other languages may
be found on the wiki.Zabbix 1.8, 2.0, 2.2, 2.4, 3.0 and 3.2 are supported.
Python 2 and 3 are supported.Future versions must be supported too, if there is no deep changes.Installation:`sh # pip installzabbix-api`Short example:`python >>> from zabbix_api import ZabbixAPI >>> zapi =ZabbixAPI(server="https://server/")>>>zapi.login("login","password") >>>zapi.trigger.get({"expandExpression":"extend", "triggerids": range(0,100)})`See also:
*http://www.zabbix.com/wiki/doc/api*https://www.zabbix.com/documentation/2.4/manual/api*http://www.zabbix.com/forum/showthread.php?t=15218
Package: zabbix-api-erigones
Zabbix APIPython Library.Used by theLudolph Monitoring Jabber Bot.Supported Python versions: >= 2.6 and >= 3.2Supported Zabbix versions: 1.8, 2.0, 2.2, 2.4, 3.0Installationpipinstallzabbix-api-erigonesUsagefromzabbix_apiimportZabbixAPIzx=ZabbixAPI(server='http://127.0.0.1')zx.login('username','password')# Example: list zabbix userszx.call('user.get',{'output':zx.QUERY_EXTEND})# Or use the old dot notation methodzx.user.get({'output':zx.QUERY_EXTEND})LinksBug Tracker:https://github.com/erigones/zabbix-api/issuesTwitter:https://twitter.com/erigones
Package: zabbix-app-ports-discovery
zabbix low-level discovery插件.自动发现服务器上所有应用的监听端口,并使用APP名称标记应用以免重复及增加可读性.#Usage:```Install:pip install zabbix-app-ports-discoveryAdd to you script:import applistenportsgetlistport = applistenports.GetListenPorts()items = getlistport.process()print(items)输出格式为zabbix low-level discovery要求的json格式{"data": [{"{#APPNAME}": "sshd__/usr/sbin/sshd","{#APPPORT}": "22"},{"{#APPNAME}": "master__/usr/libexec/postfix/master","{#APPPORT}": "25"},{"{#APPNAME}": "zabbix_agentd__/usr/sbin/zabbix_agentd","{#APPPORT}": "10050"},{"{#APPNAME}": "zabbix_server__/usr/sbin/zabbix_server_pgsql","{#APPPORT}": "10051"}]}```
Package: zabbix-client
zabbix-clientis a Zabbix API wrapper written in Python. It works on
Python 2.6+ and 3.2+.Zabbix APIZabbix API was introduced in Zabbix 1.8 and allows you to create, update
and fetch Zabbix objects (like hosts, items, graphs and others) through
the JSON-RPC 2.0 protocol.Zabbix API documentation:Getting started with Zabbix APIZabbix API descriptionZabbix API method referenceJSON-RPC documentation:JSON-RPC 2.0 specificationzabbix-clientsupports all Zabbix versions including the JSON-RPC
API, starting with Zabbix 1.8.UsageCalling a method that does not require authentication:>>> from zabbix_client import ZabbixServerProxy
>>> s = ZabbixServerProxy('http://localhost/zabbix')
>>> s.apiinfo.version()
'2.0.12'Calling a method that requires previous authentication:>>> from zabbix_client import ZabbixServerProxy
>>> s = ZabbixServerProxy('http://localhost/zabbix')
>>> s.user.login(user='Admin', password='zabbix')
'44cfb35933e3e75ef51988845ab15e8b'
>>> s.host.get(output=['hostid', 'host'])
[{'host': 'Zabbix server', 'hostid': '10084'},
    {'host': 'Test', 'hostid': '10085'}]
>>> s.user.logout()
TrueLicenseLicensed under the Apache License.