Saravanan666/pypi-org huggingface dataset:
Package: paperplots
paperplotsCamera ready machine learning plots with a Tensorboard-like APIEver felt like the tensorboard summary writer can do a bit more than just letting you monitor your training logs? Wouldn't it be nice if you could also directly get pretty paper-ready versions of your tensorboard logs? Paperplots does just this!Record scalars in the exact same way as you do withtensorboard summarywriterSave your training data in easy to access pickle filesPlot runs, whole experiments, and even compare different experimentsAutomatically calculate simple convenience transforms such as rolling averages and shaded error regionsDocumentationExamplesWriting Logswriter = Writer(logdir=f'runs/algo', run_name=f'run1')

for i in range(iter):
	writer.add_scalar("loss", loss_value, i, ylabel="loss", xlabel="num iter", name="algo loss")

writer.close()Plotting Written Logsplotter = Plotter(logdir='runs')

# Plotting runs
plotter.plot_run(run_name="algo/run1")

# Compare two runs
plotter.plot_run(run_name=["algo/run0", "algo/run1"])

# Plot an average over all runs in the experiment
plotter.plot_experiment(exp_name="algo")

# Compare two experiments
plotter.plot_experiment(exp_name=["algo1", "algo2"])
Package: paperreview
paperreviewA python module to help read and summarize research papers.Install it from PyPIpipinstallpaperreviewUsagefrompaperreview.constantsimportQ_SUMMARYfrompaperreview.helperimport(extract_text_from_pdf,ask_paper_text)text=extract_text_from_pdf(pdf_path)question=Q_SUMMARYanswer=ask_paper_text(text,question)$python3-mpaperreviewhttps://arxiv.org/pdf/1706.03762.pdf#or$paperreviewhttps://arxiv.org/pdf/1706.03762.pdfDevelopmentRead theCONTRIBUTING.mdfile.
Package: paper-rq
paper-rqAn administrative interface for managing RQ tasks in Paper Admin.⚠ Defaultrq.scheduleris not supported! Userq-schedulerinstead.Compatibilitypaper-admin>= 6.0django-rq>= 2.4python>= 3.7InstallationInstall the latest release with pip:pipinstallpaper-rqAddpaper_rqto your INSTALLED_APPS in django'ssettings.py:INSTALLED_APPS=(# ..."paper_rq",)Addpaper_rqto yourPAPER_MENU:frompaper_admin.menuimportItemPAPER_MENU=[# ...Item(app="paper_rq",icon="bi-clock-history",),# ...]Optionally, setpaper_rq.jobs.Jobas your job class:RQ={"JOB_CLASS":"paper_rq.jobs.Job",# ...}ResultjobdecoratorThe same as RQ'sjobdecorator, but it automatically works out
theconnectionargument from RQ_QUEUES. It also respects theRQ.DEFAULT_RESULT_TTLandRQ.DEFAULT_FAILURE_TTLsettings.Example:importtimefrompaper_rq.decoratorsimportjob@job("paper:default")defsleep(delay):time.sleep(delay)sleep.delay(5)RQ SchedulerFirst, ensure that you have therq-schedulerlibrary installed:pipinstallrq-schedulerIf you need to run multiple isolated schedulers on the same server, you should
use the classpaper_rq.scheduler.Scheduler. This class reads the Redis keys
from theRQsettings:# settings.pyRQ={"JOB_CLASS":"paper_rq.jobs.Job","DEFAULT_RESULT_TTL":"7d","DEFAULT_FAILURE_TTL":"30d","SCHEDULER_CLASS":"paper_rq.scheduler.Scheduler","SCHEDULER_LOCK_KEY":"rq:scheduler-1:scheduler_lock","SCHEDULER_JOBS_KEY":"rq:scheduler-1:scheduled_jobs",}
Package: papers
PapersSimple reference manager in Python. Uses folders instead of a database, storing bibliographic information in bibtex. Generates a website to browse papers.DemoWebsite generated from bibliography stored indemo/:Installation$ pip install papersIn addition,ImageMagickneeds to be installed in order to generate PDF previews. Note that you may need to grantspecial permissions for ImageMagick to read PDF files on Linux.UsageImport papers from arXiv using an identifier, or import PDFs using URLs:$ papers-import --path ~/Papers arxiv ID
$ papers-import --path ~/Papers pdf URL --title ...Seepapers-import --helpfor full list of options.The bibliography can be exported to a single bib-file, or a website containing the full index:$ papers-export --path ~/Papers bib
$ papers-export --path ~/Papers webSeepapers-export --helpfor full list of options.CreditsPreviews inspired byAndrej Karpathy's Arxiv Sanity Preserver.LicenseMIT
Package: paperscrollsdk
PaperScroll SDK для Python3.6+PaperScroll SDK для Python3.6+простая реализация методов API PaperScrollДокументация PaperScroll APIУстановка$pipinstallpaperscrollsdkПример использованияfrompaperscrollsdkimportPaperScrollpaperClient=PaperScroll(merchant_id,"access_token")paperApi=paperClient.getApi()someMerchants=paperApi.getMerchants()print(someMerchants)Баги и PRРепозиторий открыт для изменений! Если вы заметили какую-то ошибку связанную с кодом, откройтеIssueи если знаете, как эту ошибку решить, открывайтеPull Request
Package: paper-secret
Paper-SecretShamir Secret Sharing on paper using gfshare.InstallationPyPihttps://pypi.org/project/paper-secret/DependenciesRequired and optional dependencies with example how to install them for Arch Linux.gfshareis required to split (enpaper) and merge (depaper) the secret.
Seeman gfsharefor an explanation of Shamir Secret Sharing in gf(2**8).sudopacman-S--neededlibgfshareqrencodeandimagemagick(convert) are required to create and merge QR-codes during the split process.
One can pass-qtoenpapaerto skip this step.sudopacman-S--neededqrencodeimagemagickenscriptandghostscript(ps2pdf) are required to create a PDF containing the split secret in text form.
One can pass-ttoenpaperto skip this step.sudopacman-S--neededenscriptghostscriptUsageCreate a file with secret content:cat>secret.txtSplit the secret into 5 lines:enpapersecret.txtManually delete up to 2 of the 5 lines insecret.txt_txt.txt.Then recreate the secret:depapersecret.txt.split-text.txtPrint the secret:catsecret.txt.split-text.txt.merged.txtNoteshttps://en.wikipedia.org/Shamir's_Secret_SharingManually reconstructing the secret from k strings:For each string of the k stringsCreate a file which name begins withpartand ends with a dot and the first three characters of the stringFor examplepart.112Convert the 3rd to last character from base64 to binary and insert it into the fileExecutegfcombine part.*The filepartcontains the reconstructed secret
Package: papersize
papersize 📏 Paper size related toolsThis module provides tools to manipulate paper sizes, that is:a dictionary of several named standard names (e.g. A4, letter) , with their respective sizes (width and height);functions to convert sizes from one unit (e.g. inches) to another (e.g. centimeters);functions to manipulate paper orientation (portrait or landscape);tools to parse paper sizes, so that you do not have to worry about the format of paper sizes provided by your user, it being"a4"or"21cm x 29.7cm".What's new?Seechangelog.InstallSee the end of list for a (quick and dirty) Debian package.From sources:Download:https://pypi.python.org/pypi/papersizeInstall (in avirtualenv, if you do not want to mess with your distribution installation system):python3 setup.py installFrom pip:pip install papersizeQuick and dirty Debian (and Ubuntu?) packageThis requiresstdebto be installed:python3 setup.py --command-packages=stdeb.command bdist_deb
  sudo dpkg -i deb_dist/python-papersize-<VERSION>_all.debTestCurrent python version:python3 setup.py testAll supported python versions (usingtox):toxDocumentationThe documentation is available onreadthedocs.  You can build it using:cd doc && make html
