Saravanan666/pypi-org huggingface dataset:
Package: zoink-sftp
LicenseCopyright (C) Zeth, extended and easy installed by Oisin Mulvihill.Email: oisin dot mulvihill at gmail dot comThis library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.This library 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
Lesser General Public License for more details.You should have received a copy of the GNU Lesser General Public
License along with this library (see the file LICENSE.TXT); if not,
write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA.IntroductionFriendly Python SSH2 interface allowing easy file and directory transfer.
This is based on the excellent ssh.py script from:http://commandline.org.uk/python/sftp-python-really-simple-sshI’ve made this an easy installable with one or two additions and some
basic testing. This is a really handy script and I wanted to use it
elsewhere in a more controlled fashion. The original code was released
under LGPL which I’m using for my additions and extension.InstallationThis project depends on paramiko which will be installed along with this
project via easy_install. For completeness paramiko’s home is herehttp://www.lag.net/paramiko/From the command line you can install this project as follows:easy_install zoink-sftpThis assumes you’ve installed setuptools first. Alternatively you could
download the source code and then do:cd zoink-sftp
python setup.py installThe source code is currently hosted on launchpad under bazaar revision
control. If your interested head to the project’s page herehttps://launchpad.net/zoink-sftpExample UsageHave a look at zoinksftp/example/simple.py for a basic example
of how to drive sftp.
Package: zojax.mr.gae
ContentsIntroductionUsageExampleIntroductionzojax.mr.gaeis azc.buildoutextension that alows to install GAE libs that distributed with GAE in development mode.
This extension is supposed to be used withrod.recipe.googleapenginerecipe. Eggs that distributed with GAE are discovered by buildout as generic eggs.UsageAddzojax.mr.gaeto theextensionsentry in your[buildout]section:[buildout]
extensions = mr.developerThe format of entries in the[gae_source]section is:[sources]
url = url
extraxt_dir = path to dir
eggs = listWhere individual parts are:urlLink to Google App Engine.extraxt_dirThe path to directory where Google App Engine will be storedeggsThe names of the package that will be installed from Google App Engine libs.ExampleThet is a simple example of buildout config.:[buildout]
develop = src/inboxer

parts = PIL
        app
        py-utils
        tests
        ipython-unix

extensions = zojax.mr.gae

[sources]
jinja2 = fs jinja2
webob_1_1_1 = fs webob_1_1_1
webapp2 = fs webapp2
yaml = fs yaml

[gae_source]
url = http://googleappengine.googlecode.com/files/google_appengine_1.6.4.zip
extraxt_dir = parts
eggs = jinja2
       webob_1_1_1
       webapp2
       yaml
       django_1_3

[versions]
Django = 1.3.1
rod.recipe.appengine = 2.0.0


[app]
recipe = rod.recipe.appengine
eggs = inboxer
       jinja2
       webapp2
       PyYaml
       Django

packages = inboxer
           wtforms

server-script=dev_appserver
src = src/inboxer
zip-packages=False
url=${gae_source:url}
extra-paths = ${PIL:extra-path}

[py-utils]
recipe=zc.recipe.egg
eggs= pastescript
      utils
      WebTest
      ${app:eggs}
extra-paths= ${tests:extra-paths}


