Saravanan666/pypi-org huggingface dataset:
Package: paphra-tktable
# Python Tkinter Table by Paphra------------------------: This module creates a tkinter table according to the specifications.The table is entirely scrollable and allows selection of a rowand visibly seeing the selected row using the highlight of greycolor, but the color can be changed easily.Deleting of a row is supported by this table using the appropriatefunctions and methods and once a row is deleted, another isautomatically selected in the place of the deleted rowScrolling can be done by the mouse wheel or the Scrollbar for boththe vertical and the horizontal--------## Note:--------: Python Dictionaries are used for the rows. Each row must bea python dictionary for this table to work well. Uniform orconstant keys for these dictionaries must be used-------------## Imports:-------------1. tk - The main tkinter module2. messagebox - For the confirmation of the deletion of a row3. ttk - The themed tkinter4. Thread - For background tasks-------------## Procedure of How to use the Python Table-------------------------------------------1. Make a list of all the keys for the python dictionaries. Thekeys which represent the individual columns in the row2. Make a list of dictionaries for the titles. Each titledictionary is a single column and this dictionary representsthe column header. The dictionary must contain the followingkeys:- text:     this is text for the column header- width:    the integer for the width of the column- type:     the type of the widget to use for holding thedata in the column. The type is represented by a singleletter in the string data type* 'l' - for the Label widget* 'c' - for the Combobox widget3. Make a list of dictionaries, each dictionary representing therow. Each row must be having all the keys specified in the listof keys.4. Initialize the class called 'Table' passing the neccessary arguments5. Call 'add_rows()' passing the neccessary arguments6. For deleting, select a row and call 'delete_row()'7. You can also get the currently selected row by calling themethod 'get_selected()'# installing~~~~pip install paphra-tktablefrom paphra_tktable import tabletb = table.Table(master)~~~~----------------------
Package: papierstat
papierstatThe module contains teaching contents in French.
It was started to get a less chaotic content compare toensae_teaching_csmostly meant to provide exercises.Le contenu est en français car il existe déjà tellement de choses en anglais,
et est émaillé de notebooks qui illustrent plus spécifiquement telle ou telle
notion, parfois jusqu’à l’inutile mais séduisant intellectuellement.GitHub/papierstatdocumentationBlogHistorycurrent - 2021-01-01 - 0.00Mb0.2.350 - 2020-06-03 - 1.80Mb31: Moves ConstraintKMeans to mlinsights (2020-06-03)30: pyltr does not work with scikit-learn 0.23 - remove it (2020-05-17)29: Fix notebook using bokeh after update to 2+ (2020-04-18)28: Implements a transformer to insert CountVectorizer in a pipelien (2020-02-07)24: typo - sentance instead of sentence (2020-02-01)27: Notebook adult_cat fails after catboost upgrade to 0.21 (2020-01-31)23: fix notebook artificiel_categories_2 (2018-10-28)20: move CI to python 3.7 (2018-08-21)22: replaces as_matrix by values (pandas deprecated warning) (2018-07-29)21: take a dependency on mlinsights where some code was moved (sklapi) (2018-07-29)19: ajouter un code pour télécharger les données spacy du notebook sur word2vec (2018-06-17)17: calculer ACP notebook word2vec (2018-06-12)15: ajouter un notebook sur word2vec (2018-06-11)8: ajouter un notebook sur les données carroyées (2018-06-11)11: ajouter la définition des fichiers au format GeoJSON (2018-05-08)10: ajouter un exemple de carte avec bokeh (2018-05-08)9: remplacer basemap par cartopy (2018-05-08)6: add a constraint kmeans (2018-04-04)4: ajouter un notebook sur la prévision d’une durée (2018-04-02)5: first resolved issue (2018-04-01)
Package: papi-iot
PAPI IOTAn API for home security system using raspberry Pi with Pi IR camera and facial recognition.Github repo: PAPI IOTFree software: MIT licenseDocumentation:https://papi-iot.readthedocs.io.FeaturesFace recognition from photosFace recognition from videosPi camera  feature controlsStorage Management: SD card memory and Google cloud storageQuick StartPre-requisiteMinimum Raspberry Pi 0 w, 2GB is recommended for optimal Face recognition performanceOpenCVDlibface-recognitionRaspberry Pi V2 Camera ModuleGoogle Cloud Storage Severice AccountAfter this, download the service account json file for use with onlineStorage modulepicamera LibraryPython>= 3.6 recommended.Upon finishing up the above steps, download therequirementsfile and execute:$ pip install -r requirements.txtto install the remaining dependancies.Test module by runningTest module by executing:>>> from papi_iot.papi_face_recognition import PapiFaceRecognition
>>> test = PapiFaceRecognition()
>>> test.faceRecognitionFromVideo()This Tests storage management and face recognition from videosTo end program use ‘Ctl’+’C’ commandCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History3.7.6 (2020-08-12)First release on PyPI.
Package: papir
papirPapir is an acronym for “Python API Requests”.The main purpose is to make custom http requests to json APIs, prettify and
colorize the full response (headers + json content).Json is used to post, put, patch or delete and to customize the http
headers.Basic http authentication and gzip compression are supported.Simple example:$ papir httpbin.org/getNotesWorks on Python 3Uses only Python standard library for maximum compatibilitySmall and simple source codeInstallInstall using pip:pip install papirorDownload and set executable permission on the script file:chmod +x papir.pyorDownload and run using the python interpreter:python3 papir.pyUsageUsage: papir url [options] [method]

