Saravanan666/pypi-org huggingface dataset:
Package: poissonDiskSampling
Bridson Poisson DisK Sampling with Variable RadiusThis package contains a Python 3 implementation of the Poisson Disk Sampling algorithm ofBridson (2007). It has been adapted to be able to generate the
sampling with a spatially variable sampling radius, i.e. the density of the sampling points is determined according to a
given density distribution.UsageThe usage of the package is illustrated in the includedexample.pyfile and the generated Poisson Disk Samplings for a
set of input density distributions are displayed below and in the subdirectoryexampleVisualisations.The only required input of the routine is a 2D array specifying the sampling radii at each spatial position of the
sampling grid. For instance, a uniform density distribution with a sampling radius of 5 and a sampling box of size 40x40
can be generated withrad = np.zeros((40,40)) + 5Note that the routine assumes the minimum chosen sampling radius to be 1.Subsequently, the Poisson Disk Sampling can be generated viafrom poissonDiskSampling import bridsonVariableRadius
nParticle, particleCoordinates = bridsonVariableRadius.poissonDiskSampling(rad, k=30, radiusType='default')with the outputnParticlecontaining the number of generated particles of the sampling and the 2D arrayparticleCoordinatesspecifying the coordinates of these sampling particles.The optional argumentkstates the number of attempts to create a new particle in the annulus between r and 2r around
an existing particle. Following Bridson (2007), the default number is set tok=30but higher values might be necessary
some situations.The other optional argumentradiusTypecan be used to exploit a variation of the original Bridson (2007) algorithm.
The default value of the parameter isdefaultin which case it implements the original approach: potential new
particles are created in an annulus between radius r and 2r around an already existing particle. IfradiusType ='normDist'is set instead, the radii of new particles are drawn from a normal distribution centered around
1.5r with a standard deviation of 0.2r.LimitationsInput density distributions with sharp steps in density or continuous density gradients along the x or y-axis of the
grid sometimes result in an incomplete sampling. Often these issues can be avoided by increasing the number of iterationskused to spawn new particles in an annulus around an existing particle from the default value ofk=30to, for
instance,k=100.ExamplesThe figures below illustrate the generated Poisson Disk Samplings for a number of exemplary input density distributions.LicenseThis package is released under the MIT license.
Package: poisson-etest
A numpy binding for the Poisson E-Test, described in this paper:http://www.ucs.louisiana.edu/~kxk4695/JSPI-04.pdfI basically just minimally edited the original fortran code so that numpy f2py
could pick it up. The original code can be found in an early commit to this repo
or via this link:http://www.ucs.louisiana.edu/~kxk4695/statcalc/pois2pval.for
Package: poissongeometry
PoissonGeometryA Python module for (local) Poisson-Nijenhuis calculus on Poisson manifolds, with the following functions:poisson_brackethamiltonian_vflichnerowicz_poisson_operatormodular_vfcurl_operatorflaschka_ratiu_bivectorsharp_morphismbivector_to_matrixjacobiatorone_forms_bracketgauge_transformationis_unimodular_homogeneous*linear_normal_form_R3isomorphic_lie_poisson_R3is_in_kernel*is_poisson_tensor*is_casimir*is_poisson_vf*is_poisson_pair*Remark.We  have  indicated  with  an  asterisk  (*)  the  six  methods  whose  implementations  require  testing  whether  a  symbolic  expression  is  zero.   These  are naturally limited by theoretical computational constraints.This repository accompanies our paper'On Computational Poisson Geometry I: Symbolic Foundations'.MotivationSome of the functions in this module have been used to obtain the results in these articles:L.  C.  Garcia-Naranjo,  P.  Suárez-Serrato & R.  Vera,Poisson Structures on Smooth 4-Manifolds,Lett. Math. Phys. 105, 1533-1550 (2015)P. Suárez-Serrato & J. Torres-Orozco,Poisson Structures on Wrinkled Fibrations,Bol. Soc.Mat. Mex. 22, 263-280 (2016)P. Suárez-Serrato, J. Torres Orozco, & R. Vera,Poisson and Near-Symplectic Structures on Generalized Wrinkled Fibrations in Dimension 6,Ann. Glob. Anal. Geom. (2019) 55, 777-804 (2019)M. Evangelista-Alvarado, P. Suárez-Serrato, J. Torres-Orozco & R. Vera,On Bott-Morse Foliations and their Poisson Structures in Dimension 3,Journal of Singularities 19, 19-33 (2019)🚀Run our tutorial on ColabEnglish/CastellanoRun on your local machineClone this repository on your local machine.Open a terminal with the path where you clone this repository.Create a virtual environment,(see thislink)Install the requirements:(venv_name) C:Users/dekstop/poisson$ pip install poissongeometryOpen python terminal to start:(venv_name) C:Users/dekstop/poisson$ pythonImport PoissonGeometry module:>>> from poisson.poisson import PoissonGeometryBugs & ContributionsOur issue tracker is athttps://github.com/appliedgeometry/poissongeometry/issues. Please report any bugs that you find. Or, even better, if you are interested in our project you can fork the repository on GitHub and create a pull request.Licence 📄MIT licenceAuthors ✒️This work is developed and maintained by:Miguel Evangelista Alvarado-@mevangelista-alvaradoJose C. Ruíz Pantaleón-@jcrpantaPablo Suárez Serrato-@psuarezserratoThanks for citing our work if you use it! 🤓@misc{evangelistaalvarado2019computational,title={On Computational Poisson Geometry I: Symbolic Foundations},author={M. A. Evangelista-Alvarado and J. C. Ruíz-Pantaleón and P. Suárez-Serrato},year={2019},eprint={1912.01746},archivePrefix={arXiv},primaryClass={math.DG}}AcknowledgmentsThis work was partially supported by the grants CONACyT, “Programa para un Avance Global e Integrado de la Matemática Mexicana” CONACyT-FORDECYT 26566 and "Aprendizaje Geométrico Profundo" UNAM-DGAPA-PAPIIT-IN104819. JCRP wishes to also thank CONACyT for a postdoctoral fellowship held during the production of this work.
Package: poissonregime
poissonregimePoisson error bars for low count statistics, detection significances.AboutLow count statistics is not that hard. It’s just not Gaussian.This package can answer the following questions:Given k detected objects, what are the uncertainties on the true number of objects? (poissonregime.uncertainties_rate)Given k “hits” out of a sample of n tries, what is the fraction and its uncertainty? (poissonregime.uncertainties_fraction)What is the significance of k detections, given that I expect B background events? (poissonregime.significance)
* what if I measure the background events from counts in a “off” region?
* what if I have additional systematic uncertainty?What is the probability distribution on the event rate, given a measured background rate? (poissonregime.posterior)You can help by testing poissonregime and reporting issues. Code contributions are welcome.
See theContributing page.UsageRead the full documentation at:https://johannesbuchner.github.io/poissonregime/LicenceMIT.Other projectsSee also:https://github.com/giacomov/gv_significancehttps://github.com/mahnen/gamma_limits_sensitivityRelease Notes0.1.0 (2021-06-11)First version
Package: poi-tracker
POI TrackerTool for keeping track of packages of interestRationaleThe set of packages a user might be interested in are not identical to the set
of packages they have access to, even within a distribution's main repository:sysadmins who are not package maintainers for the distribution they use, by
definition, don't have commit access to change the packages they usepackage maintainers would have dependencies maintained by other packagers,
that they want to keep track ofnot all packages are equal: e.g. a packager might maintain some packages for
work use, and some for personal use; some might need to be updated more
frequently or are more likely to be exposed to security issuesleaf packages vs non-leaf packages - for the latter a packager would be
interested in the dependent packages that have to be tested or rebuiltOnce multiple repositories are involved, the situation gets even more complex:source of truth for bugs and issues - e.g.RH's JIRA (RHEL and CentOS Stream)RH's Bugzilla (Fedora and EPEL)etc.Sysadmins and power users might also be interested in the same set of packages
across different distributions, likewise with upstream software developers who
are interested in tracking their software (and dependents and dependencies) as
packaged in these distributions
Package: poium
Page Objects design pattern test library; support selenium、appium、playwright, etcPage Objects 设计模式测试库；支持 selenium、appium、playwright 等。Features极简的Page层的元素定义对原生 API 无损支持 logger 日志支持库：selenium✔️appium✔️playwright✔️uiautomator2 ⌛facebook-wda ⌛Installationpip install:>pipinstallpoiumIf you want to keep up with the latest version, you can install with github repository url:>pipinstall-Ugit+https://github.com/SeldomQA/poium.git@masterDemo通过下面的例子，体会Page Objects设计模式如此简单。frompoiumimportPage,ElementfromseleniumimportwebdriverclassBaiduIndexPage(Page):search_input=Element(name='wd')search_button=Element(id_='su')driver=webdriver.Chrome()page=BaiduIndexPage(driver)page.open("https://www.baidu.com")page.search_input.send_keys("poium")page.search_button.click()driver.quit()更多例子，请点击这里。Documentation在开使用poium前，请快速阅读下面的文档。Page和Element类Element类元素操作CSSElement类other：seldom+poiumOld versionpoium < 0.6.0参考文档poium>=0.6.0, <1.0.0参考文档Project Historypage-objectspoium 参考page-objects，他项目已经不再维护，原项目代码虽然只有100多行，但设计非常精妙。本项目在此基础上进行开发。selenium-page-objectsselenium-page-objects是poium的前身，为了简化项目名称，改名为poium。po取自 Page Object 首字母,ium取自selenium/appium 共同后缀。
Package: pojediga
Pojedi ga"Pojedi ga" is a Serbian phrase that translates to "eat it" or "have it" in English. It consists of two words: "pojedi," which is the imperative form of the verb "pojesti" meaning "to eat," and "ga," which is a pronoun indicating the object as "it" in this context.This library is used to express your excitement if you have successfully accomplished somethingInstallationYou can install the pojediga library using pip:pip install pojedigaAvailable Methods:pojediganogamasala
Package: pojson
pojsonpojson is a tool that allows you to create JSON data files from PO
files. These files are designed to be used withObviel’si18n support.TheJavascript Gettextalready provides a Perl-based tool (po2json)
that is very similar, so this can be seen as a rewrite to Python. One
difference is that pojson does not output domain information in the
resulting datastructure - it is one level less deep. The domain
information must instead be supplied when the file is loaded.Basic use to generate a JSON file:$ pojson <path/to/po>Pretty-print output:$ pojson -p <path/to/po>Help:$ pojson --helpNormally you would send the output to a file, such as:$ pojson something.po > something.jsonNormally pojson will try to guess the encoding of the .po file, but
you can also explicitly supply an encoding:$ pojson -e utf-8 something.po > something.jsonJavascript Gettext:http://jsgettext.berlios.de/CHANGES0.7 (2016-06-30)Python 3 support.0.6 (2014-03-06)A new po2json_babel command that lets you create a babel compatible
catalog structure. Thanks to Swen Mun (@longfin) for this feature.A bugfix concerning encoding handling in po2json.0.5 (2014-02-27)Support for the context feature in Javascript gettext. Seehttp://jsgettext.berlios.de/doc/html/Gettext.html#pgettext__msgctxt__msgid__Thanks to Swen Mun (@longfin) for this feature.Added distutils command classpo2jsonto compile catalogs for
use insetup.py.  Thanks to Swen Mun (@longfin) for this feature.0.4 (2012-06-20)Totally break the command line interface to simplify options. We
only want to generate those JSON files that Obviel i18n likes. Works
with Obviel 1.0b2 and later.0.3 (2011-06-02)Actually got the output wrong so jsgettext couldn’t work with it. Fixed.Some sanity checking that the input file has the .po extension, as
evidently polib acceptsanyfile and still gives output…0.2 (2011-06-02)Error when referring to non-existent po file0.1 (2011-05-04)Initial release.
Package: poka
Poka database interfaceInterface buildet on mysql-connectorSet uppip install -r req.txtUsageCreate Poka instancefrom poka_constructor import Poka