[pep8]
recipe = zc.recipe.egg
eggs = pep8
Package: zoko
zokoA Python library for interacting with theZokoAPIs.:construction: This project is work in progress. The library still has a lot of methods to implement.Table of ContentsInstallationQuickstartDocumentationLicenseInstallationpip install zokoQuickstartfromzokoimportZokoClient# Initialize the client with your Zoko API keyzoko=ZokoClient(api_key='YOUR_API_KEY')# Get all all templatestemplates=zoko.account.get_all_templates()print(templates)Expected output:[{"active":True,"channel":"whatsapp","isRichTemplate":True,"templateDesc":"Good morning {{1}}. How may I help you today?","templateId":"greeting_01","templateLanguage":"en","templateType":"buttonTemplate","templateVariableCount":1}]DocumentationYou can find the documentation for the all the available resource and method exampleshere.Licensezokois distributed under the terms of theMITlicense.
Package: zolfa-nd2reader
zolfa-nd2readerAboutzolfa-nd2readeris a pure-Python package that reads images produced by NIS Elements 4.0+. It has only been definitively tested on NIS Elements 4.30.02 Build 1053. Support for older versions is being actively worked on.
The reader is written in thepimsframework, enabling easy access to multidimensional files, lazy slicing, and nice display in IPython.This version is a fork of the project of publishedhere.DocumentationDocumentation specific to this fork is not available yet.The documentation of the origianlnd2readerproject was availablehere.InstallationThe package is available on PyPi. Install it using:pip install zolfa-nd2readerIf you don't already have the packagesnumpy,pimsandxmltodict, they will be installed automatically running pip.
Python >= 3.10 are supported.ND2snd2readerfollows thepimsframework. To open a file and show the first frame:fromzolfa.nd2readerimportND2Readerimportmatplotlib.pyplotaspltwithND2Reader('my_directory/example.nd2')asimages:plt.imshow(images[0])After opening the file, allpimsfeatures are supported. Please refer to thepims documentation.ContributingIf you'd like to help with the development of nd2reader or just have an idea for improvement, please see thecontributingpage
for more information.Bug Reports and FeaturesIf this fails to work exactly as expected, please open anissue.
If you get an unhandled exception, please paste the entire stack trace into the issue as well.AcknowledgmentsFirst fork by Ruben Verweij.PIMS modified version by Ruben Verweij.Original version by Jim Rybarski. Support for the development of this package was partially provided by theFinkelstein Laboratory.
Package: zolltools
zolltoolsThezolltoolspackage is a collection of tools and scripts for work with NEMSIS data for the purpose of analyzing and reporting on EMS data. The package has "zoll" in it because it was originally developed as part of a research project funded by a grant from the ZOLL Foundation.LoggingLogger names for each of the messages follow standard convention. Each module has its own logger, and they can be accessed withlogging.get_logger(). The name of each module's logger also follows standard convention. For example, the name of the logger for thesasconvertmodule would be"zolltools.db.sasconvert". Included below is a short example of how one can access the logs for thesasconvertmodule. SeePython's documentation of the logging modulefor more information on how to format and handle the logs.importloggingimportzolltoolssasconvert_logger=logging.getLogger("zolltools.db.sasconvert")sasconvert_logger.setLevel(logging.DEBUG)sasconvert_logger.addHandler(logging.FileHandler("sasconvert.log"))To add a handler or set the level of all loggers in the package at once (and for other similar convenience functions), see thezolltools.loggingmodule. See the example usage below.importloggingfromzolltoolsimportloggingaszlgzoll_handler=logging.FileHandler("main.log")zoll_level=logging.WARNINGzlg.set_level(zoll_level)zlg.add_handler(zoll_handler)Log messages from functions in thezolltoolspackage will include a prefix in the following format:<class name if in class>.<function name>: <message>DevelopmentInstallationTo install the package for development, clone the repository and create the virtual environment.gitclonehttps://github.com/Jython1415/zolltools.git# Clone the repocdzolltools
python3-mvenv.venv# Create the virtual environmentsource.venv/bin/activate# Activate the virtual environmentpipinstall--upgradepip# Update pip if necessarypipinstall-rrequirements.txt# Install requirementspipinstall-e.# Install package in editable mode for testingTestingTo run tests, use the following command after activating the virtual environment:python-mpytestBuildingTo build and upload the project to test PyPI, use the following command:bashscripts/new-build.sh
Package: zoloto
ZolotoA fiducial marker system powered by OpenCV - Supports ArUco and AprilDocumentationInstallationpip install zolotoOpenCVOpenCV should be installed manually, ideally through your system package manager. This makes it easier to customize your OpenCV installation for your system, or use the optimal settings for your OS / hardware. Note that you may need to installopencv-contribas well asopencv.If you'd rather have one installed automatically, install the extraopencv:pip install zoloto[opencv]Note that this version lacks hardware acceleration. Seethe READMEfor more details.For storage-constrained environments, there's alsoopencv-contrib-python-headless, which should be installed manually.ExamplesfrompathlibimportPathfromzolotoimportMarkerTypefromzoloto.camerasimportImageFileCamerawithImageFileCamera(Path("my-image.png"),marker_type=MarkerType.ARUCO_6X6)ascamera:camera.save_frame("my-annotated-image.png",annotate=True)print("I saved an image with{}markers in.".format(len(camera.get_visible_markers())))More examplesZoloto ships with a CLI (aptly namedzoloto), which contains some helpful utils for working with Zoloto and fiducial markers.Development setup./scripts/setup.shwill create a virtual environment, and install all the required development dependencies into it.Note that this will not install a version of OpenCV for you. For that, run./scripts/setup.sh opencv.There are some additional useful scripts to assist:./scripts/test.sh: Run the unit tests and linters./scripts/fix.sh: Automatically fix issues fromblackandisort./scripts/benchmark.sh: Run benchmarks (these can take a couple minutes depending on your hardware)
Package: zomake
ZoMakeA Python package to generate Makefiles for C/C++.Other languages will be added later.Installationpython3-mpipinstallzomakeUsageCreate a ZoMakefile.py:importzotarget=zo.Target(lang='c')target.sources(f'{zo.root()}/src','main.c')target.include(f'{zo.root()}/include')target.compile(f'{zo.root()}/build')target()To generate a Makefile:python3ZoMakeFile.pyinitTo build:python3ZoMakeFile.pybuild
Package: zomathon
Python Module for the Zomato API.About the Zomato APISee the official API documentation for more information.https://developers.zomato.com/apiInstall$ pip3 install zomathonOnly pip3 is supported for now. If you don’t have pip installed on your
system$ git clone https://github.com/abhishtagatya/zomathon
$ cd zomathon
$ python3 setup.py installGetting StartedUsage :import os
import sys
import json

