Saravanan666/pypi-org huggingface dataset:
Package: ps.plone.mlstiles
ps.plone.mlstilesPlone add-on which extends thePropertyshelfMLS Embeddingwith tiles forcollective.cover.Read the full documentation athttp://psplonemlstiles.readthedocs.org/en/latest.Mostly HarmlessChangelog1.2.1 (2020-02-28)Use PersistentTile as base for Mosaic tiles.Add option for Grid Layout to listing tiles.1.2 (2017-12-12)Fix wrong usage of FIELDS.Truncate description for listings in summaries with global configuration.1.1 (2017-09-15)Use SelectWidget with pat-select2 for Plone 5.Hide all location fields in search form tile when one option in linked search form is pre-selected.Add listing search results tile for Mosaic.1.0 (2017-09-06)Add new base tiles which are independent of collective.cover.Move collective.cover related tiles to new support package.Add plone.app.mosaic specific tiles for listings and developments.Add GS profiles for Plone 4 and Plone 5.Install cover/mosaic support when addons are installed with GS event.Add missing browser layer.0.3.1 (2017-08-24)Add missing upgrade step to add development collection tile to existing sites.0.3 (2017-08-22)Add development collection tile for collective cover.0.2 (2017-08-04)Add freetext search field.Fix listing search custom form prefix.Fix collection tiles listing retrieval to include configuration of the target collection.0.1.1 (2014-07-15)Added dependency to ps.plone.mls.Added ‘Feature Listings’ tile.I18N updates.0.1 (2014-05-28)Initial release.Added tiles for listing collections, recent listings and listing search.
Package: ps.plone.realestatefont
Real Estate icon fontTable of ContentsReal Estate icon fontLife, the Universe, and EverythingMostly HarmlessAvailable CSS class optionsPreviewInstallationChangelog0.4 (2016-11-21)0.3 (2015-08-11)0.2 (2015-07-30)0.1 (2015-07-28)Life, the Universe, and Everythingps.plone.realestatefontis an icon font of svg based icons.
It is intended to use withPropertyshelf’s MLS embedding.Mostly HarmlessAvailable CSS class optionsicon_re-airporticon_re-bankicon_re-baricon_re-basketballicon_re-bbqicon_re-beach-clubicon_re-changing-roomicon_re-cinemaicon_re-conciergeicon_re-equipment-rentalicon_re-game-roomicon_re-gardenicon_re-gas-stationicon_re-golficon_re-gymicon_re-heated-poolicon_re-helicoptericon_re-hospitalicon_re-hotelicon_re-laundryicon_re-mallicon_re-medical-facilityicon_re-minimarketicon_re-poolicon_re-property-managementicon_re-restauranticon_re-rubbishicon_re-securityicon_re-soccericon_re-spaicon_re-stableicon_re-storageicon_re-tennisicon_re-transportationicon_re-volleyballPreviewInstallationTo enable this package in a buildout-based installation:Edit your buildout.cfg and add add the following to it:[buildout]
...
eggs =
    ps.plone.realestatefontIf you are using Plone, you might want to add theploneextra:[buildout]
...
eggs =
    ps.plone.realestatefont [plone]After updating the configuration you need to run ‘’bin/buildout’’, which will