make http requests to json apis

Options:
  --version        show program's version number and exit
  -d DATA_FILE     json file to post, put, patch or delete
  -h HEADERS_FILE  json file containing additional headers
  -j JSON_DATA     json string to post, put, patch or delete
  -e JSON_HEADERS  json string containing additional headers
  -t TIMEOUT       timeout in seconds to wait for response (default: 10)
  -a AUTH          basic http authentication in the format username:password
  -f, --follow     follow redirects (default: disabled)
  -i, --insecure   allow insecure SSL connections (default: disabled)
  -v, --verbose    show request headers (default: disabled)ExamplesAssuming the file “data.json” exists containing:{
    "name": "Bob",
    "age": 30
}Make a post request using that data:$ papir example.org -d data.jsonThe json data can also be passed directly from cli:$ papir example.org -j '{"name": "Bob", "age": 30}'To use a different http method just inform it:$ papir example.org -d data.json putTo customize the request headers, create a json file like:{
    "Auth-User": "user",
    "Auth-Token": "1234",
    "User-Agent": "myagent"
}And add it to the request:$ papir example.org -h headers.jsonHeaders can also be customized directly from cli:$ papir example.org -e '{"custom-header": "foobar", "user-agent": "myagent"}'Obviously, you can mix it with all kinds of http methods:$ papir example.org -h headers.json -d data.json patchSimple basic auth:$ papir example.org -a user:passTo ignore invalid SSL certificates:$ papir https://self-signed.badssl.com/ -i
Package: papi-sdk
pAPI SDKpAPI SDK is a python SDK forETG APIv3.
The abbreviation "pAPI" stands for "Partner API".RequirementsPython 3.6+requestspydanticInstallationpip install papi-sdkQuickstartTo start using ETG APIv3 you need a key, which you received after registration.
A key is a combination of anidanduuid. These are passed into each request as a Basic Auth header after initialization.APIv3supports all arguments provided byrequests, ex.timeout.frompapi_sdkimportAPIv3papi=APIv3(key='1000:022a2cf1-d279-02f3-9c3c-596aa09b827b',timeout=15)Then you can use all available methods. Say you want to check an overview of the available methods (which isapi/b2b/v3/overviewendpoint), you do:overview=papi.overview(timeout=1)Another example is downloading hotels dump withapi/b2b/v3/hotel/info/dumpendpoint:data=HotelInfoDumpRequest(language='ru')dump=papi.get_hotel_info_dump(data=data)print(dump.data.url)Note: if you don't provide your headers and specifically yourUser-Agentin requests options then it will be automatically added, ex.papi-sdk/v1.0.2 requests/2.25.1 (python/3.8)
Package: papis-dmenu
If you use this plugin and you would like to
MAINTAIN it, send us an email, we're looking for an active maintainer.This project implements a picker based ondmenufor papis.UsageJust use it as apicktoolpapis --set picktool dmenu openInstallationThere is a version in PyPipip3 install papis-dmenuorsudo pip3 install papis-dmenuTODO[ ] Gradually type the project[ ] Implement some more tests[ ] Document a bit
Package: papis-html
Papis-HTMLUsage: papis-html [OPTIONS] [QUERY]

  Create a simple searchable offline html site with your references