from zomathon import ZomatoAPI

API_KEY = os.environ.get('ZOMATO_API_KEY')
zom = ZomatoAPI(API_KEY)

# For complete help on the module
help(zom)Make sure to check outexample/basic_usage.pyfor demonstrations :$ python3 example/basic_usage.pyOr check out the interactive documentation over atZomato Documentation.AuthorsAbhishta Gatya - Initial WorkLicenseThis project is licensed under the MIT License - see theLICENSE. file
for details
Package: zomato-distribution-api
Greetings!This is a python API, which is a wrapper class for the zomato's web based APIThis API contains various functionsget_collections -> returns all restaurants in a given cityget_cuisines -> returns all cuisines types in a given cityget_establishment_types -> returns all establishment types in a given cityget_nearby_restaurants -> returns the nearby restaurants given your geo coordinatesrestaurant_search -> returns dictionary of restaurants within a radius of your location and/or of cusine/s typesSteps before using this APIPlease "Generate API key" from https://developers.zomato.com/api#headline2To Install this APIpip install zomato-distribution-api==0.2.3To Use this APIyou have to import the Zomato classcreate a Zomato's instance for example, z = Zomato(your_key), to access it's methods
Package: zombie
A Python driver forZombie.js, a headless browser
powered bynode.js.from zombie import Browser
b = Browser()
b.visit('http://pypi.python.org/').fill('term', 'Zombie').pressButton('submit')
assert "A Python driver for Zombie.js" in b.body.text