Package: paperslacktail
paperslacktail. because you don't get enough slack messages already------------------------------------------paperslacktail, a tool that wraps the wonderful papertrail-cli gem and the slack api to stream syslog from papertrail straight into slack.you'll need to have the papertrail gem installed.examples of awesome~~~~~~~~::# stream all messages from your production papertrail grouppaperslacktail --slack-token <slack-token> \--slack-channel <slack-channel-id> \'-c ~/.papertrail.yml -g Production'usage~~~~~::usage: paperslacktail.py [-h] [--slack-token SLACK_TOKEN][--slack-channel SLACK_CHANNEL] [--debug]papertrail-argsstream syslog from papertrail to slackpositional arguments:papertrail              arguments to pass to the papertrail command, like '-c~/.papertrail.yml -g Production'. Note that '-j -f' isrequired and is passed by default. Pass this inquotes.optional arguments:-h, --help                       show this help message and exit--slack-token SLACK_TOKEN        Slack token for your bot--slack-channel SLACK_CHANNEL    Slack channel to post to, like C0600UX9E--debug                          log to stdoutinstall~~~~~~~to install from source, clone the repo and ``python setup.py install``, alternatively you can simply ``pip install paperslacktail``be sure to ``gem install papertrail`` so that you have the papertrail cli installed.deploy with docker~~~~~~~paperslacktail can quickly be deployed as a docker container that is ready to rock.simply provide the container a papertrail api token, a slack token, and a slack channel id and you're up and running.::docker run -d -e 'PAPERTRAIL_API_TOKEN=<papertrail>' \evanscottgray/paperslacktail --slack-token <slack-token> \--slack-channel <slack-channel-id> \'-g Production'links and things~~~~~~~~~~~~~~~~- Dockerhub_- Github_- PyPI_.. _Dockerhub: https://registry.hub.docker.com/u/evanscottgray/paperslacktail/.. _Github: https://github.com/evanscottgray/paperslacktail.. _PyPI: https://pypi.python.org/pypi/paperslacktail
Package: paper-speedinfo
paper-speedinfoПатч библиотекиdjango-speedinfoдляpaper-adminRequirementsPython >= 3.6Django >= 2.1InstallationAddpaper_speedinfobeforespeedinfoto your INSTALLED_APPS setting.INSTALLED_APPS=[# ...'paper_speedinfo','speedinfo',# ...]MIDDLEWARE=[# ...'speedinfo.middleware.ProfilerMiddleware',# ...]CACHES={'default':{'BACKEND':'speedinfo.backends.proxy_cache','CACHE_BACKEND':'django.core.cache.backends.locmem.LocMemCache',}}SPEEDINFO_STORAGE="speedinfo.storage.cache.storage.CacheStorage"SPEEDINFO_EXCLUDE_URLS=[r'/admin/',]
Package: paperstream
PaperStreamis a web app that helps you to create multiple-choice
questionnaires/diaries that can be marked automatically and transcribed
to a digital CSV file. This web app was developed within the SKIP
project at the Interaction Analysis and Modelling (IAM) Lab of the
University of Manchester, UK.For more information check the official docs at
https://paperstream.netlify.com/HistoryVersion 1.1.0 (2018-06-02) Add support for PNG files, code refactoring,
add tests, bug fixes Version 1.0.1 (2018-01-21) Fix bug with font
textbox Version 1.0.0 (2017-11-11) - First release.CreditsLead Developer - Julio VegaSpecial mention to the authors of two projects that were adapted and
used in this web app:Luke Plant:booklet-makerRaphael Baron:omr
Package: papers-without-code
papers-without-codeA Python package (and website) to automatically attempt to find GitHub
repositories that are similar to academic papers.InstallationStable Release:pip install papers-without-codeDevelopment Head:pip install git+https://github.com/evamaxfield/papers-without-code.gitUsageProvide a DOI, SemanticScholarID, CorpusID, ArXivID, ACL,
or URL from semanticscholar.org, arxiv.org, aclweb.org,
acm.org, or biorxiv.org. DOIs can be provided as is.
All other IDs should be given with their type, for example:doi:10.18653/v1/2020.acl-main.447orCorpusID:202558505orurl:https://arxiv.org/abs/2004.07180.CLIpipinstallpapers-without-code

pwocquery# or pwoc path/to/file.pdfPythonfrompapers_without_codeimportsearch_for_repossearch_for_repos("query")# search_for_repos("path/to/file.pdf")⚠️ Prior to using PWOC with a PDF you must be logged in to Docker CLI viadocker loginbecause we automatically fetch, spin up, and tear down containers for processing. ⚠️How it WorksIn short, we pass the query on to the Semantic Scholar search service
(wrapped bydanielnsilva/semanticscholar)
which provides us basic details about the paper. We then useKeyBERTto extract keywords from the paper
title and abstract. We then make multiple threaded requests to GitHub's API
for repositories which match the keywords. Once we have all the possible repositories
back, we rank them by similarity between the repository's README and the paper's
abstract (or if not available, it's title).When using Papers without Code locally and providing a filepath, the only change to
this workflow, is keyword extraction. When local and providing a filepath,
we useGROBIDto extract
keywords from the full text of the paper in addition to the title and abstract.DocumentationFor full package documentation please visitevamaxfield.github.io/papers-without-code.Exploratory data analysis of the dataset used for testingDevelopmentSeeCONTRIBUTING.mdfor information related to developing the code.MIT License
Package: papertools
PaperToolsPaperTools is a module which offers tons of usefull features fordiscord.pybots.Quick LinksPyPI HomepageInstallTo install the library, you need the latest version of pip and minimum Python 3.9Stable versionpip install papertoolsUnstable version (this one gets more frequent changes)pip install git+https://github.com/paper-devs/papertoolsExamplesIn-depth examples are located in theexamples folderHere's a quick example:importpapertoolsimportdiscordconverter=papertools.Converter()timetools=papertools.TimeTools()pg=papertools.paginatorclassMyBot(commands.Bot):def__init__(self)->None:super().__init__(command_prefix='!',intents=discord.Intents.all())asyncdefon_ready(self)->None:print("I'm online!")classExampleCog(commands.Cog):def__init__(self,bot)->None:self.bot=bot@commands.command()asyncdeftest(self,ctx:commands.Context):embeds=pg.embed_creator("Very long text"*10000,1995,prefix='```\n',suffix='\n```')paginator=pg.Paginator(bot,embeds,ctx,invoker=ctx.author.id)paginator.default_pagination()awaitpaginator.start()@commands.command()asyncdeffromsuffix(self,ctx:commands.Context,string:str)->None:fromsuffix_string=converter.fromsuffix(string)awaitctx.send(fromsuffix_string)@commands.command()asyncdeftosuffix(self,ctx:commands.Context,number:int)->None:tosuffix_string=converter.fromsuffix(number)awaitctx.send(tosuffix_string)@commands.command()asyncdefhumanize_time(self,ctx:commands.Context,number:int,short:bool)->None:humanized_time=timetools.humanize(number,short)awaitctx.send(humanized_time)bot=MyBot()bot.run("token here")
Package: papertrack
PapertrackA tool for managing documents, their states and their metadata as well as their collection.Example of downloading package from arxiv:papertrack get --downloader simple --collector simple \
    --title "A consumption-investment model with state-dependent lower bound constraint on consumption" \
    --year 2021 \
    --author "Chonghu Guan" --author "Zuo Quan Xu" --author "Fahuai Yi" \
    --download-url https://arxiv.org/pdf/2109.06378.pdf \
    --field "Math/Finance"Papertrack can be configured using configuration file as one below in~/.papertrack/config.json:{
	"states": {
		  "READY": {
			   "READING": "Start reading",
		  },
		  "READING": {
			     "DONE": "Finish reading",
			     "READY": "Bring back to to-read state"
		  }, 
          "DONE": {}
	},
	"default_state": "READY",
	"storage_location": "/home/user/MyPapers/",
	"fields": {
		  "Computer Science": {
			    "default": "Algorithms",
			    "categories": ["Algorithms", "Theory"]
		  }
	},
	"default_field": "Computer Science"
}
Package: papertronics-sdk
papertronics-sdkThisSoftwareDevelopmentKit aims to make it easy for external services, likethe Beer-O-Meter, to interact with the SG Papertronics LAB backend.
This application isOpen Sourcefor anyone to use to integrate their software with our LAB system. However, proper credentials are required in order to access the system.
To purchase these credentials, please contactj.g.heersink@sgpapertronics.comor contact us viaour website.
Package: paperweight
paperweightPaperweight is a Python package for hacking LaTeX documents.Paperweight operates on LaTeX documents either on the local filesystem, or as a commit in a git repository.
Paperweight can be used to manipulate documents, such as embedded input files and bibliographies, or can provide analytics such as rich information about references made in a document.
See the API documentation below for further information.Paperweight isdeveloped on GitHubunder an open BSD license.InstallationYou can install the latest Paperweight and its dependencies from PyPI:pip install paperweightYou can also install the bleeding-edge from git:pip install git+git://github.com/jonathansick/paperweight.gitAlternatively you can develop directly on the git source repository:git clone https://github.com/jonathansick/paperweight.git
cd paperweight
python setup.py develop
python setup.py build_sphinxContributorsJonathan SickMatthew SottilePaperweight was created as a hack for .Astronomy 6 (2014) in Chicago.Copyright 2015 Jonathan Sick, @jonathansickBSD Licensed
Package: paperwork
Paperwork is a tool to make papers searchable.The basic idea behind Paperwork is “scan & forget” : You should be able to
just scan a new document and forget about it until the day you need it
again.
Let the machine do most of the work.Main features are:
- Scan
- Automatic orientation detection
- OCR
- Indexing
- Document labels
- Automatic guessing of the labels to apply on new documents
- Search
- Keyword suggestions
- Quick edit of scans
- PDF support
Package: paperwork-backend
DescriptionPaperworkis a GUI to make papers searchable.This is the backend part of Paperwork. It manages:The work directory / Access to the documentsIndexingSearchingSuggestionsImportExportThere is no GUI here. The GUI is located here:https://gitlab.gnome.org/World/OpenPaperwork/paperwork/tree/master/paperwork-gtk.Regarding the name "Paperwork", it can refer to both the GUI or the backend. If you want to be specific, you can call the gui "paperwork-gtk" instead of just Paperwork.DependenciesPillow: Image manipulation (with JPEG support)Whoosh: To index and search documents, and provide keyword suggestionsLibpoppler (PDF support)CairoGobject IntrospectionUsageYou can find some examples in scripts/. You can also look at the code ofPaperworkfor
reference.Here are some snippets:# TODO(Jflesch): UPDATEContact/HelpDevelopement is strongly related to Paperwork-gui.Mailing-listExtra documentation / FAQ / Tips / WikiBug trackersContactMailing-listBug trackerLicenceGPLv3 or later. See LICENSE.DevelopmentDevelopement is strongly related to Paperwork-gui.
All the information can be found onthe wiki.
Package: paperwrap
Paperwork API Wrapper and Command Line Client=============================================| |Build Status| |Scrutinizer Code Quality|| `paperwork <https://github.com/twostairs/paperwork>`__ is 'an opensource note-taking and archiving tool'.| Supported: python 2.7, 3.3+| Tests can be run with ``./run_tests.py``.PyPI entry: `paperwrap <https://pypi.python.org/pypi/paperwrap/>`__| ``wrapper.py`` is the actual api-wrapper.| ``models.py`` contains classes for paperwork-instances, notebooks,notes and tags.| ``paperwork.py`` is a command-line client with the entry-point``paperwrap``.Command Line Interface======================``paperwrap`` connects to the remote host and provides a command lineinterface to manage the notes. The credentials are read with requestsfrom the ``.netrc`` file... |Build Status| image:: https://travis-ci.org/ntnn/paperwork.py.svg?branch=master:target: https://travis-ci.org/ntnn/paperwork.py.. |Scrutinizer Code Quality| image:: https://scrutinizer-ci.com/g/ntnn/paperwork.py/badges/quality-score.png?b=master:target: https://scrutinizer-ci.com/g/ntnn/paperwork.py/?branch=master
Package: papery
PaperyStatic site generator with Jinja2 templates and structured content in Markdown, YAML, and JSONFeaturesDescribe content with Markdown, YAML, and JSONJinja2 templatingRequirementsJinja2markdownpymdown-extensionspyyamlyamllintjsonlintmarkdownlint-clipykwalifyInstallationPapery is available onpypi.pip install paperyUsageCreating a new siteRun the following commandcd path/to/your_site/directorypapery initRun with the development serverpapery runYou can see your web site viahttp://localhost:8000. All pages are automatically updated when you modified any resources.Build manuallypapery buildApply local Markdownlint rulesYou can set local Markdownlint rule file for Markdown file validation. By setting it anywhere underpath/to/your_site/directory, it has priority over thedefault rules.Filenames ending withmarkdownlint.yamlormarkdownlint.ymlcan be used to apply Markdownlint local rules.TODOdocumentationstyling with SASS/SCSSLicenseCopyright 2013-2023Xcoo, Inc.Licensed under theApache License, Version 2.0.
Package: papexp
Paprika ExporterExport Paprika data using the API to yamlIntroductionThis tool statically generates a list of Paprika recipes in YAML format, with a related folder of images.Installationpip3 install papexpIssuesMake sure to delete recipes from the trash in the app because it can cause errors.This code places the recipes yaml file in the _data/ directory, and creates it if it does not exist.This code puts image files into assets/images/recipes, and creates that folder if it does not exist. This is not compatible with the original sstarcher code which used "images/recipes". You may need to relocate these files after retreval if it does not match your required file path.Example python codeimport papexp
from papexp import core
papexp.core.checkandrun()Examples on the webYou can see this live onchrisfnicholson.com@datapolitical/chrisfnicholson.github.ioruns this code in its build_jekyll.yml workflow to routinely pull new recipes. An edited version is available as a workflow in this repository.This code is almost entirely the work ofShane Starcher. I’m deeply grateful to him for building this.My goal with this package is to make implementation of his code on your website dead simple.
Package: paphra-table
# Python Table by Paphra------------------------: This module creates a 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-tablefrom paphra_table import tabletb = table.Table(master)         # any master can work~~~~----------------------