Options:
  -h, --help  Show this message and exit.
  --out TEXT  Output directoryFor instance, doingpapis html einstein -o einstein-paperswill get you a directoryeinstein-paperswith a website inside.You can find an example inhere.AcknowledgementsThis is a simple application of the very nice librarybibtex-js.
Package: papply
PAPPLYPython wrapper to execute command line programs in parallel using multiprocessing.PoolDescriptionA very simple wrapper around python's multiprocessing to be able to
easily execute command line programs in parallel.
It's implementation is inspired byGNU
ParallelandApply.The basic idea is that one does not have to change much to the original
command line to run tasks in parallel.The first argument is interpreted as the command to execute multiple
times, all other arguments are used as the inputs to the command.Example usagehello world:papply echo "Hello World" "Hello Papply"compressing files withGNU gzip:gzip *.txtbecomes:papply gzip *.txtconverting images to jpg usingImageMagick'sconvert:convert 1.png 1.jpg,convert 2.png 2.jpg,convert 2.png 2.jpg, ...becomes:papply "convert %F %n.jpg" *.pngFeaturesTemplate replacementsThe following strings can appear in the command string (the first
argument topapply). They will be replaced by:%F: Full original input%d: directory name (no trailing slash)%f: file name with extension%n: file name without extension%e: extension (with leading .)%z: empty stringConfigurationThe basic configuration should work for most use-cases. I have not
implemented command line options topapplyitself on purpose. This is
a choice to keep the interface as simple as possible.If you want to override the default values you can create apapply.inifile. This file will be looked for first in the directory
where you execute the command and second in your home directory. The
following parameters can be changed:num_cores: number of cores to use, default all available coresovercommit_factor: how many threads per core to request, default 1show_progress: print progress of the running jobs (yes, no, IfLong), default show progress if running a long timelong_duration: time in seconds to be considered long after which progress is shown, default 60Any values that are not set explicitly will default to the standard
value. There is an example ini file included in the distribution
(papply.ini.example).
Package: pappy
Dale Cieslak <desizzle@users.sourceforge.net>pappy is a pretty simple wrapping of the PortAudio library using Pyrex.  I didn’t make any attempts to make it “Pythonic” in that there are no Python classes or constructs; it’s simply a 1-for-1 mapping to the C library.  I’ve tried to keep most of the function calls identical to the C version wherever possible.NOTE: pappy REQUIRES PortAudio to be installed in order to run.  This should be obvious, but I’m pointing it out just in case it’s not.See the api_info.txt file for API specifics.
Package: papr
PaprPapr is a tool to manage and quickly access scientific papers on the command line.FeaturesFast search:search in the title of papers via regular expressions or trigrams.Notes:create notes for each paper.Rating of papers:rate your papers via a five star rating system.Tags:assign each paper different tags.Import from arXiv:automatically import papers with title and abstract from arXivInstallYou can install papr via pip:pip install paprGetting started.Papers are organized in repositories. To create a repository change into a directory where the repository should be created and typepapr init. Example:cd astro_repo
papr initThis will create a directory.paperin theastro_repodirectory to store metadata. All PDFs will be stored inastro_repo.Default repositoriesThe last repository which you create withpapr initis set as the default repository. If you callpaprwithout being in a repository the default repository will be used for all operations. Otherwise, the current working directory will be used as the repository.Fetch a paper from arXiv.org or OpenReview.netFetching a document from arXiv is quite easy. You just have to provide the URL of the abstract and papr will
download the PDF and will automatically extract the title and abstract. Example:papr fetch https://arxiv.org/abs/1812.07561The same does also work for papers on OpenReview.net:papr fetch https://openreview.net/forum?id=HkNDsiC9KQRunWhen you have added papers to your repository you can run papr by simply executing:paprYou will see your list of papers through which you can navigate.Further informationRunpapr --helpfor further information.Key shortcutsh: Help / List of key bindings.q / ESC: Quit.ENTER: Open the paper in a PDF reader.a: Show abstract for paper.i / Arrow up: Move selection up.k / Arrow down: Move selection down.s: Live search in title.r: Live search in title via regular expression.n: Edit notes.t: Edit tags.0..5: Set voting.y: Show all stored information about a paper.l: Show statistics about tags.f: Filter (e.g. by tags).F: Clear filter.
Package: paprica
pAPRicaWelcome topAPRica(pipelines for Adaptive Particle Representation image compositing and analysis), a package based on the Adaptive Particle Representation (APR) to accelerate image processing and research involving imaging and microscopy.pAPRicais built on top of:LibAPR: the C++ backbone librarypyapr: a python wrapper for LibAPR including unique featuresBriefly,pAPRicaallows to accelerate processing of volumetric image data while lowering the hardware requirements. It
is made of several independent modules that are tailored to convert, stitch, segment, map to an atlas and visualize
data.pAPRicacan work as a postprocessing tool and is also compatible with real time usage during acquisitions,
enabling minimal lead time between imaging and analysis.Tutorials and reference documentation is available atWyssCenter.github.io/pAPRica/.RequirementsThe software should run on any operating system and python version 3.7 or higher. It is recommended that the system RAM is at least 3 times the size of a single tile, to allow voxels-to-APR conversion without decomposition of the input images.Be part of the communityIf you have a project that you think would benefit from this software but aren't sure where to start, don't hesitate to contact us. We'd be happy to assist you.If you encounter any problems or bugs :beetle:, pleasefile an issue.References:If you use this pipeline in your research, please consider citing the following:Efficient image analysis for large-scale next generation histopathology using pAPRica(bioRxiv preprint)Adaptive particle representation of fluorescence microscopy images(Nature Communications)
Package: paprika2notion
SetupRunpip install paprika2notionV0 of this library will assume you have downloaded and extracted your recipes to some path that we will refer to as:path/to/your/extracted/recipe.paprikarecipe.yamlFor help doing this, check out:paprika-recipesYou must then create a Notion database that provides write-access to a Notion integration. For details on setting up a Notion integration, see their websitehereThis database must contain, at minimum the following fields. Note that spelling matters, as the names are used for writing the template.:Title:RecipeRich Text:Recipe write-up,Recipe write-up overflow,Paprika Hash,Nutritional InfoSelect:Status,Meal Type,TagsURL:URLIf you wish for a different field-set, you can edit the NotionRecipe'sget_all_propertiesmethod.The library reads your secrets from environment variables.See the snippet below for expected variables.I recommend using a secrets manager like Hashicorp Vault (not sponsored) to enable this.
Otherwise, you can create a local config file.UsageThis library is intended to make it easy for you to load recipes you have stored inPaprikainto your Notion Workspace.Once you have downloaded and extracted your recipes, you can load them as objects in python, edit them, and write to notion if you wish.See below for an example writing a single recipe to my Notion database.#%%from__future__importannotationsimportosimportyamlfrompaprika2notionimportPaprikaRecipe,NotionRecipefromnotion_clientimportClientc=Client(auth=os.environ["NOTION_TOKEN"])withopen("path/to/your/extracted/recipe.paprikarecipe.yaml",'r',encoding='utf8')asf:t=PaprikaRecipe.from_dict(yaml.load(f,Loader=yaml.loader.Loader))n=NotionRecipe.from_paprika(t)n.write_to_notion(c,os.environ["NOTION_DATABASE_ID"])By default, the tool will do a few things:All categories in Paprika becomeTagsin NotionStatusandMeal Typeare set toFrom Paprika, to enable you to identify recipes that may need touching up in Notion.Paprika'sDirectionsare written toRecipe write-up, and if > 2000 characters, overflow goes toRecipe write-up overflowContributionThere are a number of ways to contribute to paprika2notion.Check out open Issues and submit a PR to resolve oneif you don't want to submit a PR, feel free to join the discussion on these issues anyways!Use the tool and make improvements to solve your pain pointsFind something annoying? We'd love your help fixing it! Anything that could make this a more seamless tool is probably welcome.Some planned items that you're free to take a stab at before I get to them:Automatically create appropriate Database/Page/Schema in Notion from toolAutomatically add all ingredient relationsIf ingredient doesn't exist, create an appropriate oneJust ask! Feel free to reach out to me and ask if there's anything you can do to help with the project. Almost certainly we have some backlog items.With any pull request, please include at minimum:Doc strings for any major functions/methods.a test case walkthrough.If you're feeling especially helpful create a test using pytest and run it withcovafter your changes.
Package: paprika-to-sqlite
Paprika To SQLiteTakes apaprikarecipefile exported fromPaprikaand converts it to an sqlite db.Tables:recipesrecipes_to_categoriesrecipes_to_photoscategoriesphotosUseful withDatasette.Installpip install paprika-to-sqlite
# or pip install paprika-to-sqlite[datasette]Usagepaprika-to-sqlite --version
paprika-to-sqlite --help
paprika-to-sqlite my_export.paprikarecipes paprika.dbUsage with datasetteIf you havepaprika-to-sqliteanddatasetteinstalled in the same environment, you can usedatasetteto look at any recipe. First, launch datasette:datasette paprika.dbThis will add apaprikarecipelink to individual row pages:and a url handler for/-/paprika-recipe/<recipe-id>. This will display the recipe as a simple webpage:
Package: paps
(Pi-basedAudienceParticipationSystem) or(Python-basedAudienceParticipationSystem) or(ParticipationSystem)A framework to connect audience members (monitored by seat pressure sensors) to
interact with a central computer running plugins.Much like the name, the framework is very flexible. The components can be almost
freely combined or implemented in different programming languages. The custom protocol
uses C-types and json to transmit data.For an indepth introduction to paps visitthe full documentationOr jump right to thehow to write a plugin partSome examples (inlcuding the dummy plugin from the above short tutorial) are included
inthe examples folderIf you have any issues or suggestions, please drop me a line on theissues page.
Package: paps-settings
Plugin for thepaps frameworkadding a simple
way to control plugins from a web browser by inherting fromSettablePluginand
providing html/js files.This package has two parts: the webserver and the plugin. For the time being to
run the webserver you have to get thegit repositoryand call thecreate_servermethod inapp/server.pyor executeapp/server.pydirectly. This will create a flask app running on a twisted server.The second part is a normal paps plugin which can be installed from PyPI. By executing
the settings plugin together with one or moreSettablePlugins inside aCrowdControllerit will first connect to the webserver via a websocket, autodetect all available
plugins and register them with the server backend. This involves beside providing
basic information on the plugin, uploading the provided resource-files. By separating
the webserver serving the actual http traffic (files, etc.) and the plugins (potentially
to another machine), the load on maschine handling the core paps functionality gets
reduced.For example plugins have a look at the following plugins:DummyPlugin - demo plugin from the paps example directory extended for usage with paps-settings and demonstrating two configurable valuesSoundMix - a plugin to create audience based sound mixingRealtime - a plugin to display audience seating status live
Package: papy
Thepapypackage provides an implementation of the flow-based programming
paradigm in Python that enables the construction and deployment of distributed
workflows.TheNuMappackage is a parallel (thread- or process-based, local or
remote), buffered, multi-task,itertools.imapormultiprocessing.Pool.imapfunction replacment. Likeimapit
evaluates a function on elements of a sequence or iterable, and it does so
lazily. Laziness can be adjusted via  the “stride” and “buffer” arguments.
Unlikeimap,NuMapsupportsmultiple pairsof function and
iterabletasks. Thetasksarenotqueued rather they areinterwovenand share a pool orworker“processes” or “threads” and
a memory “buffer”.Documentation can be foundhereThe package is tested on Python 2.7.6
Package: papylon
PapylonPapylon is a Python library for random testing of program properties.ExampleWe can write a simple property with Python code:frompapylon.propimportfor_allfrompapylon.arbitraryimportarb_list,arb_intfrompapylon.checkerimportcheck# reversed and reversed list is the same of the original listp1=for_all([arb_list(arb_int(),max_length=20)],lambdax:list(reversed(list(reversed(x))))==x)check(p1)When we run the script above, we can see the result as following:OK, passed 100 tests.If a property failed, Papylon reports which arbitrary(s) made it failed:importmathp2=for_all([arb_int()],lambdan:math.sqrt(n*n)==n)check(p2)Falsified after 2 tests (31 shrinks):
> [-1]Build statusChanges0.6 (2015-11-23)addcheck_and_assertfunction intopapylon.checkermoduleaddPropertiesclass intopapylon.propmoduleaddcheck_allfunction intopapylon.checkermodulemodifypapylon.genmodule to use generator0.5 (2015-01-16)implement the shrinking systemaddfrom_gen_shrinkfunction intopapylon.arbitrarymodule0.4 (2014-12-23)addsuch_thatmethod intopapylon.gen.Genclassaddconstantfunction intopapylon.genmodulesupport.whlfiles instead of.eggfiles in packaging0.3 (2014-12-13)modifyArbFloatto use the format of IEEE 754addArbDate,arb_dateandfrom_genintopapylon.arbitrarymodule0.2 (2014-11-30)addone_of,choose,frequencyandmapfunctions intopapylon.genmoduleaddArbStrandarb_strintopapylon.arbitrarymodule0.1 (2014-11-25)first release