Saravanan666/pypi-org huggingface dataset:
Package: poeditorexporter
POEditor exporterThis python command line script exports translations files fromPOEditor.InstallationTo install the project with its dependencies run the following command.pipinstallpoeditorexporterUsagepython-mpoeditorexporterapi_tokenidlanguagesdestfilenametypeArgumentsPositional argumentsapi_tokenYour POEditor api token.idThe id of your project.languagesList of languages, separated by a comma.destDestination directory of the downloaded files. It must end with a /filenameName of the file after download. The name will be suffixed by the language.typeThe file format. The accepted values are 'po', 'pot', 'mo', 'xls', 'xlsx', 'csv', 'ini', 'resw', 'resx',
'android_strings', 'apple_strings', 'xliff', 'properties', 'key_value_json', 'json', 'yml', 'xlf', 'xmb',
'xtb', 'arb', 'rise_360_xliff'.Those arguments are mandatory.Optional arguments-for--filtersList of filters to apply on result, separated by a comma. Accepted values are 'translated',
'untranslated', 'fuzzy', 'not_fuzzy', 'automatic', 'not_automatic', 'proofread', 'not_proofread'.-oor--orderHow the terms should be ordered. Default is set toterms.-tor--tagsFilter result by tags. List of tags separated by a comma.Print helppython -m poeditorexporter --helpExamplepython-mpoeditorexporter1a22cf9d548ebbdf1cb2b3bd10115a8c12345en,fr,de/home/user/downloads/translationpropertiesThis will download english, french and german translations file of project id 12345 in the folder/home/user/downloads/with namestranslation_en.properties,translation_fr.properties,translation_de.properties.
Package: poeditor-sync
POEditor syncA commandline tool for synchronizing your project's translation withPOEditor.The script usesClicklibrary to wrapPOEditor API clientinto a commandline tool that can be used manually or inside shell scripts.Installationpipinstallpoeditor-syncUsageConfigurationCreate a config filepoeditor.ymlto link your project with a POEditor project and define paths to translation files. Multiple projects are supported.api_token: ABC123...
projects:
  - id: 12345
    format: po
    # generic path to translation file
    terms_path: locale/{language_code}/LC_MESSAGES/django.po
    # alternatively, specify per-language path
    terms:
      en: locale/en/LC_MESSAGES/django.po
      pl: locale/pl/LC_MESSAGES/django.po
  - id: 54321
    format: po
    terms_path: locale/{language_code}/LC_MESSAGES/djangojs.po
    terms:
      en: locale/en/LC_MESSAGES/djangojs.po
      pl: locale/pl/LC_MESSAGES/djangojs.poIf you're planning to commit the config file into your repository or share it with someone, it is recommend that the API token in your config file be a read-only token.