take care of updating your system.Go to the ‘Site Setup’ page in a Plone site and click on the ‘Add-ons’ link.Check the box next tops.plone.realestatefontand click the ‘Activate’ button.The CSS classes will now prepend icons as defined in the list above.NoteYou may have to empty your browser cache and save your resource registries
in order to see the effects of the product installation.Changelog0.4 (2016-11-21)Add Plone 5 compatibility.0.3 (2015-08-11)Only load Plone configuration when we are working with Plone.0.2 (2015-07-30)Renamed package to ps.plone.realestatefont.0.1 (2015-07-28)Added basic 35 character set.Font-data added and automatic css-registration for Plone CMS.Initial release.
Package: ps.plone.zmi
ps.plone.zmiZMI customizations for Plone instances.Mostly HarmlessChangelog0.4 (2016-10-20)Update CSS to hide forms with authenticator token.Add Plone 5 compatibility.0.3 (2016-01-22)Added Propertyshelf logo.0.2 (2014-03-07)Added patch to include custom CSS file for manage and manage_main template.Hide ‘Add Plone Site’ button. Plone sites are created using Chef provisioning
and collective.recipe.plonesite.0.1 (2014-03-06)Initial release.Added custom view for the Zope root folder (‘plone-overview’).
Package: pspman
PSeudoPackageManager (PSPMan) - a package manager aidSource Code RepositoryRepositoryDocumentationBadgesDESCRIPTIONManage:automatically pull (update code)group (maintain isolated groups)attempt installation ofPackages from Git Repositories.Currently supports installation of:python (pip)make (configure, make)make (Makefile)cmakemeson (ninja)pull-only(don’t install)May be extended for other methods using instruction file. (see documentation for Extensions)
Pull requests are welcome.Remember:This is still only anaid. Some workrebasecherrypickediffgit headless state managementetc.needs to be (/ can be) done manually.All databases are deliberately maintained in yml format for a reason.Order of OperationDelete projects (if requested)Pull installation urls (default)Update github projectsInstallationRefer to INSTALL.rst or Check sectionINSTALLATIONWarningThis is apersonalpackage manager. Do NOT run it as ROOT.Never supply root password or sudo prefix unless you really know what you are doing.BUGSMay mess up root file system. Do not use as ROOT.DEBUG=Trueenvironment variable prints debugging information
Package: pspolicy.homes4.base
pspolicy.homes4.basePlone Policy Add-On for the Homes4 sites.Installed Add-OnsThe following Add-Ons will be installed automatically:Products.CarouselProducts.DoormatProducts.PloneFormGenProducts.RedirectionToolcollective.carouselcollective.contentleadimagecollective.covercollective.googleanalyticscollective.quickuploadplone.app.cachingplone.app.themingplone.mls.listingsc.social.liketheming.toolkit.coretheming.toolkit.viewletstheming.toolkit.viewsCustom SettingsWhen installed, some Plone settings will be adjusted, like:SMTP server and portEnable sitemap.xml.gzEnable Dublin Core metadataTinyMCE toolbar settingsMostly HarmlessThomas Massmann, Author
Jens Krause, ContributorChangelog0.3 (2014-03-26)Deactivate carousel.js from collective.carousel.0.2 (2014-02-02)Install theming.toolkit.views.0.1 (2014-02-01)Install required products.Customise settings for Plone site and add-ons.
Package: pspring-rest-client
pspring-rest-clientThis framework is member of pspring based family of frameworks. It provides a means to create rest clients with minimal code.requestslibrary is used internally for http requests.Annotations / Decorators that come along with this framework are listed below@RestClient(url="")This decorator will add few boiler plate code that is required to interact with any rest endpoint. The methods significant aresend,getUrl,addHeader.Thesendmethod would accept all arguments thatrequests.requestmethod would. This method will throwPayloadExceptionfor all not HTTP 200 responses. ThePayloadExceptionhasresponseandstatusCodeattributes which can be further used for error handling.
TheaddHeader(name,value)method would add an header
ThegetUrlwill get the url that is configured along with@RestClientdecorator.
ThehandleErrormethod is exists on the object will be invoked when received a non http 200 response.@Mapping(method="",url="")This decorator will take care of replacing parameters in the url from arguments passed, send the request and return the responseUseful classes in this frameworkRegExResponseMapper- this class can be used to tranform one dictionary to another using regex. An example is shown below. The source dictionary fields can be accessed using$notation. In the below examplemessageis a field inside the `response dictionary.regexmapper=RegExResponseMapper({".*Customer does not exist.*":{"statusCode":"404","code":"APS-1001","message":"$response.message"},".*":{"statusCode":"500","code":"APS-1002","message":"$response.message"}})@RestClient(url="https://myapi.com")classMyRestClient():@Mapping(method="GET",url="/user/{firstName}")defgetCustomer(self,firstName):pass@Mapping(method="POST",url="/user/",data=json)defsaveCustomer(self):pass@Mapping(method="POST",url="/user/")defsaveCustomer(self,customer):self.json=customerdefhandleError(self,response):returnregexmapper.map(response)Documentation atpspring-rest-clientTo do:To return objects based on the return type from the response received.
Package: psprint
GistSource Code RepositoryRepositoryDocumentationBadgesDescriptionPrompt-String-like Print.[ INFO ] Print statements with a flexible descriptor prefix for better
readability.What does it do#!/usr/bin/env python3# -*- coding: utf-8; mode: python; -*-print()print("*** WITHOUT PSPRINT ***")print("An output statement which informs the user")print("This statement requests the user to act")print("A debugging output useless to the user")print()frompsprintimportprintprint()print("*** WITH PSPRINT ***")print("An output statement which informs the user",mark=1)print("This statement requests the user to act",mark=2)print("A debugging output useless to the user",mark='bug')print()Screenshot:With extensive personalizationon-the-flyand through configuration files
Package: psprofile
PsProfileA python process profiler.  Watches a process tree and emits resource usage metrics.  Uses the psutil library, so runs on a mac and linux (haven’t tested Windows,
but theoretically it will work).  You will get slightly different fields back depending on the operating system.
Used by theCosmos Workflow Management System.Installpip install psprofileUsage$psprofile-husage:psprofile[-h][-oOUTPUT_FILE][-iPOLL_INTERVAL][-wWAIT]...Profileresourceusageofacommandpositionalarguments:commandThecommandtorun.optionalarguments:-h,--helpshowthishelpmessageandexit-oOUTPUT_FILE,--output_fileOUTPUT_FILEFiletostoreoutputofprofileto.-iPOLL_INTERVAL,--poll_intervalPOLL_INTERVALHowoftentopolltheresourceusageinformationin/proc,inseconds(default1).-wWAIT,--waitWAITtimetowaitforexecutabletoexist$psprofilels$HOME$psprofilepythontest.py$psprofile"echo hi; sleep ls"# note that:$psprofileechohi>tmp/test#  (psprofile's output is redirected)
# is not the same as:$psprofile"echo hi > /tmp/test"#  (echo's output is redirected)Example output:$psprofile/path/to/bash.script{"avg_num_threads":1,"cpu_time":0,"avg_vms_mem_kb":11427840,"io_read_kb":4096,"io_write_kb":0,"max_num_threads":1,"system_time":0,"max_rss_mem_kb":1470464,"percent_cpu":0,"max_vms_mem_kb":11427840,"wall_time":2,"ctx_switch_voluntary":12,"user_time":0,"avg_num_fds":4,"num_polls":1,"max_num_fds":4,"io_write_count":0,"avg_rss_mem_kb":1470464,"ctx_switch_involuntary":3,"io_read_count":12,"exit_status":0}
Package: pspsps
pspsps(1): call a catgirl from the Internyet to the Linux terminyalshow processes: psshow catgirls: pspsps—@ln@chaos.socialpspsps(1) is a compyuter software to call an online catgirl nya.pspsps(1) is nice and tries to guess the best options for you~ ฅ^•ﻌ•^ฅfor most ppl u can just callpspspsn it will work! probably (｡•̀ᴗ~)-✧u can control colours, backnyends n stuff.call it with-h, the options should be self-explanyative.if it looks wrong try with less colours!the more columns and lines u can use, the better the drawings will
look. if you want to use the whooole screen width, try-w! but it
can draw the catgirls taller than the terminyal n need scroll.  why
not use it withpspsps -w|less -R(＾ 〜)–☆catgirls are kindly provided by Safebooru.u can call other peoples too with--tags. likethere are optinyons to make them smaller or bigger or save the images
or load from an image and meowre!u can also make drawings with nyascii characters nyanstead of
colourful nyansi art.  tho the mangas in nyascii dont look so good in
most terminyal sizes, mew.  but on the linux kyonsole (with few
colours & no Nyunicode but good resolution) a girl thinks ascii looks
better nyoften. so the defaults are for nyansi on graphical terminals
and nyascii on console.the 'installation' how topip3 install pspsps✨🍭 search help 🍬💖pspsps -t femboy_hootersshow femboys from femboy hooters(人*´∀｀)｡*ﾟ+pspsps -t 'catgirl bunnygirl'show catgirls together with bunnygirlspspsps -t catgirl,bunnygirlshow catgirls together with bunnygirls but easier to typepspsps -t 'catgirl kiss -hetero'asks for catgirls kissing but no hetero >:(but sometimes hetero comes anyway (u.u )things a girl still wants to-do nyaoptinyon to show the URL of the nyoriginal post, nyot just the image URL!a history file is the perfect place to add the post data, also save the file URLs.a--lastoption would be fun, run different options on the last image you've seen (better if it can check the--savedpath)support danbooru! it is a bit scary tho (^ ^);danbooru API is prob useful to unify tag synonymyms!tests, who is a girl kidding, nyobody does tests everauthoressit’s me, mewlissa nyamelissa@namakajiri.netminnabody let’s keep up the 'LINUX'! with spirit of gentleness and love no kokorouw ûw úwu ŭ úwuwuyou all gay and cute.and.validũw ówüw ûvowo ũvòv òwo ùwu ùwu öv ŏvo ŏvothing difficult system that person few few own many manyòwo-úwu õvò ówuv ûwuwu ù uw-üwu nyáappl-cuties IMP do kind to your-selves pleaseŭ üv õvò üwo uvuwu ûvü!and take IMP mass means labour!
Package: pspvis
GistSource Code RepositoryRepositoryDocumentationBadgesDescriptionPCA-assistedSpreadsheetPlotVisualizationWhat does it doDisplays data from.csvfile, with:2D/3D axesRaw data/Transpose of data (rows & columns swapped)Truncated (curently: column 1,2,3; customizable: in future) / PCA of dataPCA of transpose of dataCustomizable Group Annotations
Package: pspy
pspyis a cosmology code for calculating CMB power spectra and covariance matrices. See the
python example notebooks for an introductory set of examples on how to use the package.Free software: BSD licensepspydocumentation:https://pspy.readthedocs.io.Scientific documentation:https://pspy.readthedocs.io/en/latest/scientific_doc.pdfInstallingpipinstallpspy[--user]You can test your installation by runningtest-pspyIf everything goes fine, no errors will occur. Otherwise, you can report your problem on theIssues tracker.If you plan to developpspy, it is better to checkout the latest version by doinggitclonehttps://github.com/simonsobs/pspy.git/where/to/cloneThen you can install thepspylibrary and its dependenciesviapipinstall-e/where/to/cloneThe-eoption allow the developer to make changes within thepspydirectory without having
to reinstall at every changes.Tutorials notebooksReading, writing and plotting mapsGenerate spin0 and spin2 spectra for CARGenerate spin0 and spin2 spectra for HEALPIXProjecting HEALPIX to CARCompute spectra for standard and pure B modesOthers tutorials can be found under thetutorialsdirectory.DependenciesPython≥ 3.8pyFFTWhttps://pyfftw.readthedocs.iohealpyhttps://healpy.readthedocs.iopixellhttps://pixell.readthedocs.ioAuthorsThibaut LouisSteve ChoiDW HanXavier GarridoSigurd NaessAdrien La PostaThe code is part ofPSpipethe Simons Observatory power spectrum pipeline.
Package: pSQL
This module allows for easy wrapping of SQL tables, simple queries and
their results in dictionary-like python datatype objects.
Attn: MySQLdb is currently mandatory for this module!
Example:>>> res = myDB.Address.City["Oklahoma%"]
>>> len(res)
2
>>> for r in res:
...   print "%s: %s"%(r.Name, r.Phone)
John Doe: 0405-12345
Joe User: 0405-67890
>>> john = res[0]
>>> john.Phone = '0405-54321'
Package: psql2bigquery
PostgreSQL to BigQueryInstall with:pip install psql2bigqueryGet usage instructions with:psql2bigquery run --helpSample usagepoetry run psql2bigquery run \
--db-host localhost \
--db-port 5432 \
--db-user username \
--db-password secret-password \
--db-name my_api \
--gcp-project my-project \
--gcp-dataset my_api \
--include table_name_a \
--include table_name_b \
--gcp-credential-path /path/to/credential.jsonLoggingThere's a possibility to use Sentry.io for error logging.Just set the environment variableSENTRY_DSNand psql2bigquery will automatically configure the logger.Additionally, the environment variableENVcan be used as Sentry environment.ContributingFork this projectInstall dependencies withmake dependenciesMake sure you have Python 3 installed. (pyenv)[https://github.com/pyenv/pyenv#installation] is highly recommendedYou can test the client locally (without installing the package) withpoetry run psql2bigquery <command>Make a PR with as much details as possible
Package: psql2csv
psql2csvA library and a CLI to download PostgreSQL schemas and tablesInstallationpip3installpsql2csvUsageCLITo run the CLI normally, just runpsql2csvOptions:--dbnameTEXTThedatabasename--hostTEXTURLEndpointofthedatabase--userTEXTLoginusername--passwordTEXTLoginpassword--allDownloadseverything--schemaDownloadsaschema--tableDownloadsatable--stdoutWhethertoprintwhichschemaandtableisdownloading--helpShowthismessageandexit.APIThere are 3 runnable functions: *download_all*download_schema*download_tabledownload_alldownload_all(conn, output_folder=‘output’,
exclude_schemas=[‘pg_toast’, ‘pg_temp_1’, ‘pg_toast_temp_1’,
‘pg_catalog’, ‘public’, ‘information_schema’], stdout=False)Downloads all schemas and all its tables by specifying schemaconn: input connection or psql2csv.DataBase. If it’s an input
connection, it’ll eventually be converted to psql2csv.DataBase classoutput_folder: the name of the folder to place the dataexclude_schemas: Which schemas to exclude while downloading
everythingstdout: whether to print which schema and table is downloading. True
= printdownload_schemadownload_schema(conn, schema, output_folder=‘output’,
stdout=False)Downloads schema and its tables by specifying schemaconn: input connection or psql2csv.DataBase. If it’s an input
connection, it’ll eventually be converted to psql2csv.DataBase classschema: name of the schema to downloadoutput_folder: the name of the folder to place the datastdout: whether to print which schema and table is downloading. True
= printdownload_tabledownload_table(conn, schema, table, output_folder=‘output’,
stdout=False)Downloads table by specifying schema and tableconn: input connection or psql2csv.DataBase. If it’s an input
connection, it’ll eventually be converted to psql2csv.DataBase classschema: name of the schema that the table belongs totable: name of the table to downloadoutput_folder: the name of the folder to place the datastdout: whether to print which table is downloading. True = printVersions1.1.xAdded CLI1.0.xFirst publish
Package: psqlm
psqlm介绍使用Python编写的基于pymysql模块二次封装模块软件架构软件架构说明安装教程xxxxxxxxxxxx使用说明xxxxxxxxxxxx参与贡献Fork 本仓库新建 Feat_xxx 分支提交代码新建 Pull Request特技使用 Readme_XXX.md 来支持不同的语言，例如 Readme_en.md, Readme_zh.mdGitee 官方博客blog.gitee.com你可以https://gitee.com/explore这个地址来了解 Gitee 上的优秀开源项目GVP全称是 Gitee 最有价值开源项目，是综合评定出的优秀开源项目Gitee 官方提供的使用手册https://gitee.com/helpGitee 封面人物是一档用来展示 Gitee 会员风采的栏目https://gitee.com/gitee-stars/
Package: psql-stat-optimizer
query-plan-optimizerPostgresql Statistics are vital for a good query plan. This library finds tables with large number of live tuples and tries to find related models with foreign key to the model and sets statistics for the field on destination model.Installation$pipinstallpsql-stat-optimizeraddpsql_optimizerto yourINSTALLED_APPSusage:Using full optimize command:$./manage.pyoptimize_statisticsValid Parameters:set_all: if passed asTrueit sets for all founded models automaticallyanalyze_all: if passed asTrueit analyzes all models after their statistics is changedlive_tup_count: the minimum number of n_live_tup to consider as a big table.default is 100000statistics: the statistics value you want to set to.default is 10000Using statistics command:$./manage.pyset_statisticsParameters:table: the target table namecolumn: the target columnstatistics: the target statisticsTODO:remove time.sleep which is used for printingadd command for analyze a table manually
Package: psquare
IntroductionThis is a python implementation ofthis paper,
which proposes a heuristic algorithm for dynamic calculation of the median and other percentiles.
It has the advantage of running in O(1) at each iteration and is hence particularly useful when
dealing with continuously (and fastly) incoming data.InstallFrom sourcesgitclonegit@gitlab.octo.com:bdalab/psquare.gitcdpsquare
pythonsetup.pyinstallUsing pippipinstallpsquareExample of useIn the following example, we will estimate the value of the 95th percentile of a N(0,1) distribution
using p square algorithm. We will compare our estimates as we continuously draw from the distribution,
by comparing with the truth value given by thenumpy.percentilefunction. At the end, we will plot
the residuals, and the execution time using psquare andnumpy.percentile.importnumpyasnpimportmatplotlibimportmatplotlib.pyplotaspltimporttimefrompsquare.psquareimportPSquareNB_ITERATIONS=30000defrandom_generator():returnnp.random.normal(0,1,1)defexact_value_for_quantile(values,quantile):returnnp.percentile(values,quantile)defmain():values=[random_generator()for_inrange(5)]quantile_to_estimate=95psquare=PSquare(quantile_to_estimate)exact_quantiles=[]estimated_quantiles=[]psquare_exec_time=[]numpy_exec_time=[]forvalinvalues:# p square algorithm necessitates 5 values to startpsquare.update(val)for_inrange(NB_ITERATIONS):new_val=random_generator()values.append(new_val)psquare_start=time.time()psquare.update(new_val)estimated_quantiles.append(psquare.p_estimate())psquare_end=time.time()numpy_start=time.time()exact_quantiles.append(exact_value_for_quantile(values,quantile_to_estimate))numpy_end=time.time()psquare_exec_time.append(psquare_end-psquare_start)numpy_exec_time.append(numpy_end-numpy_start)matplotlib.rc('figure',figsize=(10,5))errors=np.abs(np.array(estimated_quantiles)-np.array(exact_quantiles))plt.plot(errors)plt.title('Absolute error between p-square predicted value and exact percentile value')plt.ylabel('Difference between exact percentile value and p-square estimation')plt.xlabel('Size of the dataset')plt.rcParams["figure.figsize"]=(10,5)plt.show()plt.plot(psquare_exec_time[1:],label='p-square')plt.plot(numpy_exec_time[1:],label='numpy percentile')plt.title('Execution time to compute percentile on a growing dataset')plt.ylabel('Execution time (in seconds)')plt.xlabel('Size of the dataset')plt.legend()plt.rcParams["figure.figsize"]=(10,5)plt.show()if__name__=='__main__':main()Error between estimated and exact valueUsing previous example we obtain the following figures:Errors between exact and predicted percentile valueExecution time between p-square estimations and numpypercentilefunction: