Saravanan666/pypi-org huggingface dataset:
Package: asiakirjasuodatin
AsiakirjasuodatinDocument filter (Finnish: asiakirjasuodatin) that read a JSON serialization of the Pandoc AST from stdin, transform it in some way, and write it to stdout.License: MITThird party dependencies are documented in the folderthird-party.DocumentationUser and developerdocumentation of asiakirjasuodatin.Bug TrackerAny feature requests or bug reports shall go to thetodos of asiakirjasuodatin.Primary Source repositoryThe main source ofasiakirjasuodatinis on a mountain in central Switzerland.
We use distributed version control (git).
There is no central hub.
Every clone can become a new source for the benefit of all.
The preferred public clones ofasiakirjasuodatinare:on codeberg- a democratic community-driven, non-profit software development platform operated by Codeberg e.V.at sourcehut- a collection of tools useful for software development.ContributionsPlease do not submit "pull requests" (I found no way to disable that "feature" on GitHub).
If you like to share small changes under the repositories license please kindly do so by sending a patchset.
You can either send such a patchset per email usinggit send-emailor
if you are a sourcehut user by selecting "Prepare a patchset" on the summary page of your fork atsourcehut.StatusExperimental.NoteThe default branch isdefault.
Package: asianet-tracker
=====Asianet-tracker=====Asianet-tracker is a simple Django app to log data from URL visits Web-based polls.Detailed documentation is in the "docs" directory.Quick start-----------1. Add "asianet-tracker" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [...'asianet-tracker',]2. Run `python manage.py migrate` to create the asianet-tracker models.3. Start the development server and visit http://127.0.0.1:8000/4. From views.py import track_this to include it in URLS you need to track
Package: asian-mtl
asian_mtlThis repository contains the code and documentation for the machine translation models used for EasierMTL's API.Improved version of the models in the original repository:EasierMTL/chinese-translation-appSupported TranslatorsAll translators support dynamic quantization!Our benchmarksindicate that they 2x inference speeds, while losing <1% BLEU.ChineseToEnglishTranslator()EnglishToChineseTranslator()Getting Startedpipinstallasian-mtlHere's a simple example:fromasian_mtl.models.baseimportChineseToEnglishTranslatortranslator=ChineseToEnglishTranslator()# Quantize for better CPU production performance!translator.quantize()prediction=translator.predict("我爱ECSE484.")print(prediction)# prediction will be:# "I love ECSE 484."And you're good to go!If you are contributing, run:# https://stackoverflow.com/questions/59882884/vscode-doesnt-show-poetry-virtualenvs-in-select-interpreter-optionpoetryconfigvirtualenvs.in-projecttrue# shows the name of the current environmentpoetryenvlist