You can use a separate token for uploads and pass it using--tokenoption orPOEDITOR_TOKENenvironment variable.Commands:# View usage instructionspoeditor--help# generate config filepoeditorinit{project-id}# List projects and their translation languagespoeditorproject-details# download translationspoeditorpull# Upload local translations to poeditorpoediturpush# Upload only one language and user a different API token:poeditur--languagepl--token=123ABCDpush# Upload only terms (after adding new strings to the project)poeditorpush-terms--sync-terms--overwriteOptionsOptionenvironment variabledefault valuedescription--tokenPOEDITOR_TOKENapi_token from config fileAuthentication token for POEditor. Overrides value from config file.--config-filePOEDITOR_CONFIG_FILEpoeditor.ymlPath to the project config file in yaml format--languagePOEDITOR_LANGUAGEOperate only on this language
Package: poeem
PoeemPoeem is a library for efficient approximate nearest neighbor (ANN) search, which has been widely adopted in industrial recommendation, advertising and search systems.
Apart from other libraries, such as Faiss and ScaNN, which build embedding indexes with already learned embeddings, Poeem jointly learn the embedding index together with retrieval model in order to avoid the quantization distortion.
Consequentially, Poeem is proved to outperform the previous methods significantly, as shown in our SIGIR paper.
Poeem is written based on Tensorflow GPU version 1.15, and some of the core functionalities are written in C++, as custom TensorFlow ops.
It is developed by JD.com Search.For more details, check out our SIGIR 2021 paperhere.ContentSystem RequirementsQuick StartAuthorsHow to CiteLicenseSystem RequirementsWe only support Linux systems for now, e.g., CentOS and Ubuntu. Windows users might need to build the library from source.Python 3.6 installation.TensorFlow GPU version 1.15 (pip install tensorflow-gpu==1.15.0). Other TensorFlow versions are not tested.CUDA toolkit 10.1, required by TensorFlow GPU 1.15.Quick StartPoeem aims at an almost drop-in utility for training and serving large scale embedding retrieval models. We try to make it easy to use as much as we can.InstallInstall poeem for most Linux system can be done easily with pip.$pipinstallpoeemQuick usageAs an extreme simple example, you can use Poeem simply by the following commands>>>importtensorflowastf,poeem>>>hparams=poeem.embedding.PoeemHparam()>>>poeem_indexing_layer=poeem.embedding.PoeemEmbed(64,hparams)>>>emb=tf.random.normal([100,64])# original embedding before indexing layer>>>emb_quantized,coarse_code,code,regularizer=poeem_indexing_layer.forward(emb)>>>emb=emb-tf.stop_gradient(emb-emb_quantized)# use this embedding for downstream computation>>>withtf.Session()assess:>>>sess.run(tf.global_variables_initializer())>>>sess.run(emb)TutorialThe above simple example, as a quick start, does not show how to build embedding index and how to serve it online.
Experienced or advanced users who are interested in applying it in real-world or industrial system, can further read the tutorials.Synthetic Data TutorialMovieLen TutorialAuthorsThe main authors of Poeem are:Han Zhangwrote most Python models and conducted most of experiments.Hongwei Shenwrote most of the C++ TensorFlow ops and managed the pip released package.Yunjiang Jiangdeveloped the rotation algorithm and wrote the related code.Wen-Yun Yanginitiated the Poeem project, wrote some of TensorFlow ops, integrated different parts and wrote the tutorials.How to CiteReference to cite if you use Poeem in a research paper or in a real-world system@inproceeding{poeem_sigir21,
    title={Joint Learning of Deep Retrieval Model and Product Quantization based Embedding Index},
    author={Han Zhang, Hongwei Shen, Yiming Qiu, Yunjiang Jiang, Songlin Wang, Sulong Xu, Yun Xiao, Bo Long and Wen-Yun Yang},
    booktitle={The 44th International ACM SIGIR Conference on Research and Development in Information Retrieval},
    pages={},
    year={2021}
}LicenseMIT licensed
Package: poeem-1.2.1
PoeemPoeem is a library for efficient approximate nearest neighbor (ANN) search, which has been widely adopted in industrial recommendation, advertising and search systems.
Apart from other libraries, such as Faiss and ScaNN, which build embedding indexes with already learned embeddings, Poeem jointly learn the embedding index together with retrieval model in order to avoid the quantization distortion.
Consequentially, Poeem is proved to outperform the previous methods significantly, as shown in our SIGIR paper.
Poeem is written based on Tensorflow GPU version 1.15, and some of the core functionalities are written in C++, as custom TensorFlow ops.
It is developed by JD.com Search.For more details, check out our SIGIR 2021 paperhere.ContentSystem RequirementsQuick StartAuthorsHow to CiteLicenseSystem RequirementsWe only support Linux systems for now, e.g., CentOS and Ubuntu. Windows users might need to build the library from source.Python 3.6 installation.TensorFlow GPU version 1.15 (pip install tensorflow-gpu==1.15.0). Other TensorFlow versions are not tested.CUDA toolkit 10.1, required by TensorFlow GPU 1.15.Quick StartPoeem aims at an almost drop-in utility for training and serving large scale embedding retrieval models. We try to make it easy to use as much as we can.InstallInstall poeem for most Linux system can be done easily with pip.$pipinstallpoeemQuick usageAs an extreme simple example, you can use Poeem simply by the following commands>>>importtensorflowastf,poeem>>>hparams=poeem.embedding.PoeemHparam()>>>poeem_indexing_layer=poeem.embedding.PoeemEmbed(64,hparams)>>>emb=tf.random.normal([100,64])# original embedding before indexing layer>>>emb_quantized,coarse_code,code,regularizer=poeem_indexing_layer.forward(emb)>>>emb=emb-tf.stop_gradient(emb-emb_quantized)# use this embedding for downstream computation>>>withtf.Session()assess:>>>sess.run(tf.global_variables_initializer())>>>sess.run(emb)TutorialThe above simple example, as a quick start, does not show how to build embedding index and how to serve it online.
Experienced or advanced users who are interested in applying it in real-world or industrial system, can further read the tutorials.Synthetic Data TutorialMovieLen TutorialAuthorsThe main authors of Poeem are:Han Zhangwrote most Python models and conducted most of experiments.Hongwei Shenwrote most of the C++ TensorFlow ops and managed the pip released package.Yunjiang Jiangdeveloped the rotation algorithm and wrote the related code.Wen-Yun Yanginitiated the Poeem project, wrote some of TensorFlow ops, integrated different parts and wrote the tutorials.How to CiteReference to cite if you use Poeem in a research paper or in a real-world system@inproceeding{poeem_sigir21,
    title={Joint Learning of Deep Retrieval Model and Product Quantization based Embedding Index},
    author={Han Zhang, Hongwei Shen, Yiming Qiu, Yunjiang Jiang, Songlin Wang, Sulong Xu, Yun Xiao, Bo Long and Wen-Yun Yang},
    booktitle={The 44th International ACM SIGIR Conference on Research and Development in Information Retrieval},
    pages={},
    year={2021}
}LicenseMIT licensed
Package: poemail
👉项目官网：https://www.python-office.com/👈👉本开源项目的交流群👈📚简介poemail是用Python自动发邮件的工具箱📦安装🍊pip 自动下载&更新pip install -i https://mirrors.aliyun.com/pypi/simple/ poemail -U📝功能📘官网：https://www.python-office.com/第1讲：软件下载和安装第2讲：免费开通权限第3讲：自动发正文第4讲：自动发正文+附件第5讲：自动批量发送🏗️添砖加瓦poemail欢迎任何人来添砖加瓦，贡献代码，建议提交的pr（pull request）符合一些规范，规范如下：🧬贡献代码的步骤在Gitee或者Github上fork项目到自己的repo把fork过去的项目也就是你的项目clone到你的本地修改代码commit后push到自己的库登录Gitee或Github在你首页可以看到一个 pull request 按钮，点击它，填写一些说明信息，然后提交到master分支即可。等待维护者合并🐞提供bug反馈或建议提交问题反馈时，请务必填写和python-office代码本身有关的问题，不进行有关python学习，甚至是个人练习的知识答疑和讨论。Github issue📌联系作者
Package: poem-parser
poem_parserParse words into stressed and unstressed syllables.InstallationTo install:$pipinstallpoem_parserExample usageTo parse a line:$python-mpoem_parser"Just give me the likes, dont pass or scroll"just|GIVE|me.the|LIKES|dont|PASS|or|SCROLLTo parse a file:$python-mpoem_parser-fpoem.txt
RO|ses.are|RED
VIOLETS|||are|BLUELicenseMIT
Package: poem-plugins
Poem PluginsA set of plugins forPoetry.How to useMake sure you have Poetry version1.4.0or above. Read below for instructions to install it if you haven't.Install Poem PluginsInstall this plugin to your Poetry:poetry self add poem-pluginsVersion PluginThe poetry plugin for project versioning allows users to specify
the version of their project via the provider other than the defaultpyproject.tomlfile.
This can be useful for users who prefer to set the project version based on a git tag, for example.Plugin can be configured via a section in thepyproject.tomlfile.
To use the plugin, you will need to add a section to yourpyproject.tomlfile that specifies the provider.Here's an example of how you might configure the plugin in yourpyproject.tomlfile:[tool.poem-plugins.version]
provider = "git"Likewise, you can specify a number of optional arguments to control the plugin
behavior. Here are some of the arguments that you can use:NamedescriptionDefaultupdate_pyprojectplugin will not only use version from provider for building, but save it inpyproject.tomlfalsewrite_version_fileplugin will create a fileversion.pyinside a module, with version informationfalseversion_file_quotesplugin will replace default quotes inversion.pyfile with provided by:'or"unsetYou can specify provider-specific settings in your configuration.
To specify provider-specific settings, you can use thetool.poem-plugins.version.{provider}section.
Here are some of the arguments that you can use forgitprovider:NamedescriptionDefaultversion_prefixfilter tags only starts with this prefixvformatplugin will use commit hash (long) or not (short) to build a project versionshortExample:[tool.poem-plugins.version.git]
version_prefix = "v"
format = "short"To build your project, run thepoetry buildcommand.
The plugin will build the version via provider and use it to set the version for the project.$ git tag -a v0.1 -m 'tag description'
$ poetry build
poem-plugins: Setting version to: 0.1.0
Building awesome_package (0.1.0)
  - Building sdist
  - Built awesome_package-0.1.0.tar.gz
  - Building wheel
  - Built awesome_package-0.1.0-py3-none-any.whlHow to developBefore getting started with development, you'll need to have poetry installed.Once you have poetry installed, you can create a virtual environment for the project by running:poetry installThis will also install all the dependencies required for the project.Pre-commit hooksThis project uses pre-commit to automatically run
