Saravanan666/pypi-org huggingface dataset:
Package: potoroo
potorooPython implementations of the Repository and UnitOfWork abstractions.project status badges:version badges:Installation 🗹To installpotoroousingpip, run the following
commands in your terminal:python3-mpipinstall--userpotoroo# install potorooIf you don't have pip installed, thisPython installation guidecan guide
you through the process.Useful Links 🔗API Reference: A developer's reference of the API exposed by this
project.cc-python: Thecookiecutterthat was used to generate this project.
Changes made to this cookiecutter are periodically synced with this project
usingcruft.CHANGELOG.md: We use this file to document all notable changes made to
this project.CONTRIBUTING.md: This document contains guidelines for developers
interested in contributing to this project.Create a New Issue: Create a new GitHub issue for this project.Documentation: This project's full documentation.
Package: potpie
Potpie is a GPL Licensed cli wrapper around the Psuedo Translations available
fromTransifexpseudo translations. The available types arebrackets,unicode,planguage,extend, andmixed.InstallationTo install requests, simply:$ pip install potpieOr, if you absolutely must:$ easy_install potpieBut, you really shouldn’t do that.UsageTo create a pseudo translated po file, simply:$ potpie [--type] infile outfileAn example for a Django project might be:$ potpie locale/en/LC_MESSAGES/django.po locale/xx_pseudo/LC_MESSAGES/django.poThe default type is mixed, if you wish to use another type simplify specify it
as an option like:$ potpie --type brackets locale/en/LC_MESSAGES/django.po locale/xx_pseudo/LC_MESSAGES/django.poTypesBracketsAdds square brackets around the string (e.g. [translated text])UnicodeConverts all characters into look alike unicode charactersPLanguageIncreases the length of a string by around 30-50% by replacing the vowels with
unicode chars that look alike.This is based on a P-language, which is a simple vowel-extending language.Extend:Increases the length of a string by around 20-700% by appending special
chars (Greek, Chinese, etc) to the end of the string.Mixed:Combines Extend, Unicode and Brackets into one Type.
Package: potplayer
.. image:: https://travis-ci.org/MacHu-GWU/potplayer-project.svg?branch=master.. image:: https://img.shields.io/pypi/v/potplayer.svg.. image:: https://img.shields.io/pypi/l/potplayer.svg.. image:: https://img.shields.io/pypi/pyversions/potplayer.svgWelcome to potplayer Documentation===============================================================================**Call a media player to play some video/music from Python is Pain!**`Pot Player <https://potplayer.daum.net/>`_ is a universal media player software for windows. And the pot player playlist (*.dpl) file is a pure text file to manipulate playlist.Now with ``potplayer``**Quick Links**-------------------------------------------------------------------------------- `GitHub Homepage <https://github.com/MacHu-GWU/potplayer-project>`_- `Usage <usage_>`_- `PyPI download <https://pypi.python.org/pypi/potplayer>`_- `Install <install_>`_- `Issue submit and feature request <https://github.com/MacHu-GWU/potplayer-project/issues>`_- `API reference and source code <http://pythonhosted.org/potplayer/py-modindex.html>`_.. _usage:**Usage**-------------------------------------------------------------------------------The main usage is to manipulate **video/audio/image** play list:.. code-block:: python>>> import potplayer>>> playlist = potplayer.PlayList() # create a PlayList>>> playlist.add(r"august_holiday.jpg") # add some `to play` files, can be video/audio/image>>> playlist.add(r"life_goes_on.jpg")>>> playlist.add(r"trees_cloud_fog_landscape.jpg")>>> playlist.dump("play") # dump play list to play.dpl, so you can open it with PotPlayerYou can also use ``run()`` and ``kill()`` method to open anything with PotPlayer, or, kill it... code-block:: python>>> potplayer.run("play.dpl") # open a play list, of course you can use this with a video>>> potplayer.kill() # kill all running PotPlayer process.. _install:Install-------------------------------------------------------------------------------``potplayer`` is released on PyPI, so all you need is:.. code-block:: console$ pip install potplayerTo upgrade to latest version:.. code-block:: console$ pip install --upgrade potplayer
Package: potpourri
potpourriTable of ContentsProject RequirementsFolder StructureInstallationUsageCommandsSupportContributingProject Requirementsapply different algorithms to a dataset as a batch scriptstoreevalutations(results, run times) in a databaseFolder Structurepotpourri-- different model implementations as python module. Each module contains three objects:model-- a sklearn Pipeline to fit and predicthyper-- dictionary with hyperparameters for sklearn'sRandomizedSearchCV,meta--  a pythondictwith further informationverto-- Feature Engineering. Each module contain two objectstrans-- a sklearn pipeline to transform datameta--  a pythondictwith further informationseasalt-- contains different utility, glue, etc. functions and classesnbs-- notebooks to try, check, profile, etc. each modeldatasets-- demo datasetsInstallationThepotpourrigit repois available asPyPi packagepip install potpourriUsageCheck thenbsfolder for notebooks.CommandsCheck syntax:flake8 --ignore=F401,E251Remove.pycfiles:find . -type f -name "*.pyc" | xargs rmRemove__pycache__folders:find . -type d -name "__pycache__" | xargs rm -rfRemove Jupyter checkpoints:find . -type d -name ".ipynb_checkpoints" | xargs rm -rfUpload to PyPi with twine:python setup.py sdist && twine upload -r pypi dist/*Othe helpful commandsFind package folders:python -c 'from setuptools import find_packages; print(find_packages())'SupportPleaseopen an issuefor support.ContributingPlease contribute usingGithub Flow. Create a branch, add commits, andopen a pull request.
Package: potpy
PotPy lets you build applications in a very flexible way. You design objects
based on your domain requirements, then compose them together using PotPy’s
flexible routing system. PotPy enables you to:Write simple, decoupled objectsthat work together in various ways.Easily test your objects, by not imposing a rigid object construction
paradigm.Write WSGI components using TDD, without having to deal with WSGI
conventions except at the edges of the system.See AlsoPotPy DocumentationGitHub project pagePotPy on PyPIInstallationPotPy can be installed using pip or easy_install, either into a virtualenv or
site-wide.$ pip install potpy
Package: potrace-cli
Installingpip install potrace-cliCommand Line UsageThis installs an entrypoint for the scriptpotracerwhich does similar and parallel things topotrace.usage: potracer [-h] [-v] [-l] [-o OUTPUT] [-b {svg,jagged-svg}]
               [-z {black,white,left,right,minority,majority,random}]
               [-t TURDSIZE] [-a ALPHAMAX] [-n] [-O OPTTOLERANCE] [-C COLOR]
               [-i] [-k BLACKLEVEL] [-s SCALE] [-1]
               [filename]