poetryinstallUsageWhen you are using quantized models in this repository, make sure to settorch.set_num_threads(1). This is not set under-the-hood because it could interfere with user setups in an invasive way.Not doing so will make the quantized models slower than their vanilla counterparts.EvaluationSeescriptsfor evaluation scripts.To run the scripts, simply run:# Running with CLI and config with BERTpython./scripts/evaluation/eval.py-c./scripts/evaluation/configs/helsinki.yamlChange the confighelsinki.yamlto use quantized or your specific use case.BenchmarksHere are some basic benchmarks of models in this repository:ModelQuantized?NBLEURuntimeHelsinki-NLP/opus-mt-zh-enNo1000.31927sYes1000.30613.5sThe benchmarks described in thedocsare a little out-of-date.
Package: asibsync
ASI to SIB synchronization agentASI: Aalto Social InterfaceSIB: Smart-M3 Semantic Information BrokerUsage:- Configure asilib and kpwrapper libraries- import asibsync; asibsync.main()Links:- http://cos.sizl.org- http://smart-m3.sourceforge.net- http://public.futurice.com/~ekan/thesis.pdfChangelog=========0.9.5 - Released 2010-04-19----------------* Support controlling debug mode from command line and other cmdlineimprovements* Added more useful log output with timestamp info* Improved fault tolerance if connection down at startup or after it* Improved inherent profiling support0.9.4 - Released 2010-04-16----------------* Added support for syncing from Smart-M3 back to ASI more generally0.9.3 - Released 2009-12-17----------------* Packaging improvements for releasing in PyPi0.9.2 - Released 2009-12-14----------------* Changed asi => asilib as its name was changed* Cleaned up code in asi_agent0.9.1 - Released 2009-12-14----------------* Initial working release.
Package: asic
ASICInterfaz de línea de comandos para descargar los archivos de las publicaciones de liquidación del Mercado de Energía Mayorista MEM realizadas por el Administrador del Sistema de Intercambios Comerciales ASIC.Requiere acceso al FTP del ASIC enxmftps.xm.com.coEjemplosAntes de poder usar los comandos que usan el servir FTP de XM, debes proveer la información de autenticación (se recomienda usar variables de entorno).$Env:ASIC_FTPS_HOST = "xmftps.xm.com.co"
$Env:ASIC_FTPS_USER = "Isamdnt\88888888"
$Env:ASIC_FTPS_PASSWORD = "m1MuySeCreTAClAV."
$Env:ASIC_FTPS_PORT = 210Cuales versiones de liquidación se han publicado en los últimos días:> asic pubs --days-old 20
Listing latest published settlements by ASIC in the last 20 days
2022-05:TX3 -- published: 2022-07-19
2022-06:TXR -- published: 2022-07-05Listar los archivos publicados para los meses de mayo y junio de 2022 con version de liquidación .tx3:> asic list --month 2022-06 --month 2022-05 --version .tx3
\INFORMACION_XM\PUBLICOK\SIC\COMERCIA\2022-05\adem0501.Tx3
\INFORMACION_XM\PUBLICOK\SIC\COMERCIA\2022-05\adem0502.Tx3
\INFORMACION_XM\PUBLICOK\SIC\COMERCIA\2022-05\adem0503.Tx3
\INFORMACION_XM\PUBLICOK\SIC\COMERCIA\2022-05\adem0504.Tx3
          ...
\INFORMACION_XM\PUBLICOK\SIC\COMERCIA\2022-05\pep0530.tx3
\INFORMACION_XM\PUBLICOK\SIC\COMERCIA\2022-05\pep0531.tx3
\INFORMACION_XM\PUBLICOK\SIC\COMERCIA\2022-05\sntie05.tx3
\INFORMACION_XM\PUBLICOK\SIC\COMERCIA\2022-05\afac05.tx3
\INFORMACION_XM\PUBLICOK\SIC\COMERCIA\2022-05\trsm05.tx3
\INFORMACION_XM\PUBLICOK\SIC\COMERCIA\2022-05\ldcbmr05.tx3Descargar los archivos publicados para los meses de mayo y junio de 2022 con version de liquidación .tx3 a la carpeta local./asic-files/:> asic download --month 2022-06 --month 2022-05 --version .tx3 asic-files
Dowloading files... ━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   6% 0:01:05CLIInterfaz de línea de comandos (CLI).InstalaciónCrear un ambiente virtual de pythonpython-mvenvvenvActivar el ambiente virtual.\venv\Scripts\activateInstalar paquetepython-mpipinstallasicEjecuciónLa CLI misma ofrece ayuda de como usarla.
La opción--helpimprime la ayuda de cada comando en la pantalla.> asic --help 

 Usage: asic [OPTIONS] COMMAND [ARGS]...

 Commands:
  download           Download files from asic's ftp server to local DESTINATION folder.
  list               List files from asic's ftp server.
  pubs               Check latest published settlements in asic's website.> asic pubs --help

 Usage: asic pubs [OPTIONS]

 Check latest published settlements in asic's website.Para tener en cuentaTener presente que no se está realizando la verificación de certificados del servidor de XMneptuno.xm.com.coal consultar las versiones de liquidación publicadas usando el comandoasic pubs.Contribuir
