Saravanan666/pypi-org huggingface dataset:
Package: pug-nlp
=======pug-nlp=======|Build Status| |Coverage Status| |Version Status| |Downloads|PUG Natural Language Processing (NLP) Utilities-----------------------------------------------This sub-package of the pug namespace package, provides natural languageprocessing (NLP) and text processing utilities built by and for the PDXPython User Group (PUG).Description===========Installation------------On a Posix System~~~~~~~~~~~~~~~~~You really want to contribute, right?::git clone https://github.com/hobson/pug-nlp.gitIf you're a user and not a developer, and have an up-to-date posix OSwith the postgres, xml2, and xlst development packages installed, thenjust use ``pip``.::pip install pug-nlpFedora~~~~~~If you're on Fedora >= 16 but haven't done a lot of python bindingdevelopment, then you'll need some libraries before pip will succeed.::sudo yum install -y python-devel libxml2-devel libxslt-devel gcc-gfortran python-scikit-learn postgresql postgresql-server postgresql-libs postgresql-develpip install pugBleeding Edge~~~~~~~~~~~~~Even the releases are very unstable, but if you want to have the latest,most broken code::pip install git+git://github.com/hobsonlane/pug.git@masterWarning~~~~~~~This software is in alpha testing. Install at your own risk.--------------Development-----------I love merging PRs and adding contributors to the ``__authors__`` list:::git clone https://github.com/hobson/pug-nlp.git.. |Build Status| image:: https://travis-ci.org/hobson/pug-nlp.svg?branch=master:target: https://travis-ci.org/hobson/pug-nlp.. |Coverage Status| image:: https://coveralls.io/repos/hobson/pug-nlp/badge.png:target: https://coveralls.io/r/hobson/pug-nlp.. |Version Status| image:: https://pypip.in/v/pug-nlp/badge.png:target: https://pypi.python.org/pypi/pug-nlp/.. |Downloads| image:: https://pypip.in/d/pug-nlp/badge.png:target: https://pypi.python.org/pypi/pug-nlp/
Package: pugsql
PugSQLis a simple Python interface for using parameterized SQL, in files, withany  SQLAlchemy-supported database.For more information and full documentation, visitpugsql.org.import pugsql

# Create a module of database functions from a set of sql files on disk.
queries = pugsql.module('resources/sql')

# Point the module at your database.
queries.connect('sqlite:///foo.db')

# Invoke parameterized queries, receive dicts!
user = queries.find_user(user_id=42)

