Saravanan666/pypi-org huggingface dataset:
Package: pagarmepy
pagarme.py========================================[![Build Status](https://travis-ci.org/michaeltcoelho/pagarme.py.svg)](https://travis-ci.org/michaeltcoelho/pagarme.py)[![Coverage Status](https://coveralls.io/repos/michaeltcoelho/pagarme.py/badge.svg)](https://coveralls.io/r/michaeltcoelho/pagarme.py)O pagarme.py oferece integração com a API REST de pagamentos do Pagar.me utilizando Python.> Durante a integração de sua aplicacão com o Pagar.me, consulte a referência da API,> para estar ciente das informações necessárias para realizar a integracão.> Referência da API [https://pagar.me/docs/api/](https://pagar.me/docs/api/)Instalação=========================================Você pode instalar via pip:```pip install pagarmepy```ou clonando o repositório e instalando localmente:```git clone https://github.com/michaeltcoelho/pagarme.pycd pagarmepip install -r requirements.txtpython setup.py install```Testes==========================================Rodando os testes:```bashmake test```Como usar===========================================Registre-se no Pagar.me e pegue sua `Chave da API` e `Chave de criptografia` do ambiente de testes.[https://pagar.me/](https://pagar.me/).Configurar o pagarme.py utilizando as próximas duas maneiras, ficará uma objeto global disponível da classe `PagarmeApi:class:`que é responsável por manipular as requisições e respostas do Pagar.me:```pythonfrom pagarme import apiapi.configure({'api_key': 'Sua chave da API','encryption_key': 'Sua chave de criptografia'})```Configure através de variáveis de ambiente:```bashexport PAGARME_API_KEY='Sua chave da API'export PAGARME_ENCRYPTION_KEY='Sua chave de criptografia'```Para não trabalhar com um objeto global:```pythonfrom pagarme import api, resourcesmy_api = api.PagarmeApi({'api_key': 'Sua chave da API','encryption_key': 'Sua chave de criptografia'})plan = resources.Plan({...}, api=my_api)```Criar um Plano===========================================## LicenseWritten by Michael CoelhoReleased under the MIT License: http://www.opensource.org/licenses/mit-license.php
Package: pagarme-py
pagarme.py========================================[![Build Status](https://travis-ci.org/michaeltcoelho/pagarme.py.svg)](https://travis-ci.org/michaeltcoelho/pagarme.py)[![Coverage Status](https://coveralls.io/repos/michaeltcoelho/pagarme.py/badge.svg)](https://coveralls.io/r/michaeltcoelho/pagarme.py)O pagarme.py oferece integração com a API REST de pagamentos do Pagar.me utilizando Python.> Durante a integração de sua aplicacão com o Pagar.me, consulte a referência da API,> para estar ciente das informações necessárias para realizar a integracão.> Referência da API [https://pagar.me/docs/api/](https://pagar.me/docs/api/)Instalação=========================================Você pode instalar via pip:```pip install pagarme.py```ou clonando o repositório e instalando localmente:```git clone https://github.com/michaeltcoelho/pagarme.pycd pagarmepip install -r requirements.txtpython setup.py install```Testes==========================================Rodando os testes:```bashmake test```Como usar===========================================Registre-se no Pagar.me e pegue sua `Chave da API` e `Chave de criptografia` do ambiente de testes.[https://pagar.me/](https://pagar.me/).Configurar o pagarme.py utilizando as próximas duas maneiras, ficará uma objeto global disponível da classe `PagarmeApi:class:`que é responsável por manipular as requisições e respostas do Pagar.me:```pythonfrom pagarme import apiapi.configure({'api_key': 'Sua chave da API','encryption_key': 'Sua chave de criptografia'})```Configure através de variáveis de ambiente:```bashexport PAGARME_API_KEY='Sua chave da API'export PAGARME_ENCRYPTION_KEY='Sua chave de criptografia'```Para não trabalhar com um objeto global:```pythonfrom pagarme import api, resourcesmy_api = api.PagarmeApi({'api_key': 'Sua chave da API','encryption_key': 'Sua chave de criptografia'})plan = resources.Plan({...}, api=my_api)```Criar um Plano===========================================## LicenseWritten by Michael CoelhoReleased under the MIT License: http://www.opensource.org/licenses/mit-license.php
Package: page
Page, a static website generatorcreates a well organized website with clear navigation
reflecting the folder structure of source text documentsfast, well compressed, mobile friendly pagesfeed and sitemap files for your subscribers and search enginesimport from any CMS DB (inc. Wordpress), import HTML sitesWriters love distraction free conventional plain textformatting.
Template designers love the easy to read, beautiful and powerfultemplate language.Installation and runPage is a small command line program written in Python programming language.
It requirespython installed, which lets user
install Page on any platform in a single command.pip install pageBy default, Page will collect all text files in current folder
and create a HTML website in a static folder using default templates. Run the programpageit will look for a config file./page.ymlwith custom options.source: /markdown/source/folder/
target: /target/folder/
tpl: /custom/template/folder/
ext: ''  # or '.htm'
ctx:
    site_name: 'My Site'
    site_url: https://example.orgBatteries includedMinimal default template.Page has lots of tests including one importing an existing HTML site,
converting it to source markdown files and then back into a static HTML site
in full circle. This code can inspire users to convert existing static site
or one powered by a slow Content Management System to simple
markdown powered static site and maintain it with Page.Programmers using Djagno Web Framework can make their sites faster and less demanding
usingstatic cache generationhelpers provided,
seestatic.py.Example websites using page with sourcesNormy Jedal/Dish standardsin Slovak language[sources]Sip Sip — Herbal Medicinein Slovak language[sources]Bloclactivist literature,blog,privacy policy[sources]Note: public repositories for projects using page begin with word "revisions" to prevent them
from being indexed in public search engines as pergithub.com/robots.txtE-commerce features for static shops (prototype cart, checkout, persistence, implemented as a template)Designed in Slovakia byFrancis Malina.
Package: pagebotosx
PageBotOSXMac OS X counterpart for PageBot, based on DrawBot.InstallationPagebot runs on Python 3. We recommend updating to 3.7+.System WideTo installpagebotosxas a general Python package:pip install pagebotosxUpgrade to the latest if already installed:pip install pagebot pagebotosx --upgradeVirtual EnvironmentTo setuppagebotosxand its requirements in a virtual environemnt environment:pip install virtualenv
mkdir ~/virtualenvironment
virtualenv ~/virtualenvironment/pagebot
cd ~/virtualenvironment/pagebot/bin
source activate
pip-3.8 install pagebotosxUsageSeegithub.com/PageBot/PageBot.Issue TrackingBugs, enhancements and requested features can be added to the GitHub issue tracker:https://github.com/PageBot/PageBotOSX/issueshttps://github.com/PageBot/PageBotOSX/projectshttps://github.com/PageBot/PageBotOSX/milestonesExternal LinksDownload:PyPiContinuous Integration:TravisDocumentation:ReadTheDocsMain PageBot repository:github.com/PageBot/PageBotExamples repository:github.com/PageBot/PageBotExamplesLicencingThe core library, tutorials and basic examples for PageBot are available
under the MIT Open Source license. Some depencendies have been included in
this repository and are available under their own licenses. See also theLICENSE.PageBot® is a registered trademark
U.S. Serial Number: 87-457,280
Owner: Buro Petr van Blokland + Claudia Mens VOF
Docket/Reference Number: 1538-25
Package: pagebuilder
PageBuilderPageBuilder is a Python library that offers a simple and intuitive way to create UI components for web apps without the need to write HTML code.Key FeaturesProvides semantic Python components that compile into HTML, making it easy to use with any web framework.Comes with a range of semantic Python components, including headers, text, forms, buttons, and links.Is designed to work well with Python autocomplete, enabling quick and easy exploration of the available components and their arguments.Offers an alternative to hand-coding Flask templates, streamlining UI development for web apps.The default style uses TailwindCSS, a popular CSS framework known for its utility-first approach.Allows you to insert any HTML into the page by using the Page.add_html() method, providing you with the flexibility to add custom components or use third-party libraries as needed.Offers an easy-to-use theming system, allowing you to choose from a variety of pre-built themes, including the default theme based on TailwindCSS.Allows for additional themes to be added using different CSS frameworks by accepting pull requests from contributors.Why PageBuilder?PageBuilder is a great fit for developers who want to:Create UI components for web apps using Python code without the need to write HTML.Use a Python library that works seamlessly with any web framework.Build UIs using a range of semantic Python components with explicit arguments.Use a utility-first CSS framework, such as TailwindCSS, to style their UI components without the need for custom CSS code.Insert any HTML into the page when a pre-built component doesn't fit their needs.Customize the style of their UI components by choosing from a variety of pre-built themes or by contributing new themes that use different CSS frameworks.Getting StartedTo get started with PageBuilder, simply install the library using pip:pipinstallpagebuilderOnce installed, you can begin creating UI components by creating a new Page object and adding components to it using the add_* methods. You can then return the page as HTML by calling page.to_html().For example, to create a new page with a header and a paragraph of text, you could use the following code:importpagebuilderaspbpage=pb.Page()page.add_header("Welcome to PageBuilder!")page.add_text("PageBuilder is a Python library for creating UI components for web apps without the need to write HTML code.")print(page.to_html())This will output the following HTML:<divid="page-container"class="container px-5 my-5 mx-auto"><pclass="mb-4 font-extrabold leading-none tracking-tight text-gray-900 dark:text-white  text-xl sm:text-5xl ">Welcome to PageBuilder!</p><pclass="mb-6 text-lg font-normal text-gray-500 lg:text-xl dark:text-gray-400">PageBuilder is a Python library for creating UI components for web apps without the need to write HTML code.</p></div>ContributionsPageBuilder is an open-source library, andcontributionsare welcome! If you have an idea for a new feature or theme, or if you find a bug and want to submit a fix, feel free to open a pull request.Thanks for considering PageBuilder!
Package: pagecache
WSGI caching middleware.PageCache is a WSGI middleware that can be used to cache complete responses
from WSGI applications. PageCache works well with memcached but can be used
with other caching backends as well.PageCache has not been widely tested, use with caution.UsageHere’s a simple example to get you started:from pagecache import PageCacheMiddleware

app = ...
cache = memcache.Client(...)
cached_urls = (('/foo', 30, 120), # url prefix, TTL, grace period
               ('/bar', 3600, 60))
app = PageCacheMiddleware(app, cached_urls, cache)Cached urlsThe list of urls to cache is given in thecached_urlslist (or tuple).
Each entry of this list is a tuple in the following format:(<url prefix>, <TTL in seconds>, <grace period in seconds>)Pages are served from the cache in the TTL period. When the TTL period has
expired the grace period begins. The first request coming in in the grace
period will recalculate the page and store the new result in the cache.
While the new result is being calculated stale results are served from the
cache (until the grace period expires). This is to protect against thedog-pile effectThe cache objectPageCache was only tested with memcached, but it may work with other cache
backends as well. The only requirement is that the cache object should have
the following methods with reasonably similar semantics as in memcached:get,set,delete,addA note on cookiesAll Set-Cookie headers returned by the application will be ignored.
Also, depending on your application you’ll most probably want to make sure
that the application doesn’t use any incoming cookie information to calculate
responses that will be cached.InstallYou can install the latest version from thegithub repository:git clone git://github.com/abiczo/pagecache.git
cd pagecache
python setup.py installTODOmore unit testingbetter syntax for the cached urls configurationregexp based url matchingconfigurable cache keys (so that multiple applications can use the same
memcached instance without having to worry about having the same cached urls)configurable request charsetPatches / pull-requests are welcome.Contactabiczo@gmail.com
Package: pagecache-tools
pagecache_hit_missOverviewThis is a set of tools to monitor the memory used as pagecache.For now it only has a tool which monitors the pagecache hit/missThe idea is to add more tools, for example unify the pagecache_ttl (currently in an independent repo)https://github.com/sciclon2/pagecache_ttlTechnical detailsThe cache hit and miss metric is gathered counting the kernel functions, following the Brendan Gregg ideahttps://www.brendangregg.com/blog/2014-12-31/linux-page-cache-hit-ratio.htmlUsing eBPF we track and cound the following Kernel functions:mark_page_accessed() for measuring cache accessesmark_buffer_dirty() for measuring cache writesadd_to_page_cache_lru() for measuring page additionsaccount_page_dirtied() for measuring page dirtiesDependenciesThis tool needs BCC, please follow the instructions bellow:https://github.com/iovisor/bcc/blob/master/INSTALL.mdInstallationVia pip:foo@bar:~#pipinstallpagecache_toolsLocal in this repository root:foo@bar:~#pipinstall-e.Examplefoo@bar:~#/usr/local/bin/pagecache_hit_miss--helpusage: pagecache_hit_miss [-h] [--interval-seconds INTERVAL_SECONDS][--daemon] [--send-metrics-to-dogstatsd][--log-level {INFO,DEBUG}] [--log-file LOG_FILE]PageCache Hit/Missoptional arguments:-h, --help            show this help message and exit--interval-seconds INTERVAL_SECONDSSets the interval to get the missed/hit values andcalculate the avg.--daemon              Execute the program in daemon mode.--send-metrics-to-dogstatsdSend metrics to local DogStatsDhttps://docs.datadoghq.com/developers/dogstatsd/--log-level {INFO,DEBUG}Sets the log level--log-file LOG_FILE   Sets the log file.
Package: pagecraft
pagecraftPowerful package and easy to use that simplifies the creation of pagination in your appsInstallingpip install pagecraftTutorialfrompagecraftimportPageCraftlista_de_objetos=["Automatización Eficiente con Python","Explorando las Profundidades de Python","Desarrollo Web Moderno con Python y Flask","Introducción a la Ciencia de Datos con Python","Creando Aplicaciones de Escritorio con Python y PyQt","Aventuras en el Aprendizaje Automático con Python","Python y la Internet de las Cosas (IoT)",]pgcraft=PageCraft(lista_de_objetos)# Get first pagepage=pgcraft.page(1)PageCraftAlchemy Tutorialfromsqlalchemyimportcreate_engine,Column,Integer,Stringfromsqlalchemy.ormimportsessionmaker,declarative_basefrompagecraft.alchemyimportPageCraftAlchemyBase=declarative_base()classFrases(Base):__tablename__="frases"id=Column(Integer,primary_key=True)texto=Column(String)def__str__(self):returnself.textoengine=create_engine("sqlite:///:memory:")Base.metadata.create_all(engine)Session=sessionmaker(bind=engine)session=Session()foriinrange(1,21):frase=Frases(texto=f"Frase{i}")session.add(frase)session.commit()query=session.query(Frases)alchemycraft=PageCraftAlchemy(query)# Get first pagepage=alchemycraft.page(1)Accessing data:# Get data from pagepage.data# True or False if next page existspage.has_next_page# Get the next page numberpage.next_page# True or False if prev page existspage.has_prev_page# Get the prev page numberpage.prev_page# Get the current page numberpage.numberExtend the data returned# set integer number as second argumentpgcraft=PageCraft(lista_de_objetos,20)alchemycraft=PageCraftAlchemy(query,20)Release Notes (0.0.6)add PageCraftAlchemy : create easy pagination forSqlalchemy ORMnow there are 10 items returned by default
Package: pageflow
PageFLowPageFlowis a Python (2 and 3) library for webpage search result crawler.
It provides a simple API and support Google, Baidu, Bing search engines.
[https://pypi.org/project/pageflow/]Featuressupport pages argument instead of just the first pate result.support redirect pages information extraction.Installation1. using pippipinstallpageflow2. using setup.pygitclonehttps://github.com/Lapis-Hong/PageFlow.gitcdPageFlow
pipsetup.pyinstallUsagefrompageflowimportPageFlowquery="python"pages=1# search results total pagespf=PageFlow("baidu",proxies=None)# Get search page html.html=pf.get_html(query=query,pages=pages)# The following results are all generator of SearchResult obj.# Get search result urls.url=pf.get_url(query=query,pages=pages)# Get search result titles.title=pf.get_title(query=query,pages=pages)# Get search result abstract.abstract=pf.get_abstract(query=query,pages=pages)# Get search result redirect html.redirect_html=pf.get_redirect_html(query=query,pages=pages)# Get search result redirect content.redirect_content=pf.get_redirect_content(query=query,pages=pages)# Get search result title, abstract and url.result=pf.get(query=query,pages=pages)# Get search result title, abstract, url, redirect html and redirect content.result_all=pf.get_all(query=query,pages=pages)Referenceshttps://github.com/howie6879/magic_googlehttps://github.com/meibenjin/GoogleSearchCrawlerhttps://github.com/chrislinan/cx-extractor-python
Package: pageinfo
pageinfo====pageinfo is a simple module for extracting information from web pages. Currently, pageinfo will return the following from a url, where available:* Canonical* Title* Description* Favicon* Twitter card data* Facebook Open Graph data##installation`pip install pageinfo`##usageimport pageinfopageinfo.get_meta('http://www.myurl.com')The above code will return a dict with the available page information. Here's a sample response for `http://www.nytimes.com/pages/technology/index.html`:{"canonical": "http://bits.blogs.nytimes.com/2013/11/20/a-gift-from-steve-jobs-returns-home/""twitter": {"twitter:title": "A Gift From Steve Jobs Returns Home","twitter:image": "http://graphics8.nytimes.com/images/2013/11/18/technology/bits-brilliant-jobs/bits-brilliant-jobs-thumbLarge.jpg","twitter:description": "An Apple II that spent the last 33 years in Katmandu, Nepal, most of it packed away in a hospital basement there, was a rare symbol of the charity of Steven P. Jobs.","twitter:url": "http://bits.blogs.nytimes.com/2013/11/20/a-gift-from-steve-jobs-returns-home/"},"favicon": "http://bits.blogs.nytimes.com/favicon.ico","facebook": {"og:url": "http://bits.blogs.nytimes.com/2013/11/20/a-gift-from-steve-jobs-returns-home/","og:site_name": "Bits Blog","og:type": "article","og:description": "An Apple II that spent the last 33 years in Katmandu, Nepal, most of it packed away in a hospital basement there, was a rare symbol of the charity of Steven P. Jobs.","og:title": "A Gift From Steve Jobs Returns Home","og:image": "http://graphics8.nytimes.com/images/2013/11/18/technology/bits-brilliant-jobs/bits-brilliant-jobs-videoSixteenByNine600.jpg"},"description": "An Apple II that spent the last 33 years in Katmandu, Nepal, most of it packed away in a hospital basement there, was a rare symbol of the charity of Steven P. Jobs.","title": "A Gift From Steve Jobs Returns Home - NYTimes.com"}Alternately, if you just need page titles and want a minimal response, use:import pageinfopageinfo.get_title('http://www.myurl.com')
Package: pagelabels
pagelabels python libraryThis is a little library, based onpdfrw, that helps manipulate PDF page labels in python.
It can parse page labels from  a PDF, edit page labels, and write them in a PDF.For more info about page labels, see:https://www.w3.org/TR/WCAG20-TECHS/PDF17.htmlClassesPageLabelsPageLabelSchemePageLabelsInherits from list and represents a list ofPageLabelSchemes.PageLabels.from_pdf(pdfrwobj)Static method.
Read page labels from a PdfReader object..write(pdfrwobj)Write the page labels to a PdfReader object.PageLabelSchemeInherits from a named tuple with fields:startpage: Index in the PDF where to start numbering pages according to this schemestyle: one of the stringsarabic,roman uppercase,letters uppercase,roman lowercase,letters lowercaseprefix: string to prepend to all page labelsfirstpagenum: where to start the indexExamplefrompdfrwimportPdfReader,PdfWriterfrompagelabelsimportPageLabels,PageLabelSchemereader=PdfReader("input.pdf")labels=PageLabels.from_pdf(reader)newlabel=PageLabelScheme(startpage=3,# the index of the page of the PDF where the labels will startstyle="roman",# See options in PageLabelScheme.styles()prefix="Appendix ",firstpagenum=1)# number to attribute to the first page of this indexlabels.append(newlabel)# Adding our page labels to the existing oneslabels.write(reader)writer=PdfWriter()writer.trailer=readerwriter.write("output.pdf")
Package: pagemarks
pagemarksFree, git-backed, self-hosted bookmarksRequirementsGit (1.7.x or newer)Python >= 3.10StatusUnder development - do not use yetBookmark File FormatEach bookmark is stored in a JSON document with the following fields:FieldTypeMandatory?Descriptionnamestringnothe bookmark's titleurlstringYESthe bookmark's URLtagsarray of stringsnoTags must be[a-z0-9_-]{1,20}, that is 20 characters or shorter, lower-case alphanumeric plus hyphen and underscore.notesstringnoplain text notes about the bookmarkdate_addedstringnoDate when the bookmark was added, in the format2021-08-05 16:12:00. A date-only format is possible (2018-10-15) in which case the time is assumed to be00:00:00. The timezone is always UTC. Missing dates are treated as the epoch.DevelopmentRefresh CI image:docker login registry.gitlab.com
docker pull python:3.10-slim-bullseye
docker build -t registry.gitlab.com/barfuin/pagemarks/ci:latest -f Dockerfile.ci --progress=plain .
docker push registry.gitlab.com/barfuin/pagemarks/ci:latest
Package: page-monitor
# Page Monitor[![Build Status](https://travis-ci.org/MarcDufresne/page-monitor.svg?branch=master)](https://travis-ci.org/MarcDufresne/page-monitor)
![PyPI](https://img.shields.io/pypi/v/page-monitor.svg)
![PyPI - License](https://img.shields.io/pypi/l/page-monitor.svg)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/page-monitor.svg)
![PyPI - Status](https://img.shields.io/pypi/status/page-monitor.svg)
![GitHub issues](https://img.shields.io/github/issues/MarcDufresne/page-monitor.svg)
![Read the Docs (version)](https://img.shields.io/readthedocs/page-monitor/latest.svg)_(If you are reading this on PyPI you can go on the
[project’s GitHub page](https://github.com/MarcDufresne/page-monitor)
for a properly formatted version)_This is an app that monitors web pages for changes,
with optional conditions, and is able to execute actions
based on changes, like send an email or a Telegram message.It will alsofully support JavaScriptrendering by using Chromium
in the background oncerequests-htmlreleases an Async compatible
version.## Quickstartpip install page-monitorCreate a tasks configuration filepage_monitor tasks.yml## DocumentationDocumentation available on
[Read The Docs](http://page-monitor.readthedocs.io/en/latest/)Documentation source
[here](https://github.com/MarcDufresne/page-monitor/tree/master/docs)