positional arguments:
  filename              an input file

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         prints version info and exit
  -l, --license         prints license info and exit
  -o OUTPUT, --output OUTPUT
                        write all output to this file
  -b {svg,jagged-svg}, --backend {svg,jagged-svg}
                        select backend by name
  -z {black,white,left,right,minority,majority,random}, --turnpolicy {black,white,left,right,minority,majority,random}
                        how to resolve ambiguities in path decomposition
  -t TURDSIZE, --turdsize TURDSIZE
                        suppress speckles of up to this size (default 2)
  -a ALPHAMAX, --alphamax ALPHAMAX
                        corner threshold parameter
  -n, --longcurve       turn off curve optimization
  -O OPTTOLERANCE, --opttolerance OPTTOLERANCE
                        curve optimization tolerance
  -C COLOR, --color COLOR
                        set foreground color (default Black)
  -i, --invert          invert bitmap
  -k BLACKLEVEL, --blacklevel BLACKLEVEL
                        invert bitmapRequirementsPIL/Pillow is required for image loading and modifications.Potracer for potracing.LicenseThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.Furthermore, this is permitted to be relicensed under any terms the Peter Selinger's original Potrace is licensed under. If he broadly publishes the software under a more permissive license this port should be considered licensed as such as well. Further, if you purchase a proprietary license for inclusion within commercial software under his Dual Licensing program your use of this software shall be under whatever terms he permits for that. Any contributions to this port must be made under equally permissive terms."Potrace" is a trademark of Peter Selinger.