# -> { 'user_id': 42, 'username': 'mcfunley' }In the example above, the query would be specified like this:--- :name find_user :one
select * from users where user_id = :user_idSothrow awayyour bulky ORM and talk to your database the way the gods intended! Install PugSQL today!
Package: puhdistusalue
puhdistusaluePuhdistusalue (Finnish for clean area here meaning purge range).License: MITPurge monotonically named files in folders keeping range endpoints.Note: Within a folder, only the ordering and the min-max membership to its content identity range determines to keep a file.DocumentationUser and developerdocumentation of puhdistusalue.Bug TrackerFeature requests and bug reports are bested entered in thetodos of puhdistusalue.Primary Source repositoryThe primary source repository ofpuhdistusalue is at sourcehuta collection of tools useful for software development.StatusExperimentalNote: The default branch isdefault.
Package: puid
puidpuidprovides a function to get thePRONOMUnique Identifier for a file. It's
just a small wrapper around the much more complicated and feature richfido.>>> from puid import get_puid
>>> get_puid('file.jpg')
'fmt/42'puid was created largely for instructional purposes to help students identify
files in their own Python programs. You will want to usefidodirectly if you
need to identify files in containers like zip files, or do anything other than
to get a single PUID for a file.When you install puid you also get a new command line utility:$ puid file.jpg
fmt/42
Package: pu_in_content
pu.intranet.content===============PythonUnited Intranet Content moduleThis module provides some views and JavaScript to support inline editing ofcontent. The main functionality is for adding, removing and editing objectswithout completely refreshing the page. This is done using JSON calls andmodal windows. This heavily relies on Bootstrap modal stuff.1.0.2=====* Better support for different content types1.0.0a------* Initial release
Package: pu_in_core
Python United Intranet CoreThe PU core package offers JSON based views for Django to do inline
actions in your front-end, or in other words: actions that result only
in a small part of the page to be renewed to reflect the result of the
action. Think: ‘make favorite’, ‘tweet’, etc. To enable this behavior,
you can create a link in your html with the class “action-inline”.Action results can be sent to a specific target, either an element id,
or a jQuery expression. Callbacks are supported, appending to lists,
etc. Check the JS file for details.1.0.4Style fixes1.0.3More consistent handling of status1.0.2Initial stable releaseBetter callback handlingmore documentation1.0.1aAdded String.startsWith and String.endsWith to JS String class, for
those browsers that don’t implement that.1.0.0aInitial release
Package: puissant
validated user input over command line the easy waypuissantis a collection of Python functions to implement validated user input
from command lineDependenciesPython version required:3.7+If documentation is to be generatedsphinxandsphinx_rtd_themepackages are required:pip install sphinx sphinx_rtd_themeInstallationSimply typepip install puissantDocumentationDocumentation can be found @readthedocsExamplesyes/no question>>>frompuissantimport*>>>yes_no(prompt="Are you happy")Areyouhappy[y/n]?maybeinputmustbeoneofy,n,yes,no.Areyouhappy[y/n]?yesTrueyes/no question with default value>>>yes_no(prompt="Are you happy",default='y')Areyouhappy[y/n]?(default:y)TrueSingle option menu:>>>menu(prompt='what next?',options=['restart','continue','quit'])whatnext?1-restart2-continue3-quitselectanitem[range:1..3]:4inputmustbeinrange1..3.selectanitem[range:1..3]:quitinputmustbeoftypeint.selectanitem[range:1..3]:1'restart'Tickbox (multiple selection) menu:>>>tickbox_menu('add extras',['mayo','ketchup','garlic','tabasco'])addextras1[]-mayo2[]-ketchup3[]-garlic4[]-tabasco-typeanumbertoticktheoption.-"a"selectsall.-"n"de-selectsall.-"d"selectiondone.Option?:1addextras1[x]-mayo2[]-ketchup3[]-garlic4[]-tabasco-typeanumbertoticktheoption.-"a"selectsall.-"n"de-selectsall.-"d"selectiondone.Option?:3addextras1[x]-mayo2[]-ketchup3[x]-garlic4[]-tabasco-typeanumbertoticktheoption.-"a"selectsall.-"n"de-selectsall.-"d"selectiondone.Option?:d[(0,'mayo'),(2,'garlic')]
Package: pula
Pula is a python library that is meant to encompass the many various functions that the ordinary user
finds themselves needing in the different projects they are working on. These functions can span from
simple is_number functions all the way to file functions such as getting all lines of text from a directory
of code / text files.By putting all of these functions into one library, we hope to clean up other users code and make solving
their problems easier as well as more efficient.
Package: pulathisi
Py Brain.FeaturesProcess StreamsProcess 1   S1(t) ---> Pp1.1(t) ---> Pp1.2(t) ---> Pp1.3(t) ---> Pp1.4(t)  

Process 2   S2(t) ---------------> Pp2.1(t) ----> Pp2.1(t)
                           \
                            \
                             \
                             _\|