simple formattergraybefore committing changes.
To set up the pre-commit hooks, run the following
command in the project root:poetry run pre-commit installType checkingThis project usesmypyfor type checking.
You can run the type checker
with the following command:poetry run mypy poem_pluginsLintingThis project usespylamafor linting.
You can run the linter
with the following command:poetry run pylama poem_pluginsTestsWe usepytestfor running tests.
You can run the tests
with the following command:poetry run pytestPlease make sure that all tests pass and linter and type checker does not
report any issues before submitting a pull request.
Package: poepy
PoePy: A Python library for handling annotated rhymes.Usage example, retrieve a set of poems and calculate initial statistics:>>>frompoepyimport*>>>poe=Poems(poepy_path('data','Wang1980.tsv'))>>>poe.stats()Poems:295Stanzas:1180Lines:7285Rhymewords:5271Rhymes:1746Words:29503Compare two collections of poems for rhyme annotations:>>>frompoepyimport*>>>poe1=Poems(poepy_path('data','Wang1980.tsv'))>>>poe2=Poems(poepy_path('data','Baxter1992.tsv'))>>>diffs=poe1.compare(poe2,'*')0.83644859813084128951070**************************bcubes-Scores**---------------------**Precision:0.9855**Recall:0.9666**F-Scores:0.9715**************************'107011421180
Package: poe-shell
Welcome to Shell POEThis app provides a shell and CLI assistance using PoeClient API.Usage:API key can be found from poe website's cookies.poe_shell --helpfor help on optionsOptions:--shell, -sGenerates and executes shell commands.--chat, -cChats with the bot.--botsReturns a list of available bots.If no options are provided, it will respond to one-off messages.It handles the following types of requests:Shell requests (using ShellHandler)Chat requests (using ChatHandler)One-off messages (using OneOffHandler)Listing available botsThe PoeClient API client is initialized and passed to the relevant handler based on the requests.This project use poetry to manage dependencies.https://python-poetry.org/docs/
Package: poetaster
Poetry tricks and tools for found – and generated – poetry.Free software: BSD licenseInstallationpip install poetasterDocumentationhttps://python-poetaster.readthedocs.io/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.1.1 (2016-09-21)First release with functional haiku extraction.0.1.0dev1 (2016-07-27)First release on PyPI.
Package: poethepoet
Poe the PoetA batteries included task runner that works well withpoetry.📖 Read the documentation 📖Features✅ Straight forwarddeclaration of project tasks in your pyproject.toml✅ Tasks are run in poetry's virtualenv (or another envyou specify)✅Shell completion of task names(and global options too for zsh)✅ The poe CLI can be used standalone, or as aplugin for poetry✅ Tasks can becommands,shell scripts,python expressions, or references topython functions✅ Concise commands with extra arguments passed to the taskpoe [options] task [task_args]✅ Easilydefine CLI argumentsfor your tasks✅ Tasks can specify andreference environment variables, even without a shell✅ Tasks areself documenting, with optional help messages (just runpoewith no arguments)✅ Tasks can be composed intosequencesorDAGs✅ Works with.envfiles✅ Can beused as a libraryto embed in other toolsQuick startInstall the Poe the Poet viapipxoranother method.pipxinstallpoethepoetDefine some tasks in yourpyproject.toml[tool.poe.tasks]test="pytest --cov=my_app"# a simple command taskserve.script="my_app.service:run(debug=True)"# python script based tasktunnel.shell="ssh -N -L 0.0.0.0:8080:$PROD:8080 $PROD &"# (posix) shell based taskRun your tasks via the CLI$poetest-vtests/unit# extra CLI arguments are appended to the underlying commandPoe=>pytest--cov=my_app
...If you're using poetry, then poe will automatically use CLI tools and libraries from your poetry managed virtualenv without you having to runpoetry runorpoetry shellPoe can also beused without poetry.ContributingThere's plenty to do, come say hi in thediscussionsoropen an issue! 👋Also check out theCONTRIBUTING guide🤓LicenseMIT
Package: poet-plugin
Poet PluginA Poetry plugin to enable exclusivity between groups.Poet stands forPoetryExclusivityToggle (or some other excuse, I did not want a verbose package name andpoetseemed short and sweet since this plugin changes the internal poetry package during runtime).InstallationSimply add this plugin as a dependency withpip install poet-plugin.UsageWhen runningpoetry install, the various options (--only,--without) are parsed to ensure the dependency resolver
only considers what needs to be considered.This allows a non-mutually exclusive group definition, so that e.g. thedevgroup can refer to
some local path, whereas aprodgroup refers to git URI.ExamplesConsidering the followingpyproject.toml, depicting a mono-repository:[tool.poetry.dependencies]
python = ">=3.8,<3.12"
poetry = "^1.2.0"