Package: potracer
Python PotracePure Python Port of Potrace. This is a python port of Peter Selinger's Potrace (based on 1.16 code).This port is needed because many python hooks to the original code such aspypotracehave installation issues and compilation problems with some OSes. This potrace is written in pure python and will be compatible with basically anything.InstallingTo install or use as a requirement:pip install potracerPotrace-CLIIf you wish to use the Command Line Interface that is stored in a sister projectpotrace-cli(https://github.com/tatarize/potrace-cli). This can be installed with:pip install potracer[cli]or:pip install potrace-cliThe cli project contains valid console script entrypoints for potrace. If you install the command-line package it will addpotracerto your console scripts. Note the -r suffix so that it does not interfere with potrace that may be otherwise installed.Requirementsnumpy: for bitmap structures.SpeedBeing written in python this code may be about 500x slower than the pure-c potrace. It is however fast enough for general use.Parallel ProjectsThis project intentionally duplicates a considerable amount of the API ofpypotracesuch that this library can be used as a drop-in replacement.This library offers CLI potrace as an optional package, to permit performing potrace commands from the commandline.LicenseThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.Furthermore, this is permitted to be relicensed under any terms the Peter Selinger's original Potrace is licensed under. If he broadly publishes the software under a more permissive license this port should be considered licensed as such as well. Further, if you purchase a proprietary license for inclusion within commercial software under his Dual Licensing program your use of this software shall be under whatever terms he permits for that. Any contributions to this port must be made under equally permissive terms."Potrace" is a trademark of Peter Selinger. Permission granted by Peter Selinger.
Package: poTranslation
poTranslationDescriptionThis is a simple python library/CLI tool to translate.pofiles using various APIs.InstallationInstall and update usingpip:pipinstall-UpoTranslationUsageCreate a.envfile in your working directory or parent directory with the following content for the API you want to use:TRANSLATOR_SERVICE=YOUR_TRANSLATOR_SERVICEMS_API_KEY=YOUR_MS_API_KEYMS_API_REGION=YOUR_MS_API_REGIONOPENAI_API_KEY=YOUR_OPENAI_API_KEYCLI ExamplesTranslate a.pofilepotranslate./messages.po# translate untranslated text from 'en' to language specified in the .po file, save to ./messages.popotranslate./messages.po-sen-lzh# translate from 'en' to 'zh'potranslate./messages.po-o./translated.po# translated .po file, save to ./translated.popotranslate./messages.po-F# force translation of all entriespotranslate./messages.po-w# translate and NOT write to the fileTranslate a directory of.pofilesThis would work with the.pofiles compiled usingpybabel compile [options][Babel CLI]potranslate-dapp/translations# translate app/translations/<locale>/LC_MESSAGES/<domain>.popotranslate-dapp/translations-lzh# translate app/translations/zh/LC_MESSAGES/<domain>.popotranslate-dapp/translations-Dmessages# translate app/translations/<locale>/LC_MESSAGES/messages.poCLI UsageUsage: potranslate [OPTIONS] [PO_FILE_PATH]
Options:
  -s, --source_language TEXT  Translate from (language).  [default: en]
  -l, --locale TEXT           Translate to (language).  [default: (load from .po file)]
  -L, --lang TEXT             Programming langrage of formatted string.  [default: python]
  -o, --output PATH           Path to the output file.  [default: {po_file_path}]
  -e, --env PATH              Path to the env file.  [default: (load from cwd and parent dir)]
  -d, --directory PATH        Directory of the PO files.
  -D, --domain TEXT           Domain of the PO file.
  -F, --force                 Force translation of all entries.
  -v, --verbose               Enable verbose output.
  -q, --quiet                 Suppress output.
  -w, --write                 Write to the file.  [default: True]
  -h, --help                  Show this message and exit.FeaturesMultiple translation services supportMicrosoft Translate API[MS]OpenAI API[OpenAI]Google Translate API[Google]DeepL API[DeepL]Support forprintf-styleformatted strings[printf-style]Support forBabelcompiled.pofiles[Babel CLI][Bable]Challenge:Some services require an glossary to be created before translation for formatted strings with placeholders.LicenseDistributed under the BSD 3-Clause License. SeeLICENSEfor more information.LinksSource Code:https://github.com/StevenGuo42/poTranslationIssue Tracker:https://github.com/StevenGuo42/poTranslation/issuesPyPI:https://pypi.org/project/poTranslation/