Process 3                      T1 (t) -----> Tp1.1 (t) ----> Tp1.1 (t)Gather Any data from stream by index (t)frompulathisiimportBraindefstream_process_1(context:Brain.Context):(<index>,<data>)=context.get_current_value('source_name')# Get latest stored valueSupport for async processSupport for multiprocessingIn build Message queueIn build Brain Features1. sum sources@reactor.sum(name="sum_report",sources=['daily_summary','weekly_summary'])asyncdeftake_order_action(context:Reactor.Context,index,data):print(context.brain.reactor_time,index,data)output300000 300000 {'daily_summary': (300000, 'd300000'), 'weekly_summary': (299898, 'w299898')}400000 400000 {'daily_summary': (400000, 'd400000'), 'weekly_summary': (399946, 'w399946')}500000 500000 {'daily_summary': (500000, 'd500000'), 'weekly_summary': (499765, 'w499765')}600000 600000 {'daily_summary': (600000, 'd600000'), 'weekly_summary': (599795, 'w599795')}700000 700000 {'daily_summary': (700000, 'd700000'), 'weekly_summary': (699966, 'w699966')}support for python development process
Package: pulemet
Execute coroutines with limitations. Take a look at following examples.Uniform and steady executionLet’s imagine we have some service. We want to get something like 10k results from that server.
While we don’t want to cost trouble target server we can use Pulemet withrpsparameter.
It will run justrpsrequests per second. And we won’t damage server.
Also, we may need to usepool_sizeparameter if server doesn’t answer fast enough.
That parameter will prevent creating new connections above the limit if current still working.importasynciofrompulemetimportPulemetasyncdefhttp_request(t:float=0):"""Let's say we go somewhere by http here."""awaitasyncio.sleep(t)return1asyncdefsum_results(coros):s=0foreleminasyncio.as_completed(coros):s+=awaitelemreturnspulemet=Pulemet(rps=1,pool_size=20)coroutines=pulemet.process([http_request()for_inrange(10)])result=asyncio.get_event_loop().run_until_complete(sum_results(coroutines))Functions and retriesYou can run some async function with list of arguments and catch certain exceptions and even try call it again(few times).
All of these in following example.importasynciofrompulemetimportPulemetasyncdeffunc(ind):awaitasyncio.sleep(0.001)ifind%2==0:raiseValueErrorreturninddefmain():pulemet=Pulemet(rps=10)coros_pulemet=pulemet.process_funcs(coro_func=func,coros_kwargs=({'ind':i}foriinrange(0,20)),exceptions=(ValueError,),exceptions_max=5,)coroutines=asyncio.gather(*coros_pulemet,return_exceptions=True)asyncio.get_event_loop().run_until_complete(coroutines)if__name__=='__main__':main()Progress Bar IntegrationThat example explain how you can see execution progress this tqdm.importasynciofromtqdm.autoimporttqdmfrompulemetimportPulemetasyncdeftarget(t:float=0):awaitasyncio.sleep(t)return1asyncdefsum_results(coros):s=0foreleminasyncio.as_completed(coros):s+=awaitelemreturnspulemet=Pulemet(rps=1,pbar=tqdm)coroutines=pulemet.process([target()for_inrange(10)])result=asyncio.get_event_loop().run_until_complete(sum_results(coroutines))You will see something like that.Total:0it[00:00,?it/s]Persecond:0it[00:00,?it/s]Total:0%||0/10[00:00<?,?it/s]Total:20%|██|2/10[00:01<00:04,1.99it/s]Total:30%|███|3/10[00:02<00:04,1.40it/s]Total:40%|████|4/10[00:03<00:04,1.22it/s]Total:50%|█████|5/10[00:04<00:04,1.13it/s]Total:60%|██████|6/10[00:05<00:03,1.08it/s]Total:70%|███████|7/10[00:06<00:02,1.05it/s]Total:80%|████████|8/10[00:07<00:01,1.04it/s]Total:90%|█████████|9/10[00:08<00:00,1.02it/s]Total:100%|██████████|10/10[00:09<00:00,1.02it/s]
Package: pulire
PulireA lightweight DataFrame validation library forPandas.SchemaPulire requires aSchemawhich describes all columns in a givenDataFrame.fromnumpyimportdatetime64importpulireaspumyschema=pu.Schema([pu.Index("time",datetime64)],[pu.Column("temp",float,[pu.validators.minimum(-80),pu.validators.maximum(65)]),pu.Column("wdir",float,[pu.validators.minimum(0),pu.validators.maximum(360)]),pu.Column("wspd",float,[pu.validators.minimum(0),pu.validators.maximum(250)]),pu.Column("wpgt",float,[pu.validators.minimum(0),pu.validators.maximum(500),pu.validators.greater('wspd')]),pu.Column("pres",float,[pu.validators.minimum(850),pu.validators.maximum(1090)]),pu.Column("rhum",int,[pu.validators.minimum(0),pu.validators.maximum(100)])])ValidatePulire automatically removes values which fail the validation. Let's use themeteostatlibrary to get some data:fromdatetimeimportdatetimefrommeteostatimportHourlydf=Hourly("10637",datetime(2018,1,1),datetime(2018,1,1,23,59)).fetch()print(df)Now, we can get a valid copy of our MeteostatDataFrameby running our schema'svalidatemethod:df=myschema.validate(df)
Package: pullbot
# pullbotpullbot is a simple bot for automating some tedious bits of GitHub pull requests.pullbot automatically assigns reviewers based on a rota system.Use pullbot like this:`bashpullbot-authmy_github_token_file `To generate a personal access token with user and repo access.Then do this:`bash pullbot my_github_token_file--reposusername/reponame username/another_reponame--usersoctocat greenape `To set pullbot watching your repos. The next time a pull request is issued, pullbot will assign it to octocat. Then, the one after that will be assigned to @greenape (and so on).If the pull request was initiated by the next user in the rota, they’ll get skipped, and will be first in line for the next one.
Package: pullboy
PullBoyPullboy is a VERY simple server that listens for incoming connections and deploys projects according to a predefined script.StepsFirst we install pullboy.pip install pullboyor the preferred onepipenv install pullboy. Second we write the deploy config file. An example would be:pullboy:workdir:'~/pullboy'script:-git pull origin master-maketoken:'thisisnosecret'active:true# This is optional. Default is assumed to be trueFor Gitlab you can add push events in thewebhooksand pullboy will take care of auto deploy for you. Here we don't really need a project name so we can have a config like so:a_token_for_gitlab_to_identify_the_script:workdir:'~/pullboy'script:-git pull origin master-makeactive:truebranch:mastergitlab:trueSeeconfig.ymlfor a full example.We can now add a gitlab webhook which has the secret token asa_token_for_gitlab_to_identify_the_script. That's all there is to it. Now whenever someone pushes to the repo and it's the master branch. the script will be executed.Now we run pullboy with the following commandpullboy config.yaml.That's it.NotesTo make pullboy deploy something all you need to do is hithttps://wherever.pullboy.is.running.com:8764/deploywith the itemsprojectandtokenin the POST body. For this activityHTTPS is recommended.Tokens are meant to be kept a secret otherwise anyone with access to this URL can deploy the code (we don't want it to be that simple do we?).  An example cURL command to deploy the project shown in the config above would be:curl-XPOST-Fproject=pullboy-Ftoken=thisisnosecrethttps://wherever.pullboy.is.running.com:8764/deploy
curl-XPOST-Fproject=pullboy-Ftoken=thisisnosecrethttps://wherever.pullboy.is.running.com:8764/pullboy/deploy
curl-XPOST-Fproject=pullboy-Ftoken=thisisnosecrethttps://wherever.pullboy.is.running.com:8764/pullboy/deploy/user
curl-XPOST-Fproject=pullboy-Ftoken=thisisnosecrethttps://wherever.pullboy.is.running.com:8764/pullboy/deploy/ci
curl-XPOST-Fproject=pullboy-Ftoken=thisisnosecrethttps://wherever.pullboy.is.running.com:8764/pullboy/deploy/bossmanThe url does not matter, whatever URL you access, pullboy will be ready to work. This makes it easy to use with a reverse proxy like Nginx where you can forward a url like/pullboy/deployments/ciand/pullboy/deployments/manualto Pullboy. The Nginx logs can act aslogsfor deployments.Let's Encryptis the recommended way to obtain HTTPS but in case you are using your laptop for something,ngrokis a neat way to get HTTPS.
Package: pullbug
Pullbug 🐛Get bugged via Discord or Slack to merge your GitHub pull requests or close open issues.Pullbug can notify you on Discord or Slack of all open pull requests from GitHub. This tool ensures requests never go unnoticed as it can be setup on a schedule to constantly bug you to merge your work. This is perfect for finding old or stale requests and helps you to stay current on new ones. Pass in a few environment variables, setup aSlackbotorDiscordwebhook and you're all set to be bugged by Pullbug.NOTE:Pullbug works best if you have link unfurling turned off for GitHub on Discord and Slack.Install# Install toolpip3installpullbug# Install locallyjustinstallUsagePullbug works best when run on a schedule. Run one-off reports or setup Pullbug to notify you at whatever interval you'd like to be bugged via Discord or Slack about pull requests.Pullbug is highly customizable allowing you to choose which messaging service and what kinds of pull requests or issues you'd like.Usage:
  pullbug --github_token 123... --github_owner justintime50 --github_context users

Options:
  -h, --help            show this help message and exit
  -p, --pulls           Bug GitHub for Pull Requests.
  -i, --issues          Bug GitHub for Issues.
  -gt GITHUB_TOKEN, --github_token GITHUB_TOKEN
                        The token to authenticate with GitHub.
  -go GITHUB_OWNER, --github_owner GITHUB_OWNER
                        The GitHub owner to retrieve pull requests or issues for (can be a user or organization).
  -gs {all,open,closed}, --github_state {all,open,closed}
                        The GitHub state to retrieve pull requests or issues for.
  -gc {orgs,users}, --github_context {orgs,users}
                        The GitHub context to retrieve pull requests or issues for.
  -d, --discord         Send Pullbug messages to Discord.
  -du DISCORD_URL, --discord_url DISCORD_URL
                        The Discord webhook URL to send messages to.
  -s, --slack           Send Pullbug messages to Slack.
  -st SLACK_TOKEN, --slack_token SLACK_TOKEN
                        The Slackbot token to authenticate with Slack.
  -sc SLACK_CHANNEL, --slack_channel SLACK_CHANNEL
                        The Slack channel to send messages to.
  -r REPOS, --repos REPOS
                        A comma-separated list of repos to run Pullbug against.
  -dr, --drafts         Include draft pull requests.
  -l LOCATION, --location LOCATION
                        The location of the Pullbug logs and files.
  --base_url BASE_URL   The base URL of your GitHub instance (useful for enterprise users with custom hostnames).
  --log_level {warning,debug,info,notset,error,critical}
                        The log level used for the tool.
  --disable_descriptions
                        Disables descriptions in messages.
  --quiet               Does not output when there is nothing to bug about.
  --version             show program's version number and exitDevelopment# Get a comprehensive list of development toolsjust--list# Run the tool locallyvenv/bin/pythonpullbug/cli.py--helpTrusted ByThe following companies usePullbug:EasyPost
Package: pulledpork3-sublimerobot
PulledPork3Pulled Pork for Snort3 rule management (Everything is better smoked)Find us on Libera.Chat (IRC)#pulledporkCopyright (C) 2021 Noah Dietrich and the PulledPork Team!WarningThis is a placeholder package for PulledPork3, and sholuld not be used at this time.
Once PulledPork reaches Beta status, we will update this package so you can install PulledPokrk3 through PIP.
Package: pullframe
pullframepull based pandas dataframe syncingTo reduce network consumption, it syncs dataframe from the other nodes only on demand.
When your task is divide and conquer style, you should considerdaskinstead.FeaturesOnce the cache has been synced, it will not call remotes. So cache's locality is 1.Ideal situations is that you need to read some dataframe multiple times on serveral nodes and the data frame should be updated frequently.Only unique str name is required configuration when you add a new dataframe on the system.No configuration, no operation is needed when a new node is added and a node is crashed and restored.No configuration, no operation makes it be easy to scale up in the cloud.CommunicationsCoordination via zookeeperSynchronize files via http POSTStart Service$ uvicorn pullframe.sender:appExampleLoad / Savefrom pullframe import pullframe

with pullframe(hosts, directory, sync_timeo 60.0) as pf:
    # set start as None if you want to load from the very beginning
    # set end as None if you want to load from the very ending
    df = pf.load(name, start: Optional[datetime], end: Optional[datetime])

    pf.save(name, df)TODOCheck cache discrepency/corruption between nodes.Stable backup using Amazon S3 / Google cloud storage.Replace zookeeper client to zake (fake kazoo client) during tests.Requirementszookeeperthe dataframe's index should be datetimelinuxpython>=3.7python = "^3.7"pandas = "^1.0.0"tables = "^3.6.1"fastapi = "^0.58.0"aiofiles = "^0.5.0"kazoo = "^2.7.0"Free software: MIT LicenseCreditsThis package was created withCookiecutterAlso was copied and modified from theaudreyr/cookiecutter-pypackageproject template.
Package: pulling
PullingPulling is an open source python repository for working with files of different extensions. Documentation in English can be found here -https://github.com/ItYaS/pulling/wiki.
The repository now supports .txt .rtf .pdf .docx .csv .avro .json formats.InstallTo start using the repository, first install python from this -https://www.python.org/downloads/.
After that, install the pulling package through the console.> pip install pullingYou can see examples of the use of pulling in test/pulling_test.pyVersion 1.4The code readability was also fixed and all unnecessary loops were removed.Fixed bugs and architectureRemoved unnecessary codeImproved readability and usabilityCorrected errors in the documentationFutureSuch a repository can be extended for life. That’s what I will do. But the next version (where there will be parsing from other formats) will not be released soon, because in 2020 and 2021, I am preparing for exams and admission to the Institute. So, keep this repository and be patient.In the future, I want to parse .orc .rcf .parquet .feather (and one day .doc .odt), add conversion to other extensions for all formats, add new functions, and new formats.CommunicationIf you have any questions about pulling or have problems, please, write adequately! Thank you very much for your understanding.You can support me in my profiles:gmail -ryaboshapkoseraph@gmail.comgithub -https://github.com/ItYaS