Saravanan666/pypi-org huggingface dataset:
Package: popperrow
Python library for Apache ArrowThis library provides a Python API for functionality provided by the Arrow C++
libraries, along with tools for Arrow integration and interoperability with
pandas, NumPy, and other software in the Python ecosystem.InstallingAcross platforms, you can install a recent version of pyarrow with the conda
package manager:condainstallpyarrow-cconda-forgeOn Linux, macOS, and Windows, you can also install binary wheels from PyPI with
pip:pipinstallpyarrowIf you encounter any issues importing the pip wheels on Windows, you may need
to install theVisual C++ Redistributable for Visual Studio 2015.DevelopmentSeePython Developmentin the documentation subproject.Building the documentationSeedocumentation build instructionsin the documentation subproject.
Package: poppt
👉项目官网：https://www.python-office.com/👈👉本开源项目的交流群👈📚简介poppt是python自动化办公的小工具的代码合集。📦安装🍊pip 自动下载&更新pip install -i https://mirrors.aliyun.com/pypi/simple/ poppt -U📝功能📘官网：https://www.python-office.com/序号项目介绍代码地址1合同和财务系统源码2人脸门禁系统源码3商场管理系统源码4报表自动化 + 邮件自动发送源码5爬取招聘网站源码🏗️添砖加瓦📐PR的建议python-office欢迎任何人来添砖加瓦，贡献代码，建议提交的pr（pull request）符合一些规范，规范如下：参与项目建设的步骤：例如：你需要给python-office添加一个add方法。你的Github账户名为：demo于是你在./contributors新建了文件夹./demo新建了add.py文件，编辑你的代码编辑完成，提交pr到master分支（gitee或者GitHub，都可以）。可以注明你对自己功能的取名建议晚枫收到后，会对各位的代码进行测试后，合并后打包上传到python官方库📐代码规范注释完备，尤其每个新增的方法应按照Google Python文档规范标明方法说明、参数说明、返回值说明等信息，必要时请添加单元测试，如果愿意，也可以加上你的大名。python-office的文档，需要进行格式化。注意：只能格式化你自己的代码请直接pull request到master分支。master是主分支，表示已经发布pypi库的版本。未来参与人数增多，会开辟新的分支，请留意本文档的更新。我们如果关闭了你的issue或pr，请不要诧异，这是我们保持问题处理整洁的一种方式，你依旧可以继续讨论，当有讨论结果时我们会重新打开。🧬贡献代码的步骤在Gitee或者Github上fork项目到自己的repo把fork过去的项目也就是你的项目clone到你的本地修改代码commit后push到自己的库登录Gitee或Github在你首页可以看到一个 pull request 按钮，点击它，填写一些说明信息，然后提交到master分支即可。等待维护者合并🐞提供bug反馈或建议提交问题反馈时，请务必填写和python-office代码本身有关的问题，不进行有关python学习，甚至是个人练习的知识答疑和讨论。Github issue📌联系作者
Package: poppunk
POPulation Partitioning Using Nucleotide KmersSee our website:https://www.poppunk.netDescriptionSee thedocumentationand thepaper.If you find PopPUNK useful, please cite us:Lees JA, Harris SR, Tonkin-Hill G, Gladstone RA, Lo SW, Weiser JN, Corander J, Bentley SD, Croucher NJ.
Fast and flexible bacterial genomic epidemiology with PopPUNK.Genome Research29:304-316 (2019).
doi:10.1101/gr.241455.118You can also run your command with--citationto get alist of citationsand a
suggested methods paragraph.News2021-03-15We have fixed a number of bugs with may affect the use ofpoppunk_assignwith--update-db. We have also fixed a number of bugs with GPU distances. These are
'advanced' features and are not likely to be encountered in most cases, but if you do wish to use either of these features please make sure that you are usingPopPUNK >=v2.4.0withpp-sketchlib >=v1.7.0.2020-09-30We have discovered a bug affecting the interaction of pp-sketchlib and PopPUNK.
If you have usedPopPUNK >=v2.0.0withpp-sketchlib <v1.5.1label order may
be incorrect (see issue#95).Please upgrade toPopPUNK >=v2.2andpp-sketchlib >=v1.5.1. If this is not
possible, you can either:Runscripts/poppunk_pickle_fix.pyon your.dists.pklfile and re-run
model fits.Create the database withpoppunk_sketchdirectly, rather thanPopPUNK --create-dbInstallationThis is for the command line version. For more details seeinstallationin the documentation.There are other interfaces, in-browser and through galaxy,detailed here.Through conda (recommended)The easiest way is through conda, which is most easily accessed by first
installingminiconda. PopPUNK can then
be installed by running:conda install poppunkIf the package cannot be found you will need to add the necessary channels:conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forgeQuick usageSee thequickstartguide
for a brief tutorial.
Package: poppy
POPPY (PhysicalOpticsPropagation inPython) is a Python package that simulates physical optical propagation including diffraction. It implements a flexible framework for modeling Fraunhofer and Fresnel diffraction and point spread function formation, particularly in the context of astronomical telescopes.POPPY was developed as part of a simulation package for the James Webb Space Telescope, but is more broadly applicable to many kinds of imaging simulations. It is not, however, a substitute for high fidelity optical design software such as Zemax or Code V, but rather is intended as a lightweight alternative for cases for which diffractive rather than geometric optics is the topic of interest, and which require portability between platforms or ease of scripting.For documentation, seehttp://poppy-optics.readthedocs.io/Code by Marshall Perrin, Joseph Long, Ewan Douglas, Neil Zimmerman, Anand Sivaramakrishnan, Shannon Osborne, Kyle Douglass, Maciek Grochowicz, Phillip Springer, & Ted Corcovilos, with additional contributions from Remi Soummer, Kyle Van Gorkom, Jonathan Fraine, Christine Slocum, Roman Yurchak, and others on the Astropy team.Projects using POPPYPOPPY provides the optical modeling framework used in:WebbPSF, a PSF simulator for NASA’s JWST and Roman space telescopes. Seehttps://pypi.python.org/pypi/webbpsfgpipsfs, a PSF simulator for the Gemini Planet Imager coronagraph. Seehttps://github.com/geminiplanetimager/gpipsfs
Package: poppy-core
poppy-coreThis directory contains the source code of the POPPY framework core.QuickstartTo install package usingpip:pip install poppy-core --extra-index-url https://__token__:<your_personal_token>@gitlab.obspm.fr/api/v4/projects/2052/packages/pypi/simple --trusted-host gitlab.obspm.frTo install package from source files:git clone https://gitlab.obspm.fr/POPPY/POPPyCore.git poppy-coreThen install usingpip:cd poppy-core
pip install .or usingpoetry:cd poppy-core
pip install poetry
poetry installUser guideSee "POPPY User Manual" for more details.LicensePOPPY is under CeCILL license.AcknowledgementPOPPY is project developed by the RPW Operations Centre (ROC) team based at LESIA (Meudon, France).
The ROC is funded by the Centre National d'Etudes Spatiale (CNES) in the framework of the European Space Agency (ESA) Solar Orbiter mission.Authorsxavier.bonnin@obspm.fr(project manager)Has also contributed in the past: Sonny Lion, Gregoire Duvauchelle, Manuel Duarte
Package: poppygen
PopPyGenA statistically accurate synthetic human population generator for python, based on demographic and regional datasets.InstallationpipinstallpoppygenUsage#Note: Be Patient, this may take a few minutes for the large datasets to process.frompoppygenimportPopulationGeneratorfrompoppygen.datasetsimportprocess_acs,process_safegraph_poi,process_pumspoi_df=process_safegraph_poi()acs_df=process_acs()pg=PopulationGenerator(poi_df,acs_df)local_population=pg.generate_population(population_size=100,census_block_group=[120330001001,120330036071])print(local_population[0].baseline)pg.generate_activity(population=local_population)print(local_population[0].activity["location"])
Package: poppy-pop
poppy.popIntroductionThis directory contains the source code of the POPPY Operation Plugin (POP), the main plugin to be used with the POPPY framework.See "POPPY User Manual" for more details.LicensePOPPY is under GPL license.AcknowledgementPOPPY is project developed by the RPW Operations Centre (ROC) team based at LESIA (Meudon, France).
The ROC is funded by the Centre National d'Etudes Spatiale (CNES) in the framework of the European Space Agency (ESA) Solar Orbiter mission.Contactxavier.bonnin@obspm.fr(project manager)sonny.lion@obspm.fr(software designer)quynh-nhu.nguyen@obspm.fr(software developer)contributorsGregoire Duvauchelle (software developer)
Manual Duarte (software designer)
Package: poprogress
👉项目官网：https://www.python-office.com/👈👉本开源项目的交流群👈📚简介wftools是python自动化办公的小工具的代码合集。📦安装🍊pip 自动下载&更新pip install -i https://pypi.tuna.tsinghua.edu.cn/simple wftools -U📝功能📘官网：https://www.python-office.com/序号项目介绍代码地址1合同和财务系统源码2人脸门禁系统源码3商场管理系统源码4报表自动化 + 邮件自动发送源码5爬取招聘网站源码🏗️添砖加瓦📐PR的建议python-office欢迎任何人来添砖加瓦，贡献代码，建议提交的pr（pull request）符合一些规范，规范如下：参与项目建设的步骤：例如：你需要给python-office添加一个add方法。你的Github账户名为：demo于是你在./contributors新建了文件夹./demo新建了add.py文件，编辑你的代码编辑完成，提交pr到master分支（gitee或者GitHub，都可以）。可以注明你对自己功能的取名建议晚枫收到后，会对各位的代码进行测试后，合并后打包上传到python官方库📐代码规范注释完备，尤其每个新增的方法应按照Google Python文档规范标明方法说明、参数说明、返回值说明等信息，必要时请添加单元测试，如果愿意，也可以加上你的大名。python-office的文档，需要进行格式化。注意：只能格式化你自己的代码请直接pull request到master分支。master是主分支，表示已经发布pypi库的版本。未来参与人数增多，会开辟新的分支，请留意本文档的更新。我们如果关闭了你的issue或pr，请不要诧异，这是我们保持问题处理整洁的一种方式，你依旧可以继续讨论，当有讨论结果时我们会重新打开。🧬贡献代码的步骤在Gitee或者Github上fork项目到自己的repo把fork过去的项目也就是你的项目clone到你的本地修改代码commit后push到自己的库登录Gitee或Github在你首页可以看到一个 pull request 按钮，点击它，填写一些说明信息，然后提交到master分支即可。等待维护者合并🐞提供bug反馈或建议提交问题反馈时，请务必填写和python-office代码本身有关的问题，不进行有关python学习，甚至是个人练习的知识答疑和讨论。Github issue📌联系作者
Package: pops
Pops: Bootstrapping Django's Admin=================================Introducing Django's `admin`_ to Twitter's `Bootstrap`_.This is built on top of the work of `django-admintools-bootstrap`_ and utilizes`django-admin-tools`_... warning:: This is development software and prone to constant change.  Tread carefully... _admin: https://docs.djangoproject.com/en/1.4/ref/contrib/admin/.. _Bootstrap: http://twitter.github.com/bootstrap/.. _django-admintools-bootstrap: https://bitbucket.org/salvator/django-admintools-bootstrap.. _django-admin-tools: http://django-admin-tools.readthedocs.org/en/latest/index.htmlInstallation & Configuration----------------------------You can install the development version of this package using `pip`_:::$ git clone git://github.com/tswicegood/pops.git$ cd pops && pip install .Next, you must add ``pops`` to the list of ``INSTALLED_APPS`` in your Djangosettings before `django-admin-tools`_.  Note, you have to have a properly`installed and configured`_ admin-tools package in order to use pops... _pip: http://www.pip-installer.org/.. _installed and configured: http://django-admin-tools.readthedocs.org/en/latest/quickstart.html#installing-django-admin-toolsLicense-------Copyright 2012-2013 Texas TribuneLicensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.Other Software--------------Pops is a fork of `django-admintools-bootstrap`_.  That code is available underan MIT license.  All code listed below is copyrighted by their original ownersand distributed under their accompanying licenses.  See the various directoriesin ``vendor/`` for full licensing information.* http://addyosmani.github.com/jquery-ui-bootstrap/* http://twitter.github.com/bootstrap/* https://bitbucket.org/izi/django-admin-tools/* http://www.crummy.com/software/BeautifulSoup/* https://github.com/jezdez/django-appconfWhat's in a name?-----------------"Pops" is one of Louis Armstrong's `nicknames`_.  This project is being donefor integration with the `Armstrong Project`_, which is named after Mr.Armstrong.  Pops is completely independent of the project, however, so wedecided to give it a different, albeit still related, name... _nicknames: http://en.wikipedia.org/wiki/Louis_Armstrong#Nicknames.. _Armstrong Project: http://armstrongcms.org/
Package: pop-serial
Pop-serial provides a standardized interface for serializing and de-serializing data.
This project serves as an app-merge component for larger projectsWhat is POP?This project is built withpop, a Python-based
implementation ofPlugin Oriented Programming (POP). POP seeks to bring
together concepts and wisdom from the history of computing in new ways to solve
modern computing problems.For more information:Intro to Plugin Oriented Programming (POP)pop-awesomepop-createGetting StartedPrerequisitesPython 3.8+git(if installing from source, or contributing to the project)InstallationNoteIf wanting to contribute to the project, and setup your local development
environment, see theCONTRIBUTING.rstdocument in the source repository
for this project.If wanting to usepop-serial, you can do so by either
installing from PyPI or from source.Install from PyPIInstall from pypipipinstallpop-serialInstall from source# clone repogitclonegit@gitlab.com/vmware/idem/pop-serial.gitcdpop-serial# Setup venvpython3-mvenv.venvsource.venv/bin/activatepipinstall-e.RoadmapReference theopen issuesfor a list of
proposed features (and known issues).AcknowledgementsImg Shieldsfor making repository badges easy.
Package: popsh
poppopis an offensive payload generator designed for portability,
minimalism and efficiency. It is usable as a command-line tool,
a Web application and a Discord app.Note that, depending on the payload generator, some dependencies might
have to be satisfied, first. For example, thert-gomodule requires
thegobinary to be available.Command-line toolpip install popsh
pop -HHerokuDeployment to Heroku, whether for the web UI or the Discord applcation
is quite simple. First, make sure you have an Heroku account and install
the command-line tool locally. Then, simply create an app with the
following command:heroku apps:createYou'll be provided the randomly-generated identifier for the app. The
app's publicly reachable URL will behttps://APPID.herokuapp.com/.Simple deployment (no dependencies)When you're ready to deploy the app, simply move to the project's
repository and run the following command.# first time only
git remote add heroku https://git.heroku.com/$APPNAME.git

# if deploying the Discord app (+ Web UI).
. ./env.rc
sh ./tools/heroku-set-config.sh $APPNAME

# deploy the app
git push heroku mainFull deploymentTo deploy the application with all modules available, first make sure
thatDockeris available and run the following commands.# Fetch the existing image
docker pull registry.gitlab.com/pgregoire/pop:latest

# Re-tag the image for Heroku
docker tag registry.gitlab.com/pgregoire/pop:latest registry.heroku.com/$APPNAME/web

# Login to the Heroku image registry
docker login --username=_ --password=$(heroku auth:token) registry.heroku.com

# Push the image to Heroku
docker push registry.heroku.com/$APPNAME/web

# Deploy the image/app
heroku container:release webDiscord applicationTo make the application available to Discord users, you'll have to
register the application with Discord and deploy the application where
it will be publicly reachable.Before proceeding, you need to have the publicly reachable URL of the
app in hand. TheInteractions endpoint URLfor the Discord bot will
be$URL/b/d.Register a bot following the instructions athttps://flask-discord-interactions.readthedocs.io/en/latest/botsetup.htmlIf you plan on using the project's scripts to deploy the app, set the
following environment variables (they could be stored inenv.rcfor
convenience).DISCORD_CLIENT_ID='123456789012345678'
DISCORD_PUBLIC_KEY='123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0'
DISCORD_CLIENT_SECRET='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
DISCORD_GUILD_ID='123456789012345678'

export DISCORD_CLIENT_ID
export DISCORD_PUBLIC_KEY
export DISCORD_CLIENT_SECRET
export DISCORD_GUILD_ID
Package: popsink-transformer
Transformer LibraryThis library provides a set of tools to transform Avro schemas into various formats such as JSON schema, SQL for Apache Flink, and PostgreSQL SQL. Additionally, it can transform data from these formats back into Avro schemas. Whether you're working with Avro schemas in your data pipeline or database schema, this library aims to simplify the conversion process for you.FeaturesConvert Avro schema to JSON schema.Generate SQL statements for Apache Flink based on Avro schema.Generate PostgreSQL SQL statements based on Avro schema.Convert a single avro type to SQL type.UsageHere's a quick guide on how to use the library:1. Convert an Avro Schema to JSON schemafrompopsink_transformer.transformerimportTransformertransformer=Transformer(from_source=avro_schema)json_schema=transformer.avro_to_json.convert()print(json_schema)2. Generate SQL for Apache Flink from an Avro schemafrompopsink_transformer.transformerimportTransformerfrompopsink_transformer.avro_to_sql.utils.type_converterimportSqlEnginetransformer=Transformer(from_source=avro_schema,sql_engine=SqlEngine.FLINK,)flink_sql=transformer.avro_to_sql.convert()print(flink_sql)3. Generate PostgreSQL SQL from an Avro schemafrompopsink_transformer.transformerimportTransformerfrompopsink_transformer.avro_to_sql.utils.type_converterimportSqlEnginetransformer=Transformer(from_source=avro_schema,sql_engine=SqlEngine.POSTGRES,)postgres_sql=transformer.avro_to_sql.convert()print(postgres_sql)4. Convert an Avro type to SQL typefrompopsink_transformer.avro_to_sql.utils.type_converterimport(SqlEngine,convert_avro_type_to_sql_type,)postgres_sql_type=convert_avro_type_to_sql_type(avro_field_type="float",sql_engine=SqlEngine.POSTGRES)print(postgres_sql_type)output:'REAL'
Package: popstore
# Copyright 2022 Jesse Kim <jesse@nextwith.com>
# “xPopcornStore Database Simple Driver for python”
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
# SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Package: popsynth
popsynthpopsynthcore function is to createobservedsurveys fromlatentpopulation models.First, let's define what a population of objects is in terms of a
generative model. The two main ingredients are the objects' spatial
distribution () and the distribution of
their inherent properties (). Here,are the latent population parameters,are the
spatial locations of the objects, andare the properties
of the individual objects (luminosity, spin, viewing angle, mass,
etc.). The spatial distribution is defined such that:is the intensity of objects for a given set of population
parameters. With these definitions we can define the probability for
an object to have positionand propertiesaspopsynthallows you to specify these spatial and property
distributions in an object-oriented way to create surveys. The final
ingredient to creating a sample for a survey is knowing how many
objects to sample from the population (before any selection effects
are applied). Often, we see this number in simulation frameworks
presented as "we draw N objects to guarantee we have enough." This is
incorrect. A survey takes place over a given period of time () in which observed objects are counted. This is a description of a
Poisson process. Thus, the number of objects in a simulation of this
survey is a draw from a Poisson distribution:Thus,popsynthfirst numerically integrates the spatial
distribution to determine the Poisson rate parameter for the given
$\vec{\psi}$, then makes a Poisson draw for the number of objects in
the population survey. For each object, positions and properties are
drawn with arbitrary dependencies between them. Finally, selection
functions are applied to either latent or observed (with or without
measurement error) properties.Note:If instead we draw a preset number of objects, as is done in
many astrophysical population simulation frameworks, it is equivalent
to running a survey up until that specific number of objects is
detected. This process is distributed as a negative binomial process,
i.e, wait for a number of successes and requires a different
statistical framework to compare models to data.InstallationpipinstallpopsynthNote:This is not synth pop!If you were looking for some hard driving beats out of a yamaha keyboard with bells... look elsewhereContributingContributions topopsynthare always welcome. They can come in the form of:Bug reportsPlease use theGithub issue tracking system for any
bugs, for questions,
and or feature requests.Code and more distributionsWhile it is easy to create custom distributions in your local setup,
if you would like to add them to popsynth directly, go ahead. Please
include tests to ensure that your contributions are compatible with
the code and can be maintained in the long term.DocumentationAdditions or examples, tutorials, or better explanations are always
welcome. To ensure that the documentation builds with the current
version of the software, I am usingjupytextto write the
documentation in Markdown. These are automatically converted to and
executed as jupyter notebooks when changes are pushed to Github.
Package: poptimizer
Poptimizer - Prompt Optimizer for ChatGPTPoptimizer is a Python package designed to enhance and optimize prompts for OpenAI's ChatGPT models. It helps in refining prompts to obtain more precise and relevant responses from the AI model. This package is especially useful for developers and researchers who frequently interact with GPT models and seek to improve the quality of AI-generated content.FeaturesPrompt Optimization: Refines and clarifies prompts to improve AI responses.Customizable Settings: Adjust the AI's response style with temperature settings.Execute Optimized Prompts: Option to directly execute optimized prompts and obtain AI responses.Easy Integration: Designed to be easily integrated into existing Python projects.Quick Start:To install Poptimizer, simply use pip:pip install poptimizerImport the package:from poptimizer import PoptimizerInitialize the Poptimizer with desired temperaturepoptimizer = Poptimizer(temperature=0.7)Optimize a promptoriginal_prompt = "Describe the process of photosynthesis."
optimized_prompt = poptimizer.optimize_prompt(original_prompt)

print("Optimized Prompt:", optimized_prompt)Optionally, execute the optimized promptoptimized_prompt, response = poptimizer.optimize_prompt(original_prompt, execute_optimized=True)
print("Response:", response)
Package: poptoma
poptomaA Python API for interacting with Optoma projectors through web interfaceSample Usagefrom poptoma import Projector

projector = Projector('192.168.1.420', 'admin', 'admin')
projector.power_status() # false


projector.turn_on()
projector.power_status() # true

projector.turn_off()
projector.power_status() # falseThe default password isadmin. PLEASE change this
Package: pop-tools
POP-tools: Tools to support analysis of POP2-CESM model solutions with xarrayCIDocsPackageLicenseInstallationpop-tools can be installed from PyPI with pip:python-mpipinstallpop-toolspop-tools is also available from conda-forge for conda installations:condainstall-cconda-forgepop-toolsSeedocumentationfor more information.