Package: potreepublisher
PotreePublisherSmall CLI to quickly publish a single LAS file or a whole folder to a Potree server.PrerequisitesIt is assumed that you have aPotree serverinstalled on your machine.Expand for instructions if you don't :wink:Clone the potree repository:git clone https://github.com/potree/potreeMake sure you have the Node Package Manager (npm) installed (usually delivered with node.js).Inside potree's repository, runnpm install. It will install dependencies (specified in package.json) and create a build in ./build/potree.Move the potree folder to you favorite http server.Make sure you spot the location where you want to:store the point cloudsstore the viewer html filesYou're good to go!It is also assumed that you havePotreeConverterinstalled. Seethis pagefor instructions.Installationpip install potreepublisherUsageUsage: PotreePublisher [OPTIONS] INPUT_PATH

Arguments:
  INPUT_PATH  Path to the point cloud or a folder of point clouds to process.
              Any type supported by PotreeConverter is possible.  [required]

Options:
  --potree-server-root TEXT  Root path of the potree server.  [default:
                             /var/www/potree]
  --point-cloud-folder TEXT  Folder where the point cloud will be stored after
                             conversion to Potree Format.  [default:
                             pointclouds]
  --viewer-folder TEXT       Folder where the viewer html page will be stored.
                             [default: results]
  --help                     Show this message and exit.
Package: potsdb
potsdb======Python client to OpenTSDBThis was designed with a long running parent program in mind, where sending metrics was something that happens on the side.Implemented such that sending the metric "put" message to the Time Series Database API does not block the calling application. This is achieved by creating a background worker thread which takes metrics off the Queue, then sending them on a TCP socket to HOST. The client.log method simply sets up and puts the metric on the Queue, then returns.When the client object is instantiated, a temporary socket is created to the target HOST, PORT combination to check for connectivity. This may fail with a timeout error. However if the background thread encounters socket communication problems like timeout further down the line (in the sending metrics loop) then it will silently keep trying to reconnect forever.Keep in mind that if you send a bunch of metrics through .log then immediately quit, the background thread will also terminate, without having had enough time to send your metrics properly.Rate limiting for sending metrics over TCP is by default set to 100 Metrics Per Second. This can be overwritten upon instantiation.Installation===Clone this repo, then```cd potsdbpython setup.py install```or```pip install potsdb```Usage===```import potsdb# minimum is hostname. port is defaulted to 4242:metrics = potsdb.Client('hostname.local')# all options:metrics = potsdb.Client('hostname.local', port=4242, qsize=1000, host_tag=True, mps=100, check_host=True)# qsize: Max Size of Queue. Note: if Queue reaches qsize, old metrics will be dropped. 0 = unlimited. Default is 100k# host_tag: True for automatic, string value for override, None for nothing# mps: Metrics Per Second rate limiting. Default is 0 (unlimited)# check_host: change to false to skip startup connectivity checking# Bare minimum is metric name, metric valuemetrics.send('test.metric2', 100)# tags can also be specifiedmetrics.send('test.metric5', 100, extratag1='tagvalue', extratag2='tagvalue')# host tag is set automatically, but can be overwrittenmetrics.send('test.metric6', 34, host='app1.local')# waits for all outstanding metrics to be sent and background thread closesmetrics.wait()```Contributers===Potsdb was created by OrionVM as an internal project which was subsequently open sourced. Current contributors:1. Alex Sharp (alex.sharp@orionvm.com) who originally developed the project2. Chris McClymont (chris.mcclymont@orionvm.com), current developer and maintainer3. Sam Marks (http://linkedin.com/in/samuelmarks)4. You! Pull requests and comments welcome.
Package: potsim2
PotSim2: Simple package to segment and compare protein potential gridsUsinggridDataFormatsto read the grids andMDAnalysisto make pdb atom selectionsInstallationpipinstallpotsim2Usage: Open two grids and calculatePIPSAlike scoresThe protein electrostatic potential grids can generated withAPBSfrompotsim2importPotGrid# read gridsgrid1=PotGrid('A__02_01.pdb','A__02_01.pkl')grid2=PotGrid('A__11_01.pdb','A__11_01.pkl')# calculate skin for grid1skin_mask1=grid1.get_skin_mask()grid1.apply_mask(skin_mask1)# calculate skin for grid2skin_mask2=grid2.get_skin_mask()grid2.apply_mask(skin_mask2)# calc the Hodgkin similarity index and PIPSA like distancehsi,dis=grid1.score(grid2)# export the skins in uncompressed OpenDX format to be visualized in PyMol/ChimeraXgrid1.export('A__02_01.dx')grid2.export('A__11_01.dx')
Package: pott
pott, a paper organization tool on terminal, helps you find papers from the Internet and your PC.Are you researchers? Or, engineers who are interested in scientific papers? When working on terminal, such as when writing a paper or program, do you ever want to read a related paper? If the paper is not in your PC, you have to leave the terminal, launch a web browser, and find it from the Internet. Even if the paper is, you have to find it from the PC. This is waste of time.Try pott!History0.1.0 (2018-03-07)First release on PyPI.
Package: potter-spells
Harry Potter Spells (potter_spells)The package lists all the Harry Potter spells.Specifically, the scripts scrape the data from the website harrypotter.wikia.com and and provides all the spells.The various python scripts provides various filters to list out the spells and enchantments (magic enchantments which are not specifically spells).Installing the packagepip install potter_spellsUsing the package>>> import potter_spells as potter
>>> potter.all_data()
>>> potter.find('Avada Kedavra')List out all Spells or Enchantments>>> potter.all_spell_names()
>>> potter.all_enchantment_names()Filter by Type of Magic>>> potter.all_by_type('Charm')
>>> potter.spells_by_type('Hex')
>>> potter.enchants_by_type('Charm')
Package: pottok
Pottok - Python Optimal Transport for Terrestrial Observation KnowledgePottok is a python library based on POT Python Optimal Transport. It provides a grid search for POT with two different method : crossed and circular.Classes descriptionThe two avalable classes are :pottok.OptimalTransportGridsearch : Create a gris dearch compatible with POT. The user can use the circular grid search based on the circular validation and crossed grid search based on crossed validation. This one can use scikit learn or museotoolbox GridSearchCV.pottok.RasterOptimalTransport : this class is specifically for raster use.How it works ?Since a picture is worth more than a thousand words, we will use a concrete example to illustrate these two grid searchAdd tetris drawPottok installation
Package: pottscompleteshrinkage
Potts Complete ShrinkagePotts Clustering with Complete ShrinkageInstallationInstall using pippip install pottscompleteshrinkageRequirementsPython 3.6 or greaternumpypandasUsageImport the Potts Complete Shrinkage moduleimport pottsshrinkage.completeshrinkage as PCSChoose the number of colorsq = 20Compute Initial Potts Clusters as a first Random Partition (with Potts Model)InitialPottsClusters = PCS.InitialPottsConfiguration(Train_PottsData_demo, q, Kernel='Mercer')Choose your temperature (T) levelT = 1000Set the bandwidth of the modelsigma = 1Set the Number of Random_Partitions you want to simulateNumber_of_Random_Partitions = 3Set your initial (random) Potts partition as computed aboveInitial_Partition = InitialPottsClustersSet the Minimum Size desired for each partition generatedMinClusterSize = 5Run your Potts Complete Shrinkage Model to simulate the Randomly Shrunk Potts Partitions. Partitions_Sets is a dictionary that can be saved
with pickle package.Partitions_Sets,Spin_Configuration_Sets = PCS.Potts_Random_Partition (Train_PottsData_demo, T, sigma, Number_of_Random_Partitions, MinClusterSize, Initial_Partition,  Kernel='Mercer')Pypi Project Pagehttps://pypi.org/project/pottscompleteshrinkage/1.0.0/Execution Code Pipeline in Jupyter Notebookhttps://github.com/kgalahassa/pottscompleteshrinkage-notebook