Saravanan666/pypi-org huggingface dataset:
Package: templer.dexterity
IntroductionDexterity is a content-type development tool for Plone. It supports
Through-The-Web and filesystem development of new content types for Plone.
Templer is a Python source package skeleton creator.templer.dexterity provides a mechanism to quickly create Dexterity add-on
skeletons. It also makes it easy to add new content types to an existing
skeleton. New content types built with this tool are easy to integrate
with types you may have developed with Dexterity’s TTW schema editor.This is a development tool. You should be familiar with Plone and buildout to
use it. You should have already installed Dexterity in your Plone development
instance and be ready to start learning to use it.InstallationAdd these lines into buildout.cfg:[buildout]
parts =
   templer

[templer]
recipe = zc.recipe.egg
eggs =
   PasteScript
   templer.core
   templer.zope
   templer.plone
   templer.dexterity
   ${instance:eggs}Where instance is the part name of a Zope instance or ZODB client.Run buildout.UsageCreating a dexterity content package, typically done in your buildout’s src
directory:../bin/templer dexterityAdding a content-type skeleton to an existing package:cd yourbuildout/src/your-product/src
../../../bin/paster add content_typeAdding a behavior skeleton:cd yourbuildout/src/your-product/src
../../../bin/paster add behaviorYoumustadd your new project to your buildout and run buildout before
adding content types or behaviors to your new package.NotesEgg DirectoriesIn order to support local commands, templer will create Paste, PasteDeploy and
PasteScript eggs inside your product. These are only needed for development.
You can and should remove them from your add-on distribution.Also remove:setup_requires=["PasteScript"],
paster_plugins=["templer.localcommands"],from the packages setup.py.ErrorsIf you hit and error like this:pkg_resources.DistributionNotFound: plone.app.relationfield:
Not Found for: my.product (did you run python setup.py develop?)when attempting to runpaster add, then you need to ensure that
Paster knows about all the relevant eggs from your buildout.Add${instance:eggs}to yourpastersection in your buildout, thusly:[templer]
recipe = zc.recipe.egg
eggs =
   ...
   ${instance:eggs}
   entry-points = paster=paste.script.command:runwhereinstanceis the name of yourplone.recipe.zope2instancesection.