brew install node
curl https://www.npmjs.org/install.sh | sh
npm install zombieInstallingTo install Zombie from PyPI:$ pip install zombie…or, for the latest (unstable) tip:$ git clone https://github.com/ryanpetrello/python-zombie -b next
$ cd python-zombie && python setup.py developDevelopmentSource hosted atGitHub.
Report issues and feature requests onGitHub
Issues.To fix bugs or add features to zombie, a GitHub account is required.The general practice for contributing is tofork zombieand make changes in thenextbranch. When you’re finished,send a pull requestand your patch will
be reviewed.Tests requiretoxand can be run withpython setup.py test.All contributions must:Include accompanying tests.Include API documentation if new features or API methods are changed/added.Be (generally) compliant with PEP8.  One exception is that (for consistency,
and to demonstrate their analogous nature) API methods onzombie.Browsershould follow the camel case formatting set forth in
the zombie.js API (e.g.,Browser.pressButton, notBrowser.press_button).Not break the tests or build. Before issuing a pull request, ensure that all
tests still pass across multiple versions of Python.Add your name to the (bottom of the)AUTHORSfile.
Package: zombie-calculator
出怪计算器前言本计算器是在@SKOSKX版基础上制作的魔改版。相较于原版，有以下特性:更更更更更高的效率（高了多少请自行体会）将原模式1与模式3合并为新模式1，将原模式2与模式4合并为新模式2，原模式5有朝一日不咕的话……（加了gui（废话如果觉得该程序不错，不如star一个吧！模式1使用示例计算1号玩家，PE（存档编号为13）在种子114514下2021-2030旗的出怪：结果如下：模式2使用示例计算节操掉尽的1号玩家PE从第3面旗到第16面旗均出扶梯且不出车丑红的种子：作出如下设置后依次点击“加入”和“运行计算”，稍等片刻即可得出结果：另一个例子：计算节操掉尽的2号玩家PE 3-4F 出丑炸荷叶，5-10F出梯不出车丑，11-12F出车碾盆的种子：输入以上信息后点击“加入”如法炮制，最终输入完成的示意：运行计算的结果：关于参数的一些解释用户编号第几个创建的用户就是几，以本人的游戏举例：存档编号正常情况下，DE,NE,PE,FE,RE分别为11，12，13，14，15如果使用修改器改变了场景，存档编号以修改前的场景（也是右下角显示的场景）为准但游戏场景以修改后的场景为准种子如何查看、修改？在启动窗口点击修改种子按钮。窗口启动时会自动查找游戏并获取存档出怪种子，若游戏未启动则会视具体问题在状态栏显示。也可以在游戏启动后点击查找游戏与获取当前种子手动查找。如截图所示，当前为种子0x11在泳池无尽3-4波下的预览。利用模式一进行检验。现在修改为0x12，效果如图。与模式一预测结果相同。开发者文档总述​		该程序基于python3.8&pyqt5开发，使用qt_material作为皮肤。其中cpu密集计算部分(模式2)使用c++&pybind11多线程编写充分利用cpu多核资源。该程序较初版程序速度快500~1000倍左右，使得在int32范围内短时间穷举全部种子成为现实。​	seedFinder模块由@SKOSKX版c++重写为多线程程序而来。​	asmInject模块由@pvztools的部分代码改写而来，并且重写为64位。seedFinder模块**该模块必须在python3.8下使用。**在其他版本下使用请自行编译。方法**appear(uid:int, mode:int, scene:str, level:int, seed:int)**用于获取在当前波数下的出怪类型，返回值为list。类requestToSeed(uid:int, mode:int, scene:str, level_beginning:int, level_ending:int, seed:int)用于获取指定条件下的种子。类属性**seed:int**用于获取当前计算到的种子。在seed小于0时表示没有找到合适的种子。stopThread:bool用于中断计算线程。类方法**calc(idNeeded:list[list], idRefused:list[list]):int**两个参数均为二维列表，每个元素为每波要求的出怪类型列表(空列表为无要求)。计算时会堵塞线程，为获取实时进度请使用多线程。asmInject模块**该模块必须在python3.8下使用。**在其他版本下使用请自行编译。类**seedInject()**初始化时尝试获取查找一次游戏。类属性Result**NotFound**没有找到游戏。**WrongVersion**不支持的游戏版本。**OK**成功找到游戏。**OpenError**游戏进程打开错误。**findResult:Result**在当前状态下的查找游戏状态，Result枚举类型。类方法**getRandomSeed():int**获取当前游戏存档种子。**setRandomSeed(seed:int)**设置当前游戏存档种子。**internalSpawn()**刷新游戏准备时预览。
Package: zombie-core
## Just Test, Just for myself! Not safe,not stable and will boom boom boom. ##Just like these:https://music.163.com/song?id=3949444&userid=319278554https://music.163.com/song?id=474581010&userid=319278554https://open.spotify.com/album/47wyCwrChF50ZTFNOuWx99https://open.spotify.com/track/3oDFtOhcN08qeDPAK6MEQG
Package: zombie-dice
Zombie DiceThis package is based on Zombie Dice - a popular dice-rolling, push-your-luck boardgame by Steve Jackson.By running a series of simple functions within a Python environment, you can push your luck to get the most BRAAAAIINS!! 🧠  as possible. At the same time you need to avoid shotgun blasts 💥  while pushing your luck whether to pursue survivors 👣You can also analyse your results by checking out the logs of your rounds and overall game.STEP 1: Once initialised, players are required to pick 3 dice from the bucket by runningpick_dice()STEP 2: After they've picked the dice with specific colours, players are required to roll the dice by runningroll_dice()STEP 3: Player can pick more dice and re-roll if they choose to - remember footprints are included in the re-pick and re-throw, so keep in mind of the coloursSTEP 4: Player can keep pick and roll untill the 13 dice are exhausted and the round finished or player can end the round when they feel like they've amounted enough points. Runend_round()to end the round and the next player can continueThe first player to reach a total of 13 points wins the game!For a formal how-to-play guide, check out theoriginal websiteorBGG here.Initiate in terminalpip install zombie-dicePlay exampleimport zombie_dice

player_one = zombie_dice.Zombiedice(1)

player_one.pick_dice()

You have the following dice to roll:

Yellow
Green
Green
player_one.roll_dice()

Die 1: Yellow Brain
Die 2: Green Footprints
Die 3: Green Brain

You're score this round so far is 2!
You've rolled 1 footprint(s).
Do you wanna pick more dice to re-roll?
Remember, you can only pick three dice including one of the footprints.

player_one.roll_dice()

You have the following dice to roll:

Green
Yellow
Green

The footprints dice from the previous roll is:
Green

player_one.roll_dice()

Die 1: Green Footprints
Die 2: Yellow Footprints
Die 3: Green Shotgun

You're score this round so far is 1!
You've rolled 2 footprint(s).
Do you wanna pick more dice to re-roll?
Remember, you can only pick three dice including one of the footprints.