Package: asiconsole
Aalto Social Interface (ASI) Python console utilityUsage:- Configure asilib- import asiconsole; asiconsole.main()Links:- http://cos.sizl.org- http://public.futurice.com/~ekan/thesis.pdfChangelog=========1.0.2 - Released 2009-12-23----------------* Packaging improvements for releasing in PyPi1.0.1 - Released 2009-12-17----------------* Moved code to SourceForge1.0.0 - Released 2009-12-10----------------* First stable release.
Package: asight
Asight软件介绍Asight是一款基于NPU的深度学习性能分析工具， 工具支持的场景如下：基于训练推理过程中生成的维测数据， 一键分析网络性能瓶颈，并给出优化建议。一键拉起训练推理脚本，分析并给出优化建议（待开发）。安装教程使用如下命令进行Asight软件的安装：pip install asight使用说明使用Asight工具进行性能分析支持如下两种命令：方法一：用“--profiling_dir”参数指定需要解析的Profiling数据目录，工具执行时会遍历““--profiling_dir””指定目录下的所有数据。asight analyze --profiling_dir=data“--profiling_dir”：存储Profiling数据的目录。Profiling数据获取方法如下：在执行推理或训练程序时，请参见“Profiling工具使用指南”完成Profiling数据的采集、解析与导出（您可以在昇腾文档页面左上角切换版本，选择对应版本的指导文档）。数据采集时需要配置“aic-metrics”参数为“PipeUtilization”，“aicpu”参数为“on”。Asight工具依赖的是Profiling解析导出后的timeline数据、summary数据以及info.json*文件，请确保指定的“profiling_dir”目录下存在以上文件。方法二：用“--data_dir”参数指定需要解析的各类数据目录，包括但不限于Profling数据、图数据等信息，工具执行时会遍历“--data_dir”指定目录下的所有数据。asight analyze --data_dir=data说明：当前工具版本“--data_dir”目录下仅支持存放Profling数据，Profling数据的要求请参见“--profling_dir”参数说明。结果说明工具执行完毕后，会在屏幕打印Problem detected说明识别到的问题，Recommonded change给出优化建议  。工具执行完毕后，会在当前目录下生成asight.xlsx文件，展示详细问题和建议。分析能力说明当前版本，Asight性能分析工具支持如下问题的分析：AI Core算子性能问题BlockDim问题：BlockDim利用率不足，说明算子未开启多核并行计算或者AI Core利用不足， 建议进行算子调优。算子无Bound问题： 代表算子的Vector/Cube/Scalar/MTE1~MTE3指令的cycle数在所有指令的cycle数中占比未达到80%，即AI Core资源未被充分利用，建议进行算子调优。算子MTE2 Bound问题：算子MTE2利用率超过80%，则说明数据搬移性能较差，建议进行子图调优。AI CPU算子问题：AI CPU算子问题：网络中存在AI CPU算子，影响网络性能， 建议修改模型，从而避免使用AI CPU算子。
Package: asilib
Aalto Social Interface (ASI) Python interface libraryUsage:- Copy docs/asirc.tmpl in your home dir root as .asirc and customize- See examples/asilib_sample.py for sample usage- Additionally you may want to install asiconsole for interactive debuggingLinks:- http://cos.sizl.org- http://public.futurice.com/~ekan/thesis.pdfChangelog=========1.0.2 - Released 2009-12-23----------------* Packaging improvements for releasing in PyPi* Moved restlib to its own egg1.0.1 - Released 2009-12-17----------------* Moved code to SourceForge1.0.0 - Released 2009-12-10----------------* Renamed to asilib* Bumped version number to 1.x.* Updated sample code and moved it in docs* Dropped simplejson dependency as Python pre-2.6 is not going to be supportedanyway* README.txt written0.9.1 - Released 2009-11-02----------------* Defaults to Triple(uri, uri, literal) when the type is not given0.9 - Released 2009-10-29----------------* Moved asi/console to its own egg, asiconsole* Better support for subparameters "context[subcontext[param]]=..." inbuild_param_string (and therefore do_request)0.3 - Released 2009-09-22----------------* Print request duration in debug mode* do_request: don't crash when receiving an empty collection* Unit test fixes* Added docs/asirc.sample, LICENSE.txt and now include docs/* in the packagewith MANIFEST.in* Dropped Python 2.5 support0.2 - Released 2009-09-14----------------* Fixed setup.py dependencies and added HISTORY.txt.* Moved future imports to the beginning of files to make py2.6 happy0.1 - Released 2009-09-14----------------* Initial release.
Package: asimov-gwdata
Asimov GWDataThis package provides an asimov pipeline for collecting published gravitational wave data for use in parameter estimation studies.UsageFetching posteriorsTo download a posterior file from a known location you'll need to write a YAML configuration file, for example,data:-posteriorsource:type:pesummarylocation:/home/daniel/GW150914/test.h5analysis:C01:IMRPhenomXPHMand then run$ gwdata --settings test.yamlwheretest.yamlis the configuration file above.Usage with asimovThe script can also be called as a pipeline in asimov.
To do this you'll need to apply a blueprint to the project, for example:kind:analysisname:get-datapipeline:gwdatadownload:-posteriorevent:GW150914source:type:pesummarylocation:/home/daniel/<event>/test.h5analysis:C01:IMRPhenomXPHM
Package: asim-select
without starting Android Studio.Home-page:https://github.com/oleg79/android_emulator_helperAuthor: Oleg Kapustin
Author-email:0112oleg@gmail.comLicense: MIT
Description: A simple CLI to run available android emulator devices without starting Android Studio or executing several terminal commands.
Keywords: android emulator cli
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Package: asimtote
ASIMTOTEThis package contains two main elements used to compare text-based
configuration files (or other files in simple text in a similar format) where
they are structured using indented blocks of directives/commands, typically for
network devices:a parser to read in configuration files and stored them in a dictionary --
the parser utilises the hierarchical nature of the configuration to
understand that the same command name might mean different things in
different contextsa comparator that takes two configuration dictionaries (typically produced by
the parser, above) - a source and a target configuration - and writes out
a configuration file (or update command set) to transform the source
configuration into the destination - this uses a series of 'converters' to
handle the difference for each configuration element (e.g. changing the
description assigned to an interface)Each of these are written as abstract base classes that can be inherited from
to crete concrete classes for each platform, but the base processing of the
parsing and comparing should be consistent, requiring only the specific
commands to be handled.Currently, Cisco IOS is the only concrete platform and only a subset so far
(the comparator is still being tweaked to handle this all relatively
straightforwardly, before all the commands are implemented).  There are
currently some odd commands and edge cases which are awkward to handle without
some improvements to the core process.The scripts also support a system whereby 'excludes' can be specified, to
exclude those elements of the configuration dictionary which should not be
compared, if a known difference exists that cannot be resolved, either as an
interim divergence, or a permanent exception.THE NAMEThis package was formerly known as net-contextdiff but has been renamed as it
is expected to drop the indented configuration difference mechansim (still
using context, but not via indenting).The new name 'asimtote' is a backronym for something like 'Autonomous System
Internetwork Management ...' but the rest has not yet been completed.  It's
similarity to 'asymptote' is deliberate as it aims to get a configuration into
a desired state but will probably never ever get there.FUTURE DEVELOPMENTSLonger term, this script may be made unnecessary by other tools but, if it
remains, will probably be parsing configurations via something like REST and
JSON, rather than by reading legacy text configuration files.  It would also be
making changes using similar calls rather than generating legacy text
conversions.  The problem of making changes in the correct order and committing
them may still remain, though.It would also be desirable to separate the parser as this could be useful
elsewhere.  At the moment, however, it's so intertwined with the converter this
would be tedious to maintain and keep in sync.  It should probably be made
easily usable as a separate component, however.
Package: asinc
Asyncio util libraryperiodic_callAllows periodically execute an awaitable incorruptible with event.importsignalimportasynciofromasincimportperiodic_callasyncdefrun():stop_event=asyncio.Event()signal.signal(signal.SIGINT,lambda:stop_event.set())awaitperiodic_call(lambda:asyncio.sleep(1),stop_event,10)
Package: asingleton
asingleton>>>fromasingletonimportsingleton>>>print(singleton.__doc__)singleton(cls,attr_name='instance',disable_name_mangling=False,not_just_this_class=False)->clssingleton(attr_name='instance',disable_name_mangling=False,not_just_this_class=False)(cls)->cls>>>@singleton...classService:...pass...>>>Service()isService.instanceTrue>>>Service()# doctest: +ELLIPSIS, +NORMALIZE_WHITESPACETraceback(mostrecentcalllast):...AssertionError:Thereisalreadyaninstanceoftype<class'...Service'>;itcanbeaccessedthroughtheclassattribute'Service.instance'.>>>@singleton('__instance')...classService:...@classmethod...defget_instance(cls):...returncls.__instance...>>>Service()isService.get_instance()True>>>Service.__instanceTraceback(mostrecentcalllast):...AttributeError:typeobject'Service'hasnoattribute'__instance'>>>@singleton(not_just_this_class=True)...classService:...pass...>>>classApache(Service):...pass...>>>Apache()isApache.instanceTrue>>>Apache()# doctest: +ELLIPSIS, +NORMALIZE_WHITESPACETraceback(mostrecentcalllast):...AssertionError:Thereisalreadyaninstanceoftype<class'...Apache'>;itcanbeaccessedthroughtheclassattribute'Apache.instance'.>>>classService:...def__new__(cls,*args,**kwargs):..."""My custom __new__"""...returnsuper().__new__(cls,*args,**kwargs)...original_new=__new__...>>>singleton(Service)isServiceTrue>>>Service.__new__isService.original_newFalse>>>Service.__new__.__wrapped__isService.original_newTrue>>>Service.__new__.__doc__'My custom __new__'
Package: asipython
Copyright Government of Canada 2018Written by: Eric Enns, National Microbiology Laboratory, Public Health Agency of CanadaLicensed under the Apache License, Version 2.0 (the “License”); you may not use
this work except in compliance with the License. You may obtain a copy of the
License at:http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
Package: asjp
A library of three functions.ipa2asjptakes an IPA-encoded sequence and
converts it into an ASJP-encoded sequence.asjp2ipatries to do the
opposite.tokenisetakes an ASJP-encoded string and returns a list of
tokens.>>> from asjp import ipa2asjp, asjp2ipa, tokenise
>>> ipa2asjp('zɛmʲa')
'zEmy~a'
>>> ipa2asjp(['z', 'ɛ', 'mʲ', 'a'])
['z', 'E', 'my~', 'a']
>>> asjp2ipa('zEmy~a')
'zɛmʲa'
>>> tokenise('zEmy~a')
['z', 'E', 'my~', 'a']
>>> ipa2asjp(asjp2ipa(tokenise('zEmy~a'))) == tokenise('zEmy~a')
True
>>> ipa2asjp(['z', 'ɛ', 'mʲ', 'a']) == tokenise(ipa2asjp('zɛmʲa'))
Truewhat is this?ASJPcode, more commonly referred to as the ASJP alphabet or simply as ASJP, is
a simplified transcription alphabet introduced inBrown et al. (2008)and
then slightly modified inBrown et al. (2013); the latter is considered the
alphabet’s spec for the purposes of this package.The ASJP alphabet is used for transcribing theASJP Database, an actively
developed database aiming to provide the translations of a set of 40 basic
concepts into all the world’s languages. Both alphabet and database are
employed in the field of computational historical linguistics, e.g. inJäger
(2013)orWichmann et al. (2011).apiipa2asjp(ipa_seq)takes an IPA string or sequence of string tokens and
converts it into an ASJP string or sequence of string tokens. Raises aValueErrorif the input does not constitute a valid IPA sequence.asjp2ipa(asjp_seq)takes an ASJP string or sequence of string tokens and
converts it into an IPA string or sequence of string tokens. As ASJP encodes
much less information than IPA, something likeasjp2ipa(ipa2asjp(ipa_seq)) == ipa_seqwould rarely hold true. Raises aValueErrorif the input does not constitute a valid ASJP sequence.tokenise(asjp_string)takes an ASJP string and converts it into a list of
ASJP tokens. Raises aValueErrorif the input cannot be unambiguously
tokenised.tokenize(asjp_string)is an alias fortokenise(asjp_string).installationThis is a standard Python 3 package with a single dependency,ipatok. It is
offered at theCheese Shop, so you can install it with pip:pip install asjpor, alternatively, you can clone this repo (safe to delete afterwards) and do:python setup.py test
python setup.py installOf course, all of this could, and probably should, be happening within a
virtual environment.see alsolingpyis an extensive library for computational historical linguistics
that includes functions for converting IPA to ASJP.ipatokis a library for tokenising IPA strings used by theipa2asjpfunction for handling string input.licenceMIT. Do as you please and praise the snake gods.
Package: asjs
asjsPython module for implement object with syntax from JavaScript. Implementing access to keys byobj.path.to.your.keynotation as in JavaScriptInstallingpip install asjsor like this:curl https://github.com/tankalxat34/pyasjs/raw/main/asjs.py -o asjs.pyUsingRecommended import statement:fromasjsimportObjectNotationCreating new objectUsing dictionary:obj=ObjectNotation({"key1":"value1","key2":"value2","key3":{"a":"b","lst":[14,5,6,12]}})Using arguments:obj=ObjectNotation(key1="value1",key2="value2",key3={"a":"b","lst":[14,5,6,12]})Getting values by keys or indexes>>> obj[0]
value1
>>> obj.key2
value2
>>> obj["key3"]
[14, 5, 6, 12]Creating new keys in objectobj.year=2023or:>>>obj.set("year",2023)or:>>>year=2023>>>obj.set(year)or:>>>obj["year"]=2023Saving functions in object>>>obj.fibonachi=lambdan:1ifn<=2elseobj.fibonachi(n-1)+obj.fibonachi(n-2)>>>obj.fibonachi(7)13Removing keys by string-names or indexes>>> del obj.yearor:>>> del obj[-1]or:>>> del obj["year"]Changing value by key>>> obj.key1 = 123or:>>> obj["key1"] = 123Cycleforby objectIndexes:>>>foriinrange(len(obj)):...print(i)012Keys:>>>forkinobj:...print(k)key1key2key3fibonachiValues:>>>forvinobj.values():...print(v)123value2JSObject(a:'b',lst:JSObject(0:14,1:5,2:6,3:12))<function<lambda>at0x0000020189F19480>Boolean statements>>>"key3"inobjTrue>>>"fake_key"inobjFalse
Package: asjson
json.dumps with datetime, date and bson.ObjectId support>>> from datetime import datetime, date, timedelta, timezone
>>> from decimal import Decimal
>>> from bson import ObjectId
>>> import asjson>>> data = {
...     'time': [
...         date(2018, 3, 6),
...         datetime(2018, 3, 6, 9, 38, 0, 1),
...         datetime(2018, 3, 6, 9, 38, 0, 1).replace(
...             tzinfo=timezone.utc),
...     ],
...     'decimal': Decimal('3.14'),
...     'objectid': ObjectId('a' * 24),
... }We can make all the values json-appropriate without
dumping the structure to string.
It can be helpful in some cases, e.g. with passing it
into database json field.>>> asjson.encode(data)
{'time': ['2018-03-06',
         '2018-03-06T09:38:00.000001',
         '2018-03-06T09:38:00.000001+00:00'],
     'decimal': '3.14',
     'objectid': 'aaaaaaaaaaaaaaaaaaaaaaaa'}For dumping to string we can useasjson.dumpswhich takes