cfg = database config
poka_instance_1 = Poka(cfg)  # Set database configSelect tablefrom poka_constructor import Poka

cfg = database config
poka_instance_1 = Poka(cfg)  # Set database config
poka_instance_1.table("users")  # Set tableSelect from tablefrom poka_constructor import Poka

cfg = database config
poka_instance_1 = Poka(cfg)  # Set database config
poka_instance_1.table("users")  # Set table
poka_instance_1.where("column", "=", value)  # Set where instruction
poka_instance_1.whereNotNull("column", "=", value)  # Set is not null check
poka_instance_1.whereIn("column", "args")  # Set where in instruction
poka_instance_1.get()  # Fetch records from tableInsert to dbfrom poka_constructor import Poka

cfg = database config
poka_instance_1 = Poka(cfg)  # Set database config
poka_instance_1.table("users")  # Set table
poka_instance_1.insert({"colum_name": "value", "column_name2": "value"})  # Set insert dataUpdate recordsfrom poka_constructor import Poka

cfg = database config
poka_instance_1 = Poka(cfg)  # Set database config
poka_instance_1.table("users")  # Set table
poka_instance_1.update({"colum_name": "value", "column_name2": "value"})  # Set update dataLimitfrom poka_constructor import Poka

cfg = database config
poka_instance_1 = Poka(cfg)  # Set database config
poka_instance_1.table("users")  # Set table
poka_instance_1.where("column", "=", value)  # Set where instruction
poka_instance_1.take(5)  # Set count of fetching records
poka_instance_1.get()  # Fetch records from tableOrder by ASC | DESCfrom poka_constructor import Poka