Re-run the buildout and the issue should be resolved.Changelog1.0a1Mostly derived from zopeskel.dexterity; see that project’s repository for
earlier history.
[smcmahon]
Package: templer.django-project-app
ContentsIntroductionGetting the codeCreating applicationsChangelog1.21.11.00.1.10.1IntroductionThis package extends the functionality of the templer code generation
system. It builds upon the functionality oftempler.core, and depends on
that package.Templer.django-project-app provides basic support for creating Django
applications within an existing project like thestartprojectcommand
but in a more useful way.Getting the codeFor the latest stable version of the package useeasy_installorpip:$ easy_install templer.django-project-app
$ pip install templer.django-project-appYou could also retrieve the development version of the module like this:$ pip install -e git://github.com/Fantomas42/templer.django-project-app.git#egg=templer.django-project-appCreating applicationsAs with the parent package, templer.core, creating packages using
templer.django-project-app template is accomplished by using thetemplerscript. The script is invoked thus:$ templer django_project_appThis will create a basic application skeleton related to your project,
containing the models.py, urls.py and views.py which may be edited to
taste.If your application is not located within a project, you can also use the
script but with a different template name, like this:$ templer django_appChangelog1.2Adddjango_apptemplate for application created outside projects.1.1Pep8 on the code.Fix model’s meta verbose names.1.0Using class-based views.Adding structure for management commands.Completing the default model and admin classes.0.1.1Creation of atests.pyfile.The model name is now configurable.Renameprojectvar toproject_root.Add a post run message with instructions for installing the new created
applications.0.1Porting the code of the unreleasedpaster.django_project_applicationtotempler.django-project-app.
Package: templer.localcommands
ContentsIntroductionContributorsChangelog0.1b2 May 20, 20120.1b1 May 17, 2012IntroductionThis package provides the framework for local commands within the templer
system. In order for localcommands to be available to any templer package,
this package must be included.In general, this is accomplished through an extra for the package, so for
example if you wish to enable the local commands available for the templates
in the templer.plone package, you would reference the package thus:templer.plone[localcommands]This flexibility allows more advanced users to use lighter, more flexible
templates, while also supporting new users with templates that help them to
get started more quickly.ContributorsCris Ewing, original authorBased on code from zopeskel, contributors to which include:Daniel NouriTarek ZiadéMustapha BenaliSylvain ViollonAlan HoeyJosh JohnsonEmanuel SartorMatthew WilkesJoel BurtonCris EwingChris CallowayChris RossiChangelog0.1b2 May 20, 2012Fix packaging error
[cewing]0.1b1 May 17, 2012Add TemplerLocalCommand and TemplerLocalTemplate base classes, modelled
on the local command and template classes from zopeskel, with fixes
[cewing]Add tests for local command instance methods
[cewing]Package created using templer
[cewing]
Package: templer.plone.localcommands
ContentsIntroductionLocal CommandsExecuting Local CommandsProvided Local Templatesarchetypeplone_basicIssuesContributorsChangelogIntroductionThis package is part of the templer code generator system.  It provides local
command templates for thearchetypeandplone_basictemplates fromtempler.ploneand is dependent on that package.  Installingtempler.plone[localcommands]will automatically include this package.Local CommandsTempler local commands are an extension of thePasteScriptlocal command
concept which allow the user to insert additional features into a skeleton
package already created by a templer template.Executing Local CommandsThe first step in accessing local commands is to build a package skeleton
using one of the templer templates which support local commands:bin/templer plone_basic example.packageWhen the run is completed, you should see output that informs you that
localcommands are available for this new package:Your new package supports local commands. To access them, change
directories into the 'src' directory inside your new package. From there,
you will be able to run the command `paster add --list` to see the local
commands available for this package.Follow these instructions to see the local commands you have available to you
from the context of yourplone_basicpackage skeleton.  You may also runpaster add--list-allto see the full list of local commands available in
your current installation.  Commands not available within the current package
will be prefaced with an ‘N’ character in the listing.Provided Local TemplatesThis package provides local command templates for thearchetypeandplone_basictemplates:archetypecontenttypeA skeleton Archetypes content typeschema_fieldAn iterative generator for Archetypes schema fieldsplone_basicbrowserviewA zope BrowserView class, interface and templatebrowserlayerA zope BrowserLayer interface and GenericSetup registrationIssuesIssues with this package should be reported in the package repository onGitHub.ContributorsCris Ewing, AuthorBased on code from zopeskel, contributors to which include:Daniel NouriTarek ZiadéMustapha BenaliSylvain ViollonAlan HoeyJosh JohnsonEmanuel SartorMatthew WilkesJoel BurtonCris EwingChris CallowayChris RossiChangelog1.0b1 May 10, 2012Port contenttype and schema_field local command from zopeskel archetype
local commands
[cewing]Port BrowserView and BrowserLayer local commands from zopeskel plone local
commands
[cewing]Package created using templer
[Cris Ewing]
Package: templer.zope
ContentsIntroductionCreating PackagesProvided TemplatesOther FunctionsContributorsChangelog1.0b2 May 20, 20121.0b1 May 17, 20121.0a2 October 7, 20111.0a1 October 7, 2011IntroductionThis package extends the functionality of the templer code generation system.
It builds upon the functionality oftempler.coreandtempler.buildout, and
depends on those packages. This package provides basic support for creating
zope packages and zope buildouts. Included are packages for basic zope
packages and basic zope buildouts.Creating PackagesAs with the parent package, templer.core, creating packages using
templer.zope templates is accomplished by using thetemplerscript. The
script is invoked thus:templer zope2_basicThis will create a basic zope package skeleton.Provided TemplatesThis package provides two templates for Zope package developmentzope2_basicA namespace package for developing Zope2 applications.  The package comes
complete with a simple development buildout for Zope2 in which the package
is installedzope2_nestedA nested namespace package for developing Zope2 applications.  The package
comes complete with a simple development buildout for Zope2 in which the
package is installedOther FunctionsThetemplerscript provides a number of other functions, these are
described in full on the index page fortempler.coreatPyPIContributorsCris Ewing, original authorBased on code from zopeskel, contributors to which include:Daniel NouriTarek ZiadéMustapha BenaliSylvain ViollonAlan HoeyJosh JohnsonEmanuel SartorMatthew WilkesJoel BurtonCris EwingChris CallowayChris RossiChangelog1.0b2 May 20, 2012Fix packaging problem
[cewing]1.0b1 May 17, 2012create buildout configuration for zope packages that will work
[cewing]modify package layout for basic zope template to mimic that of the Zope
Developers Guide (http://docs.zope.org/zope2/zdgbook/GettingStarted.html)
[cewing]add a new nested zope template for a simple zope package skeleton with a
nested namespace
[cewing]renamed basic_zope to zope2_basic to maintain consistency in entry point
naming
[cewing]add tests for zope2_nested template
[cewing]updated README to reflect the new additions
[cewing]1.0a2 October 7, 2011Metadata fixes [cewing]1.0a1 October 7, 2011Ported abstract zope package and basic zope package from zopeskel along with
their tests [cewing]Package created using templer
[cewing]
Package: templer.ztfy
ContentsIntroductionCreating PackagesIncluded TemplatesOther FunctionsContributorsHistory0.1.10.1.0IntroductionThis package extends the functionality of the templer code generation system. It
builds upon the functionality oftempler.core.
This package provides basic support for creating ZTFY extension packages usingzc.buildout.Creating PackagesAs with the parent package, templer.core, creating packages using
ztfy.templer templates is accomplished by using thetemplerscript. The
script is invoked thus:templer ztfy_packageThis will create a basic buildout skeleton, containing the zc.buildout
bootstrap.py file and a buildout.cfg file which may be edited to taste.Generated ‘src’ directory contains all files needed to be able to register your new package
in any ZTFY.webapp environment, including locales base directories.Included Templatesztfy_packageThis creates a basic skeleton package for ZTFY.Other FunctionsThetemplerscript provides a number of other functions, these are described
in full on the index page fortempler.coreatPyPIContributorsThierry Florac <tflorac@ulthar.net> - AuthorHistory0.1.1updated Buildout’s bootstrapupdated default requirements0.1.0first release
Package: templetize
Templetize is a script to convert a file or a directory (recursively)
to a template for codegen and writes it to stdout.Codegen uses a single jinja2 template from a given file or string and
the data you provide to the code generator to recreate the previously
templetized file structure (maybe renaming parts of it).See the jinja2 documentation for the template syntax.—Code generator reads and evaluates templates generated with templetize
and creates the directories and files according to the templates
instructions.Bevore operating the template will be parsed thru jinja2.See the jinja2 documentation for the template syntax.Code generator special directives start with “@@@” and extend to the
end of the line. There are 3 different commands. An example:@@@ dir dir/to/be/generated/@@@ file dir/to/be/generated/with-a-file-{{inside}}.txtThis is the content {{inside}} of the file. The word inside will be
replaced by jinja2. So if you set ‘inside’: ‘to-generate’, you will get
a file calleddir/to/be/generated/with-a-file-to-generate.txtwith
the contentThis is the content to-generate of the file. […]@@@ binary another/dir/image.pngIyEvdXNyL2Jpbi9lbnYgcHl0aG9uCiMgLSotIGNvZGluZzogdXRmLTggLSotCgppbXB==Code generator will not throw exceptions but just ignore already
existing files. They won’t be overwritten. A message is printed to
stderr.
Package: templite
Templite==============A light-weight, fully functional, general purpose Python templating engine that fits in one single file.I'm not the author, credits go to Thimo Kraemer and Tomer Filiba. You can get the original source here_.I'm just packaging it and making it available on pypi and github to give it visibility.(If the authors want the repository ownership, please contact me)Usage example::from templite import Templitetemplate = r"""This template demonstrates the usage of Templite.Within the defined delimiters we can write pure Python code:${def say_hello(name):write('Hello %s!' % name)}$And now we call the function: ${ say_hello('World') }$Escaped starting delimiter: $\{${ write('Escaped ending delimiter: }\$') }$Also block statements are possible:${ if x > 10: }$x is greater than 10${ :elif x > 5: }$x is greater than 5${ :else: }$x is not greater than 5${ :end-if / only the starting colon is essential to close a block }$${ for i in range(x): }$loop index is ${ i }$${ :end-for }$${ # this is a python comment }$Single variables and expressions starting with quotes are substitutedautomatically:Instead ${write(x)}$ you can write ${x}$ or ${'%s' % x}$ or ${"", x}$Therefore standalone statements like break, continue or passmust be enlosed by a semicolon: $\{continue;}\$To include another template, just call "include":${ include('template.txt') }$"""t = Templite(template)print t.render(x=8)"""Which outputs ::This template demonstrates the usage of Templite.Within the defined delimiters we can write pure Python code:And now we call the function: Hello World!Escaped starting delimiter: ${Escaped ending delimiter: }$Also block statements are possible:x is greater than 5loop index is 0loop index is 1loop index is 2loop index is 3loop index is 4loop index is 5loop index is 6loop index is 7Single variables and expressions starting with quotes are substitutedautomatically:Instead 8 you can write 8 or 8 or 8Therefore standalone statements like break, continue or passmust be enlosed by a semicolon: ${continue;}$To include another template, just call "include":This is the content of template.txt.. _here: http://www.joonis.de/en/code/templite
Package: templitz
ALPHAtemplitzFile templates for faster project bootstrapOverviewSo you’re making another Python project and there are a bunch of
boilerplate files you need (use cookiecutter),oryou have an
existing project that you want to add some stuff to (cookiecutter
doesn’t help).templitzoffers a very lightweight way to add
some typical files to a project.For example:$templitz-ttravis$templitz-tappveyorThese two commands will dump a typical.travis.ymland aappveyor.ymlinto your current directory (which should probably
be the root of a Python project for any of this to make sense).This program does nothing other than look up a file with a.templitzextension, and if found, copies that into your target folder. It’s just
an easy way to add standard, boilerplate files to projects. Examples
are CI configs,setup.py,flit.ini,README.rst,pytest.iniand so on. This tools just does the same copy-from-a-previous-project
file copying that you would normally do by hand.Here are a few more examples:$templitz-tasyncioThis one dumps a typical startermain.pyfor anasyncio-based
application.How about a C/C++? This one will dump a genericMakefilethat will
work out-of-the-box for most typical C/C++ projects:$templitz-tMakefileBYO templitztemplitzincludes a few example templates (in the/librarydirectory), but you can also add your own quite easily: just set
theTEMPLITZ_PATHenv var to configure your own search path for
templates:$exportTEMPLITZ_PATH=$HOME/.mytemplitz:$HOME/.myothertemplitzThen your own templitz will be found automatically. Note that the first
templit found that matches the given-tparameter is the one that
hits, and theTEMPLITZ_PATHsetting is checked first.Reference$templitz--helpusage:templitz.py[-h][-tTEMPLATE][-i][-l][-s][-oOUTDIR][-pPARAMS[PARAMS...]]optionalarguments:-h,--helpshowthishelpmessageandexit-tTEMPLATE,--templateTEMPLATE-i,--infoInformationaboutthetemplit.-l,--listListallavailabletemplitz.-s,--stdoutWritetostdoutinsteadoffile.-oOUTDIR,--outdirOUTDIROutputdirectory.-pPARAMS[PARAMS...],--paramsPARAMS[PARAMS...]
Package: templo
TemploA generic template language.InstallationRun the following command to install:pipinstalltemploUsagefromtemploimporttemplate# Generate a render funtionrender=template("foo {{ 2 + 3 }} bar")# returns 'foo 5 bar'render()# Generate a render function and pass a dictionaryd={"name":"Diana"}render=template("Hello, {{ name or 'World' }}!")# returns 'Hello, World!'render()# returns 'Hello, Diana!'render(d)# Generate final text# returns 'Hello, simple world!'template("Hello,{% if answer == 42 %} simple {% else %} cruel {% endif %}world!",{'answer':42})# returns 'Hello, cruel world!'template("Hello,{% if answer == 42 %} simple {% else %} cruel {% endif %}world!",{'answer':73})
Package: templus
To install with pip:pipinstalltemplusCode example:importtemplusclient=templus.Client()#insert mail as an argument if you want to interact with it through a class attributemails=client.generate_mails(10)print("generated mails:%s"%", ".join(mails))mail=mails[0]msgs_ids=client.get_messages(mail).idforidinmsgs_ids:print(client.read_message(id,mail).text)Project linksgithubtelegram
Package: temp-mail
temp-mailPython API Wrapper fortemp-mail.ruservice. Temp-mail is a service which lets you use anonymous emails for free. You can view full API specification inapi.temp-mail.ru.Requirementsrequests- required.simplejson- optional, for a serious speed boost in JSON decode.InstallationInstalling with pip:$ pip install temp-mailUsageGet all emails from given email login and domain:from tempmail import TempMail

tm = TempMail(login='denis', domain='@gnail.pw')
print tm.get_mailbox()  # list of emails in denis@gnail.pwGenerate email address and get emails from it:from tempmail import TempMail

tm = TempMail()
email = tm.get_email_address()  # v5gwnrnk7f@gnail.pw
print tm.get_mailbox(email)  # list of emailsChanges0.2 (2013-08-20)Improved readmeCreated github pageImproved docstrings for class methodsSome minor fixes0.1 (2013-08-18)Initial release
Package: tempMail2
Python API Wrapper version 2 fortemp-mail.orgservice. Temp-mail.org is a service which lets you use anonymous emails for free. You can view full API specification inapi.temp-mail.org.Requirementsrequests- required.You can install it through$ pip install requestsInstallationInstalling with pip:$ pip install tempMail2UsageGet all emails from given email login and domain:from tempMail2 import TempMail

tm = TempMail(login='denis', domain='@gnail.pw')
print tm.get_mailbox()  # list of emails in denis@gnail.pwGenerate email address and get emails from it:from tempMail2 import TempMail

tm = TempMail()
email = tm.get_email_address()  # v5gwnrnk7f@gnail.pw
print tm.get_mailbox(email)  # list of emails
Package: tempmailio
tempmailioDescriptionpython wrapper for tempmail.ioInstallpipinstalltempmailio# orpip3installtempmailioUsageimporttimefromtempmailioimport*mail=TempMailI0(user_name='test',domain=Domain.cloudmail())success=mail.create_email()print(mail.email_address)whileTrue:inbox=mail.get_inbox()iflen(inbox)>0mermaid:inbox[0].jsonprint()exit(0)time.sleep(2.5)
Package: tempmail-py
TempEmail_pyinspired byhttps://pypi.org/project/minuteinbox-py/##You can do with this packageCreate custom emailget created email messagesverify email is created or notdelete your create emailDescriptionCreate custom temporary e-mails and receive e-mails with MinuteInbox using python!. you can use these email in your projectsimport libraryfrom TempEmail import TempEmailExmaplesCreate Custom email and receive mailscustom_email="demoemail"
email,session,cookies,flag=create_email(custom_email)
if flag:
	while True:
		data=get_inbox(session,cookies)
		if data:
			print(data)
			break
		else:
			print("Waiting.....") 
		time.sleep(1)email verifyres=verify_email_isCreated(custom_email,session,cookies)
print(res) '''return true if email is created otherwise falsedelete emaildelete_mail(session,cookies,email) #return True if email is deleteDisclaimerI'm not associated in any way with MinuteInbox.com, if requested by them I will take down this repository. In this case please prove your Identity and send me an E-Mail. You can check my profile to find it.
Package: tempmail-python
Python Temp Email Librarytempmail-pythonis a Python library for generating and managing temporary email addresses using the 1secmail service. It provides functions for creating email addresses, checking for new messages, and retrieving message contents.InstallationYou can install tempmail-python using pip:pipinstalltempmail-pythonOr you can install it from source:pipinstallgit+https://github.com/cubicbyte/tempmail-python.gitExamplesReceive a message (e.g. activation code)fromtempmailimportEMailemail=EMail()print(email.address)# qwerty123@1secmail.com# ... request some email ...msg=email.wait_for_message()print(msg.body)# Hello World!\nGet all messages in the inboxfromtempmailimportEMailemail=EMail('example@1secmail.com')inbox=email.get_inbox()formsg_infoininbox:print(msg_info.subject,msg_info.message.body)Download an attachmentfromtempmailimportEMailemail=EMail(username='example',domain='1secmail.com')msg=email.wait_for_message()ifmsg.attachments:attachment=msg.attachments[0]data=attachment.download()# Printprint(data)# b'Hello World!\n'print(data.decode('utf-8'))# Hello World!\n# Save to filewithopen(attachment.filename,'wb')asf:f.write(data)Get reddit activation codefromtempmailimportEMaildefreddit_filter(msg):return(msg.from_addr=='noreply@reddit.com'andmsg.subject=='Verify your Reddit email address')email=EMail(address='redditaccount@1secmail.com')msg=email.wait_for_message(filter=reddit_filter)# get_activation_code(html=msg.html_body)Some other features:fromtempmail.providersimportOneSecMailemail=OneSecMail()# request_email(email=email.address)# Speed up inbox refresh rateOneSecMail.inbox_update_interval=0.1# every 100ms# Accept only emails with a specific subject, raise error after 60 secondsmsg=email.wait_for_message(timeout=60,filter=lambdam:m.subject=='Hello World!')print(msg.body)Licensetempmail-python is licensed under the MIT License. See theLICENSEfile for more information.