the same parameters as standardjson.dumpsdoes plusdebugwhich just a shortcut forjson.dumps(…, indent=4, sort_keys=True, ensure_askii=False):>>> print(asjson.dumps(data, debug=True))
{
    "decimal": "3.14",
    "objectid": "aaaaaaaaaaaaaaaaaaaaaaaa",
    "time": [
        "2018-03-06",
        "2018-03-06T09:38:00.000001",
        "2018-03-06T09:38:00.000001+00:00"
    ]
}
Package: ask
Easy input validation for pythonInstallationpip install askUsage>>> from ask import ask, askChar, askInt, askString, askPassword, askEmail, askBool, explain
>>> ask()
# Creates an empty input query here

>>> askInt('Your age')
Your age
# Input here (Only accepts integers)

>>> askString("What's your name?")
What's your name?
# Input here

>>> askChar('Do you want to proceed?', ['y','n'])
Do you want to proceed? (y/n)
# Input here (Only accepts 'y' and 'n')

>>> askChar('Do you want to install this?', ['y','n'], 'y')
Do you want to install this? (y/n) [y]
# Input here (Only accepts 'y' and 'n', you can hit enter to use the default 'y')

>>> askBool('Do you want to continue?')
Do you want to continue (y/n)
# Input here (automatically generates the possibilites 'y' and 'n')

>>> askEmail()
# Input here (only accepts email-adresses)

>> askPassword()
# Masked input here

>> explain()
# Prints explanation:
Attention: Input prompts follow this template:
"Question (answer1, answer2, answer3) [default_answer]"
(You can just hit enter to chose the default answer)