cfg = database config
poka_instance_1 = Poka(cfg)  # Set database config
poka_instance_1.table("users")  # Set table
poka_instance_1.where("column", "=", value)  # Set where instruction
poka_instance_1.take(5)  # Set count of fetching records
poka_instance_1.orderBy("column", "ASC")  # Set order by instruction
poka_instance_1.get()  # Fetch records from tableOne line requestsFor example: Select from tablefrom poka_constructor import Poka

cfg = database config
poka_instance_1 = Poka(cfg)
                .table("users")
                .where("column", "=", value)
                .whereNotNull("column", "=", value)
                .whereIn("column", "args")
                .get()Other functions work the same.
Package: pokeapi-ditto
DittoThis repository contains:ditto clone: a script to crawl an instance of PokeAPI and download all dataditto analyze: a script to generate a JSON schema of the above dataditto transform: a script to apply a new base url to the above data and schemaUsagepipinstallpokeapi-ditto
ditto--helpDevelopmentpoetryinstall
poetryrunditto--helpDockerYou should have a PokeApi server running onlocalhost:80.# runs clone, analyze, and transform all in one stepdocker-composeup--build
Package: pokebase
Pokebasepokebase is a simple but powerful Python interface to thePokÃ©API
databaseMaintainer:GregHilmesInstallationVersion Supportpokebase 1.3.0 supports Python 3.6. Install it withpip install pokebasepokebase 1.4.0 drops support for Python 3.6 and adds support for Python
>=3.8 <=3.12. Install it withpip install https://github.com/PokeAPI/pokebase/archive/1.4.0.zipUsage>>>importpokebaseaspb>>>chesto=pb.APIResource('berry','chesto')>>>chesto.name'chesto'>>>chesto.natural_gift_type.name'water'>>>charmander=pb.pokemon('charmander')# Quick lookup.>>>charmander.height6>>># Now with sprites! (again!)>>>s1=pb.SpriteResource('pokemon',17)<pokebase.interface.SpriteResourceobjectat0x7f2f15660860>>>>s1.url'<https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/17.png>'>>>s2=pb.SpriteResource('pokemon',1,other=True,official_artwork=True)>>>s2.path'/home/user/.cache/pokebase/sprite/pokemon/other-sprites/official-artwork/1.png'>>>s3=pb.SpriteResource('pokemon',3,female=True,back=True)>>>s3.img_datab'x89PNGrnx1anx00x00x00rIHDRx00x00x00 ... xca^x7fxbbd\*x00x00x00x00IENDxaeB`x82'... And it's just that simple.Nomenclatureanendpointis the results of an API call likehttp://pokeapi.co/api/v2/berryorhttp://pokeapi.co/api/v2/movearesourceis the actual data, from a call tohttp://pokeapi.co/api/v2/pokemon/1TestingPython unit tests are in a separatetestsdirectory and can be run viapython -m tests.Notes to the developer using this moduleThe quick data lookup for a PokÃ©mon type, ispokebase.type_('type-name'), notpokebase.type('type-name'). This is
because of a naming conflict with the built-intypefunction, were you
tofrom pokebase import *.When changing the cache, avoid importing the cache constants directly.
You should only import them with the whole cache module. If you do not
do this, callingset_cachewill not change your local copy of the
variable.NOT THIS!>>>frompokebase.cacheimportAPI_CACHEDo this :)>>>frompokebaseimportcache>>>cache.API_CACHE
Package: poke-battle-sim
poke-battle-simPokemon Battle Simulator (poke-battle-sim) is an open source Python package that provides efficient, customizable simulation of Pokemon battles. Thanks for checking it out.Overviewpoke-battle-simemulates the mechanics present in the original Generation IV Pokemon games (Diamond, Pearl, and Platinum) while also providing the ability to modify and expand upon traditional Pokemon battles.Currently the package supports all content from Gen I to IV including:493 Pokemon467 Moves122 Abilities535 ItemsInstallationpoke-battle-simcan be installed through pip using:pip install poke-battle-simThe package is also available onPyPiandGitHub.Getting StartedSetting up a battle is as simple as a few lines of code.importpoke_battle_simaspbpikachu=pb.Pokemon(...)ash=pb.Trainer('Ash',[pikachu])starmie=pb.Pokemon(...)misty=pb.Trainer('Misty',[starmie])battle=pb.Battle(ashe,misty)battle.start()battle.turn()print(battle.get_all_text())Check out thedocsand example project for more details.Featurespoke-battle-simincludes all functionality present in both (Single) Link Battles and (Single) Trainer Battles in the original Gen IV games.Although this package was developed with large-scale simulation in mind, it can be used with little modification as the backend for Pokemon or Pokemon-style games.Double Battles or other battle formats introduced in later generations are not currently supported.LimitationsCertain mechanics present in the original games were not possible or practical to implement due to hardware-specific and region-specific behavior.Mechanics not implemented inpoke-battle-siminclude:Using Nintendo DS audio volume data in damage calculationUsing terrain-based type and power modificationsAny glitches in the original games that were patched in subsequent generationsCreditThis package was created and is managed by Vincent Johnson.References used during development:BulbapediaPokemonDBSerebii.netPokemon Fan WikiSupporting packages:Blackwas used to reformat this repository.Setuptoolswas used to build this package.
Package: pokecov
pokecovTool to check the effectiveness and coverage of your pokemon attacksData parsed fromhttps://pokemondb.net/type/oldandhttps://pokemondb.net/typeInstallationYou can install the package via pip:pipinstallpokecovUsagepokecov fire water grass electricYour attacks are super effective to Fire, Water, Grass, Ice, Ground, Flying, Bug, Rock, Steel (9).
Your attacks have normal effectiveness to Normal, Electric, Fighting, Poison, Psychic, Ghost, Dark (7).
Your attacks are not very effective to Dragon (1).
Your attacks have no effect to none (0).Generation Supportpokecov --gen 1 normalYour attacks are super effective to none (0).
Your attacks have normal effectiveness to Normal, Fire, Water, Electric, Grass, Ice, Fighting, Poison, Ground, Flying, Psychic, Bug, Dragon (13).
Your attacks are not very effective to Rock (1).
Your attacks have no effect to Ghost (1).SearchSearch for type combination that has 100% coverage.pokecov-search --gen 3 --min-count 6 --max-count 7 --ignore dragon --must-have fire --cant-have psychicWater, Flying, Fighting, Dark, Electric, Ground, Fire
Water, Flying, Fighting, Electric, Ground, Ghost, Fire
Flying, Fighting, Ice, Dark, Electric, Ground, Fire
Flying, Fighting, Ice, Dark, Grass, Ground, Fire
Flying, Fighting, Ice, Electric, Ground, Ghost, Fire
Flying, Fighting, Ice, Grass, Ground, Ghost, Fire
Flying, Fighting, Dark, Electric, Grass, Ground, Fire
Flying, Fighting, Dark, Grass, Rock, Ground, Fire
Flying, Fighting, Electric, Grass, Ground, Ghost, Fire
Flying, Fighting, Grass, Rock, Ground, Ghost, FireLicenseThis project is licensed under the terms of the MIT license.ContactIf you want to contact me you can reach me atpradishbijukchhe@gmail.com.
Package: pokedatabase-SDK
pokedatabase_sdkAcquisition of data from Pokemon games through asynchronous requests toPokeAPI.Library with three options:Request for pokemon names: shows all the pokemon names and store them in a listRequest for pokemon games names: shows all the pokemon game names and store them in a listCheck requests lists: checks if there is data in the two different listsCan be used as follows:importpokeDatabaseSDKaspdbBeing able to access its functions in the following way:pdb.pokemonNames()pdb.gameNames()pdb.requestsList()Copyright 2021 Alonso Martin-ToledanoPermission 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.Change Log0.0.1 (04/11/2021)First Release
Package: pokedex.py
A wrapper library for thePokedex API.InstallationThis is aPythonmodule available through thePyPI.Before installing,download and install Python. We recommend
installing version 3.5+ of Python.Installation is done using thepip installcommand:pipinstallpokedex.pyFor more info, seepip installdocs.Get StartedRead theWikito see the available classes and methods (with
examples) and know how to use them.Pokedex APIOfficial Website and DocumentationGitHub Organizationfor other librariesDiscordfor discussionContributorsThe developer of thePokedex APIand this wrapper library is@iamtractionList of all contributorsDonateIf want to support the development of this project to keep this alive
forever, you can send donations to the developers.Your donations will ensure the development of this project and I’ll
make sure this project stays active forever. You can donate viaPayPal.LicenseMITIf you liked this project you can⭐ Starit onGitHub.