[tool.poetry.group.prod.dependencies]
foo = {git = "https://github.com/bar/foo", subdirectory = "src/libs/foo"}

[tool.poetry.group.dev.dependencies]
foo = {path = "../../libs/foo", develop = true}Install the prod version:poetry install --without dev, ORpoetry install --only prodInstall the dev version:poetry install --without prod, ORpoetry install --only dev
Package: poetries
Poe[Trie]sDescriptionPoetries provides a thread-safe implementation of a Trie. While not limited, but the most common use case of a Trie is in implementing  auto-completion. The collection type exposes APIs to perform the following operationsadd,findandget_all_words_with_prefix.DependenciesPython 3Installationpip install --upgrade poetriesUsagefrom poetries.trie import Trie


trie = Trie()
trie.add('foobar')              # Adds 'foobar' to the trie
trie.find('foo')                # Returns False since the word is not present.
trie.add('bar')                 # Adds 'bar' to the trie
trie.find('bar')                # Returns True
trie.add('foob')                # Adds 'foob' to the trie
trie.add('foof')                # Adds 'foof' to the trie
arr = list(trie.prefix('foo'))  # Returns the list of words beginning with foo in a list form, ['foobar', 'foo', 'foob', 'foof']LicenseMITChangelog
Package: poetrip
PoetripGenerate Pipfile from pyproject.toml.Source Code:https://github.com/Joffreybvn/poetripPypi:https://pypi.org/project/poetrip/Poetrip is a small library and CLI to quickly create Pipfile from existing pyproject.toml.InstallationPoetrip requires Python 3.6 or greater.Usingpip:pipinstallpoetripUsingpoetry:poetryadd--devpoetripCLI QuickstartGet a Pipfile from a pyproject.toml:$poetrip--frompyproject.toml--toPipfileOr simply:$poetripTakes the pyproject.toml in the current folder and generate a Pipfile.API QuickstartGet a Pipfile from a pyproject.toml:frompoetripimportPyProject# Load and transformpyproject=PyProject.from_file("./pyproject.toml")pipfile=pyproject.to_pipfile()# Write to diskpipfile.to_file("./Pipfile")
Package: poetry
Poetry: Python packaging and dependency management made easyPoetry helps you declare, manage and install dependencies of Python projects,
ensuring you have the right stack everywhere.Poetry replacessetup.py,requirements.txt,setup.cfg,MANIFEST.inandPipfilewith a simplepyproject.tomlbased project format.[tool.poetry]name="my-package"version="0.1.0"description="The description of the package"license="MIT"authors=["Sébastien Eustace <sebastien@eustace.io>"]repository="https://github.com/python-poetry/poetry"homepage="https://python-poetry.org"# README file(s) are used as the package descriptionreadme=["README.md","LICENSE"]# Keywords (translated to tags on the package index)keywords=["packaging","poetry"][tool.poetry.dependencies]# Compatible Python versionspython=">=3.8"# Standard dependency with semver constraintsaiohttp="^3.8.1"# Dependency with extrasrequests={version="^2.28",extras=["security"]}# Version-specific dependencies with prereleases allowedtomli={version="^2.0.1",python="<3.11",allow-prereleases=true}# Git dependenciescleo={git="https://github.com/python-poetry/cleo.git",branch="main"}# Optional dependencies (installed by extras)pendulum={version="^2.1.2",optional=true}# Dependency groups are supported for organizing your dependencies[tool.poetry.group.dev.dependencies]pytest="^7.1.2"pytest-cov="^3.0"# ...and can be installed only when explicitly requested[tool.poetry.group.docs]optional=true[tool.poetry.group.docs.dependencies]Sphinx="^5.1.1"# Python-style entrypoints and scripts are easily expressed[tool.poetry.scripts]my-script="my_package:main"InstallationPoetry supports multiple installation methods, including a simple script found atinstall.python-poetry.org. For full
installation instructions, including advanced usage of the script, alternate install methods, and CI best practices, see
the fullinstallation documentation.DocumentationDocumentationfor the current version of Poetry (as well as the development branch and recently out of support
versions) is available from theofficial website.ContributePoetry is a large, complex project always in need of contributors. For those new to the project, a list ofsuggested issuesto work on in Poetry and poetry-core is available. The fullcontributing documentationalso
provides helpful guidance.ResourcesReleasesOfficial WebsiteDocumentationIssue TrackerDiscordRelated Projectspoetry-core: PEP 517 build-system for Poetry projects, and
dependency-free core functionality of the Poetry frontendpoetry-plugin-export: Export Poetry projects/lock files to
foreign formats like requirements.txtpoetry-plugin-bundle: Install Poetry projects/lock files to
external formats like virtual environmentsinstall.python-poetry.org: The official Poetry
installation scriptwebsite: The official Poetry website and blog
Package: poetry2rye
poetry2ryeA simple tool to migrate your Poetry project to rye.Installrye install poetry2ryeUsageMigratepoetry2rye [PATH]Migrate path projects to rye. The default of PATH is.This command does the following:if the project is flat-layout, make it src-layoutremove poetry.lockchange pyproject.tomlremove[tool.poetry]and[tool.poetry.*]make[project]from[tool.poetry]and[tool.poetry.*]change[build-system]add[tool.rye]add[tool.hatch.metadata]Get Backuppoetry2rye [PATH] --get-backup [NUMBER]Retrieve the backup automatically created during migration and replace the project with the backup.if NUMBER is not specified, the last backup created will be used.The backup folder is.__p2r_backup_{project_name}_{number}format and placed in the same directory as the project directory (which is a child of the project parent directory).OtherThis tool is for personal use and should be used at your own risk. Backups will be made, but we cannot be held responsible for project corruption!The license is the MIT License.If you have any bugs, mistakes, feature suggestions, etc., issues and pull requests are welcome.