player_one.roll_dice()

Die 1: Red Shotgun
Die 2: Red Footprints
Die 3: Green Brain

You're score this round so far is 1!
You've rolled 1 footprint(s).
Do you wanna pick more dice to re-roll?

Remember, you can only pick three dice including one of the footprints.

player_one.end_round()

You're total score is: 1Enjoy!
Package: zombie-imp
zombie-impA particularly mischevious act of necromancy. That is,A copy of theimpmodule that was removed in Python 3.12.Don't use this, it'll probably trick and bite you.UsageCan be summoned byimport zombie_imp.On Python versions whereimpwas banished, reanimate it usingimport imp.
It promises (with a sneer) to be the same as before.Some functionality that was severed frompkgutilis interred
inzombie_imp.pkgutil, ready for reattachment:ImpImporterImpLoaderDevelopmentYou want to help it? Think you'll be rewarded?
Great! It loves gullible brains.Seriously,run!Find a project that needs this and portthattoimportlib.LicenseThe code was snatched from CPython, and is available under CPython's license
(SPDX:Python-2.0.1).
Package: zombies
Run brainfuck code.LicenseMITInstallation$pipinstallzombiesPython Usageimportzombiesinterpreter=zombies.BF()code='''
>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]
>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++
.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++.
'''interpreter.run(code)# Hello World!# you can also run a .bf fileinterpreter.run('helloworld.bf')Command Line UsageRun a.bffile$zombieshelloworld.bfUse the REPL$zombiesBrainfuckREPLmadeinPython|zombies1.0.0abyTheMaster|LicenseMITType"stop"toexit\\\>>++<<+-Code FormattingAll code should be formatted withblack.
Package: zombie-translator
Zombie Translator is the easiest way to understand and be understood by your zombie friends and neighbors.  It’s simple, easy, and makes speaking zombie fun!Installing`bash pip installzombie-translator`Using`python >>> from zombie_translator import to_zombish, from_zombish >>> z =to_zombish("Hello,world!")>>> print z Bgbbnhnhhr, MrhrrrnhRA! >>> print from_zombish(z) "Hello, world!" `There’s also an optional profanity filter that replaces a set of arguably ‘bad’ words with zombie-speak.  For example,`python >>> printfrom_zombish(to_zombish("Don'tbe a jackass,man."))Don't be a GRAANH, man. `You can also turn off the profanity filter:`python >>> printfrom_zombish(to_zombish("Don'tbe a jackass,man.",with_profanity_filter=False)) Don't be a jackass, man. `Updates and RoadmapRoadmapThis version is pretty much all we can see adding to this package. But if other people have ideas, send ‘em as pull requests!Recent updates (full log in CHANGES)0.1Initial release
Package: zompt
Python Zomptzomptis library for generating user input prompts for Python clis.Zompt featuresText input promptMultiple choice prompt (using arrow keys)Installationpip install zomptGetting StartedInput PromptThe most simple example of the Input Prompt would look like this:if __name__ == "__main__":
    print("Example prompt (type some text): ")
    input_prompt = InputPrompt()
    result = input_prompt.run()
    print()
    print("You typed: " + result)Multiple Choice PromptThe most simple example of a mupltiple choice prompt would look like this:if __name__ == "__main__":
    if(len(sys.argv) < 2):
      print("No arguments given, include at least two commandline arguments.")
      sys.exit(1)

    options = []
    for index in range(1, len(sys.argv)):
      arg = sys.argv[index]
      options.append(arg)

    print("Select an option (use arrow keys to change selection, press enter when done): ")
    arrow_selection_prompt = ArrowSelectionPrompt(options)
    result = arrow_selection_prompt.run()
    print()
    print()
    print("You selected: " + result)PhilosophySometimes for CLIs less is more. Providing users with a simplified prompting mechanism will help guide them through complex scenarios but with an easy to use interface.
Package: zon
zon - Zod-like validator library for PythonWant to have the validation power ofzodbut with the ease-of-use of Python?Enterzon.zonis a Python library that aims to provide a simple, easy-to-use API for validating data, similiar tozod's own API'. In fact, the whole library and its name were inspired byzod: Zod + Python = Zon !!!.WhyWhile doing a project for college, we were using both Python and JS/TS in the code-base. We were also using a JSON-Schema document to define a data schema for the data that we would be consuming.There exists tooling that allows for one schema to generate TS types and from that Zod validator code, but there was nothing of the sort for Python. What's more, none of the validation libraries I found for Python had an API that was as easy to use as Zod's. So, I set out to build it.