Saravanan666/pypi-org huggingface dataset:
Package: tinder-token
# tinder-tokenPython library for generating access tokens for using Tinder API, using Facebook or Phone authentication.## Quick StartInstall the package:pip install -U tinder-tokenIf you want to use Facebook authentication, install with the following:pip install -U tinder-token[facebook]### CLI ScriptA sample script is installed with the package.
Follow the prompts in order to retrieve your access token../tinder-token### API - FacebookThefacebook.get_tinder_tokenfunction will return a tuple, which contains the tinder token and refresh token.from tinder_token.facebook import TinderTokenFacebookV2facebook = TinderTokenFacebookV2()def sample_email_password(email: str, password: str) -> (str, str):return facebook.get_tinder_token(fb_email=email, fb_password=password)def sample_facebook_token(fb_token: str) -> (str, str):return facebook.get_tinder_token(fb_token=fb_token)### API - Phonefrom tinder_token.phone import TinderTokenPhoneV2phone = TinderTokenPhoneV2()def sample_phone(phone_number: str) -> str:phone.send_otp_code(phone_number)
otp_code = input(‘code: ‘)refresh_token = phone.get_refresh_token(otp_code, phone_number)
return phone.get_tinder_token(refresh_token)
Package: tiner
tinerBlock-wise, thread-safety timer for loopsInstallpipinstalltinerUsageWorks like a context managerfromtinerimporttinerfromtimeimportsleepwithtiner("see this block"):sleep(1)# return the block running timeprint(tiner.get('see this block'))or as a python decorator@tiner('see this function')deff():#do somethingGlobal mining and groupingthe timing is managed bytiner, not its instances:# A.pyfor_inrange(20):withtiner("t1"):#do something...# B.pyfor_inrange(20):withtiner("t2"):#do something...# main.pytiner.table()#-------------------------╒═════════╤═══════════╤════════╕│Block│Time(s)│Hits│╞═════════╪═══════════╪════════╡│t1│0.026127│20│├─────────┼───────────┼────────┤│t2│0.0131467│10│╘═════════╧═══════════╧════════╛tinerinternally records the different locations for the same block name, display the additional infomation withtiner.table(verbose=True):for_inrange(10):withtiner("test:loop"):sleep(duration)tiner.table(verbose=True)#-------------------------test:loop╒═════════════════════╤════════╤═══════════╤════════╕│File│Line│Time(s)│Hits│╞═════════════════════╪════════╪═══════════╪════════╡│tests/test_tiner.py│107│0.0128279│10│├─────────────────────┼────────┼───────────┼────────┤│tests/test_tiner.py│112│0.0132992│10│╘═════════════════════╧════════╧═══════════╧════════╛Design for loopsfromtinerimporttinerfromtimeimportsleepfor_inrange(10):#do somethingwithtiner("see this loop"):sleep(0.1)#do something# return the block running time over the loopsprint(tiner.get('see this loop'))Handle asynchronous programsimportosfromtinerimporttiner# tiner will call the synchronize function when the block is overwithtiner("loop",synchronize=torch.cuda.synchronize):# machine learning running# return the block running time over the loopsprint(tiner.get('loop'))Easy to useA timer should be clear and simpletiner.get(BLOCK_NAME)# return a certain block running time so fartiner.table([BLOCK1,...])# print some blocks' time on a formatted tabletiner.zero([BLOCK1,...])# empty some blocks' timetiner.disable()# disable time loggingtiner.enable()# enable time loggingNOTE:tiner's timing is relatively precise. You should only use it for comparison of the timings of different blocks in one run, not for different runs of your program.
Package: tinerator
About TINeratorTINeratoris a Python module for the easy creation of unstructured 3D and 2.5D meshes from GIS data sources. Digital Elevation Maps (DEMs) can be quickly turned into unstructured triangulated meshes, and then further refined by the import of flowline shapefiles or automatically through watershed delineation. Advanced layering and attribute functions then allow for a complex subsurface to be defined.TINerator comes with a host of 2D and 3D visualization functions, allowing the user to view the status of the mesh at every step in the workflow. In addition, there are geometrical tools for removing triangles outside of a polygon, generating quality analytics on the mesh, adding cell- and node-based attributes to a mesh, and much more.It was created at Los Alamos National Laboratory and funded primarily through theIDEAS-WatershedsandNGEE Arcticprograms. It has since been used by researchers and US-DOE national laboratories nation-wide.TINerator has been designed to work well withAmanzi-ATS.DocumentationRead the documentation onlineQuick StartOnline DemoYou can run TINerator Jupyter notebooks online withMyBinder. It may take a few minutes for the container to initialize.Docker ContainerThe easiest way to get started with TINerator is throughDocker:$ docker pull ees16/tinerator:latest
$ docker run -it \
    -v $(pwd):/docker_user/work \
    -p 8899:8899 \
    -p 8050:8050 \
    ees16/tinerator:latestAfter the container launches, navigate tohttp://127.0.0.1:8899/labin a web browser to begin using TINerator within a Jupyter Lab instance. Example notebooks and HTML documentation are available within Jupyter.Building TINeratorTo build TINerator from source, refer to thedocumentation.Linux$apt-getinstall--no-install-recommends-y\g++\gfortran\make\cmake\libgl1-mesa-glx\\# NOTE: gdal on conda forge is *strongly* preferred# to the apt version.libdal-devmacOS$brewinstall\gdal\gcc\gfortranNote that the module has not been tested on Apple Silicon yet.ContributingPull requests of all manner are welcomed! Please read thecontributing guidelinesbefore submitting a pull request.
Package: tinfiltering
tinfilteringThis is the tinfiltering package, created to perform the automated filtering of 2D data points, based on the edges distance distribution of a Delaunay triangulation.The methodology upon which this package is based on the initial steps of the algorithm proposed by Yang and Cui (2010) in the paper “A Novel Spatial Clustering Algorithm Based on Delaunay Triangulation”.This package was developed while in my PhD research in the Department of Geography at University College London, supervised by Dr Mat Disney (Earth Observation/Remote Sensing).If you have any problem, question or suggestion, please, don’t hesitate to contact the author.Usage as module>>> import tinfiltering
>>> tinfiltering.apply_filter(x, y)Parametersx, y: list or numpy.ndarrayCoordinates for the set of points to be filtered.Returnsout_points: 2D numpy.ndarrayCoordinates for the filtered set of points.RaisesValueErrorIf input is in the wrong shape (the shapes of x and y should match).TypeErrorIf the input is of the wrong type (the inputs must be a 1-D array or
list)Usage in console>>> tinfiltering in_filename out_filenameParametersin_filename: strName of the file containing the numpy array point data to be
filtered.out_filename: strName of the file to save the numpy array of filtered point data.Packagestinfilteringtinfiltering.testtinfiltering.tinVersion 0.1.4DependenciesnumpyscipyAuthorMatheus Boni Vicari (@matt_bv)Who do I talk to?Matheus Boni Vicari (matheus.boni.vicari@gmail.comormatheus.vicari.15@ucl.ac.uk)References[1]X. Yang and W. Cui, “A Novel Spatial Clustering Algorithm Based on
Delaunay Triangulation,” Journal of Software Engineering and
Applications, Vol. 3 No. 2, 2010, pp. 141-149. doi:
10.4236/jsea.2010.32018.
Package: tinflask
tinflask 0.0.2Tornado server with some built-in endpoints.Here’s a simple usage example:import tinflask.web

def test():
        self.write("hola")

def test_job():
        print("did some job")

if __name__ == "__main__":
        a = tinflask.web.Application()
        c.add_status_job("Test Job", 5, test_job)
        c.run()The Application looks at the environment variablesHOST,PORT, andENDPOINTon initialization.
If These are not set the defaults areHOST: 0.0.0.0,PORT: 8080,ENDPOINT: /.get tinflaskInstallflaskandrequestssudo easy_install tinflaskDownload the latest release fromPython Package Indexor clonethe repositoryMore documentation is on it’s way(check thesitefor updates)Provide any feedback and issues on thebug tracker, that should be coming soon.
Package: ting
tingCreate Python objects out of dataDescriptionDocumentation still to be done.DevelopmentAssuming you usepyenvandpyenv-virtualenvfor development, here's how to setup a 'ting' development environment manually:pyenv install 3.7.3
pyenv virtualenv 3.7.3 ting
git clone https://gitlab.com/frkl/ting
cd <ting_dir>
pyenv local ting
pip install -e .[develop,testing,docs]
pre-commit installCopyright & licenseParity Public License 6.0.0Please check theLICENSEfile in this repository (it's a short license!), also check out thefreckleslicense pagefor more details.frkl product idsVersions:0.9:97de2bf5-0fbb-4884-9d26-488217e1477c1.x.x:97de2bf5-0fbb-4884-9d26-488217e1477cCopyright (c) 2019 frkl OÜ
Package: tingbot-RPIO
RPIO is an advanced GPIO module for the Raspberry Pi.PWM via DMA (up to 1us resolution)GPIO input and output (drop-in replacement forRPi.GPIO)GPIO interrupts (callbacks when events occur on input gpios)TCP socket interrupts (callbacks when tcp socket clients send data)Command-line toolsrpioandrpio-cursesWell documented, fast source code with minimal CPU usageOpen source (LGPLv3+)Visit pythonhosted.org/RPIO for the documentation.InstallationThe easiest way to install/update RPIO on a Raspberry Pi is with eithereasy_installorpip:$ sudo apt-get install python-setuptools
$ sudo easy_install -U RPIOAfter the installation you can useimport RPIOas well as the command-line toolsrpioandrpio-curses.Debian packages are available atmetachris.github.com/rpio/download.An Arch Linux PKGBUILD is available ataur.archlinux.org/packages/rpio.ExamplesYou can find lots of examples inside thedocumentation, as well as in the/examples/ source directory.FeedbackPlease send feedback and ideas tochris@linuxuser.at, andopen an issue at Githubif you’ve encountered a bug.LicenseThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details at
<http://www.gnu.org/licenses/lgpl-3.0-standalone.html>Special Thankscsegit,waveform80,nils-werner,friedcell,zejn,dbeal,paul-1CopyrightCopyright (C) 2013 Chris Hager <chris@linuxuser.at>Linkshttp://pythonhosted.org/RPIOhttp://pypi.python.org/pypi/RPIOhttp://pypi.python.org/pypi/RPi.GPIOhttp://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdfhttp://www.kernel.org/doc/Documentation/gpio.txtsemver versioning standardChangesPlease refer to the‘Changes’ section in the documentation.
Package: tingyun
该安装包为北京基调网络股份有限公司提供用于应用性能管理的采集客户端，旨在对Python Web应用的全栈性能监测以及采样提供支持。更多资讯请移步听云官方网站安装使用python包常见安装方法:pip install tingyun使用注：以下示例，为在linux shell终端下执行。 探针启动时需要的配置文件环境变量”TING_YUN_CONFIG_FILE”也可以直接设置到操作系统环境里，或者类似示例一样直接设置到当前应用启动的局部环境变量中。1、使用听云为用户分发的licenseKey生成配置文件tingyun-admin  generate-config <ACCOUNT-LICENSE-KEY> $config-file-path.ini例如：tingyun-admin  generate-config 111-111-111 /tmp/ty-agent-config.ini2、使用探针启动web应用TING_YUN_CONFIG_FILE=$config-file-path tingyun-admin run-program <APPLICATION-START-COMMAND>例如（启动django应用）：TING_YUN_CONFIG_FILE=/tmp/ty-agent-config.ini tingyun-admin run-program python manage.py runserver 0.0.0.0:8800
Package: tini
A simple module for loading.ini-style configuration files.Based onConfigParserand works in Python 2 and Python 3.Running tests$py.testOr, withtox(test with multiple Python versions):$toxExamplesettings.pyimportosimportsysfromtiniimportTinifilenames=['./foobar.ini',os.path.join(os.path.expanduser('~'),'.foobar.ini'),os.path.join(os.path.expanduser('~'),'.config','.foobar.ini'),]defaults={'foobar':{'baz':'a string','buzz':True,'bizz':123,}}sys.modules[__name__]=Tini(filenames,defaults=defaults)foobar.ini[foobar]
buzz = falsetest.pyimportsettingsassertsettings.foobar['baz']=='a string'assertsettings.foobar['buzz']isFalseassertsettings.foobar['baz']==123
Package: tiniyo
tiniyo-pythonSupported Python VersionsThis library supports the following Python implementations:Python 2.7Python 3.4Python 3.5Python 3.6Python 3.7Python 3.8InstallationInstall from PyPi usingpip, a
package manager for Python.pip install tiniyoIf pip install fails on Windows, check the path length of the directory. If it is greater 260 characters then enableLong Pathsor choose other shorter location.Don't have pip installed? Try installing it, by running this from the command
line:$ curl https://bootstrap.pypa.io/get-pip.py | pythonGetting StartedGetting started with the Tiniyo API couldn't be easier. Create aClientand you're ready to go.API CredentialsTheTiniyoneeds your Tiniyo credentials. You can either pass these
directly to the constructor.fromtiniyo.restimportClientaccount="AAAAAAAAAAAA"token="BBBBBBBBBBBBBBBBBBBBBBB"client=Client(account,token)Make a Callfromtiniyo.restimportClientaccount="AAAAAAAAAAAA"token="BBBBBBBBBBBBBBBBBBBBBBB"client=Client(account,token)call=client.calls.create(to="122122313",from="12112121",url="https://raw.githubusercontent.com/tiniyo/public/master/answer_speak.xml")print(call.sid)Send an SMSfromtiniyo.restimportClientaccount="AAAAAAAAAAAA"token="BBBBBBBBBBBBBBBBBBBBBBB"client=Client(account,token)message=client.messages.create(to="122122313",from="12112121",body="Hello there!")Enable Debug LoggingLog the API request and response data to the console:importloggingclient=Client(account,token)logging.basicConfig()client.http_client.logger.setLevel(logging.INFO)Log the API request and response data to a file:importloggingclient=Client(account,token)logging.basicConfig(filename='./log.txt')client.http_client.logger.setLevel(logging.INFO)Generating TinyXMLTo control phone calls, your application needs to output [TinyXML][TinyXML].Usetiniyo.voice_responseortiniyo.messaging_responseto easily create such responses.fromtiniyo.voice_responseimportVoiceResponser=VoiceResponse()r.say("Welcome to TinyXML!")print(str(r))<?xml version="1.0" encoding="utf-8"?><Response><Say>WelcometoTinyXML!</Say></Response>
Package: tink
Tink PythonTestGCP UbuntuGCP Ubuntu (aarch64)MacOSBazelN/ABazel (with KMS)N/APipN/APip (with KMS)N/ABdist (Create + Test)Sdist (Create)N/AN/ASdist (Test)N/AN/AUsing crypto in your applicationshouldn't have tofeel like juggling chainsaws in the dark. Tink is a crypto library written by a
group of cryptographers and security engineers at Google. It was born out of our
extensive experience working with Google's product teams,fixing weaknesses in implementations,
and providing simple APIs that can be used safely without needing a crypto
background.Tink provides secure APIs that are easy to use correctly and hard(er) to misuse.
It reduces common crypto pitfalls with user-centered design, careful
implementation and code reviews, and extensive testing. At Google, Tink is one
of the standard crypto libraries, and has been deployed in hundreds of products
and systems.To get a quick overview of Tink's design please take a look atTink's goals.The official documentation is available athttps://developers.google.com/tink.Contact and mailing listIf you want to contribute, please readCONTRIBUTINGand
send us pull requests. You can also report bugs or file feature requests.If you'd like to talk to the developers or get notified about major product
updates, you may want to subscribe to ourmailing list.MaintainersTink is maintained by (A-Z):Moreno AmbrosinTaymon BealWilliam ConnerThomas HolensteinStefan KölblCharles LeeCindy LinFernando Lobato MeeserIoana NedelcuSophie SchmiegElizaveta TretiakovaJürg WullschlegerAlumni:Haris AndrianakisDaniel BleichenbacherTanuj DhirThai DuongAtul LuykxRafael MisoczkiQuan NguyenBartosz PrzydatekEnzo PuigLaurent SimonVeronika SlívováPaula Vidas
Package: tinkertown-technician
Tinkertown TechnicianUsingJust install it in an isolated environment with pipx.pipinstall--userpipx
pipxinstalltinkertown-technicianAnd spin it up aand let it do it's thing while you're griefing Tavern ticket
noobs in the Arena, jamming meme decks in wild or cussing at Bob for not giving
you any synergy.$ttt--help
Usage:ttt[OPTIONS][PATH]TinkertownTechnician--Battlecry:FixyourHeartstoneDeckTrackerWorkaroundfor-https://github.com/HearthSim/Hearthstone-Deck-Tracker/issues/4234

Arguments:[PATH][envvar:WINEPREFIX;default:(dynamic)]ThePATHargument is optional, it will default to theWINEPREFIXfrom your
environment. And will fall back to either the path it remembered from the first
time it succeeded or./You might have to add ~/.local/bin to your PATH.Developingpipinstall--userpipx
pipxinstallpdm
pdmrundev
Package: tinkoff-backend-academy-telegram-bot
Чат бот с информацией о ТВ программеВ этом домашнем задании ваша цель - сделать телеграм бота, который дает базовую информацию по ТВ передаче.Вам нельзя использовать библиотеки для создания готовых телеграм ботов!(но не запрещается посмотреть как они работают)Используйте API телеграма.Ваша задача:Перейдите в документацию по созданию ботов в телеграм:https://core.telegram.org/botsСоздайте токен для работы с ботом по инструкции в документацииСделайте клиента для работы с API телеграма (документация к API:https://core.telegram.org/bots/api)Реализуйте логику работы бота по следующему принципу:У пользователя доступно только одно действие: запрос информации по имени ТВ программы. То есть мы отправляем боту сообщение с названием программы и получаем в ответ информацию об этой программе. (можно использоватьparse_mode = htmlдля валидации html тегов в тексте описания тв программы)Если такой программы не найдено или пользователь отправил некоректное сообщение (картинку, стикер и тд.) отправлять сообщение с ошибкой.Для получения информации о тв программе используйте решение домашки 1.5 (если у вас его нет, напишите мне в телеграм (@indionapolis), я отправлю вам готовый код)Мы можем считать, что у нас только один пользовательТокен телеграма должен быть указан в файле.envпод именемTELEGRAM_TOKEN(локальный .env вы в гит не пушите, проверяющий сделает свой файл со своим токеном)Итоговый проект должен проходить тест и проверки flake8, black и MyPyПолезные ссылки:https://core.telegram.org/bots/tutorialhttps://core.telegram.org/bots/featuresЗапуск тестов:make lint
make testПример работы бота:# запускаем бота
python -m main.py# чат в телеграм
User:

Family Guy

Bot:

Name: Family Guy
Network Name: FOX
Network Country Name: United States
Summary: Family Guy follows Peter Griffin the endearingly ignorant dad, and his hilariously offbeat family of middle-class New Englanders in Quahog, RI. Lois is Peter's wife, a stay-at-home mom with no patience for her family's antics. Then there are their kids: 18-year-old Meg is an outcast at school and the Griffin family punching bag; 13-year-old Chris is a socially awkward teen who doesn't have a clue about the opposite sex; and one-year-old Stewie is a diabolically clever baby whose burgeoning sexuality is very much a work in progress. Rounding out the Griffin household is Brian the family dog and a ladies' man who is one step away from AA.Усложненный вариантСделать возможность сохранять шоу в избанноеВыводить список избранных шоуСделать возможность удалять шоу из избанногоКритерии оцениванияСделать клиент для API телеграма - 2 баллаСделать бота, который реализует логику общения - 2 баллаСделать скрипт, который запускает бота для обработки входящих сообщений - 2 баллаИспользовать изученые методики ООП (создать логические классы, сделать релевантные методы для их работы) - 2 баллаПройти проверку линтерами - 1 баллПокрыть тестами логику работы бота - 1 баллРеализовать логику избранного шоу - отдельные доп 3 балла
Package: tinkoff-investments
Tinkoff InvestДанный репозиторий предоставляет клиент для взаимодействия с торговой платформойТинькофф Инвестициина языке Python.ДокументацияДокументация по Invest APIНачало работы$ pip install tinkoff-investmentsВозможности☑ Синхронный и асинхронный GRPC клиент☑ Возможность отменить все заявки☑ Выгрузка истории котировок "от" и "до"☑ Кеширование данных☑ Торговая стратегияКак пользоватьсяПолучить список аккаунтовfromtinkoff.investimportClientTOKEN='token'withClient(TOKEN)asclient:print(client.users.get_accounts())Переопределить targetВ Tinkoff Invest API есть два контура - "боевой", предназначенный для исполнения ордеров на бирже и "песочница", предназначенный для тестирования API и торговых гипотез, заявки с которого не выводятся на биржу, а исполняются в эмуляторе.Переключение между контурами реализовано через target, INVEST_GRPC_API - "боевой", INVEST_GRPC_API_SANDBOX - "песочница"fromtinkoff.investimportClientfromtinkoff.invest.constantsimportINVEST_GRPC_APITOKEN='token'withClient(TOKEN,target=INVEST_GRPC_API)asclient:print(client.users.get_accounts()):warning:Не публикуйте токены в общедоступные репозиторииОстальные примеры доступны вexamples.ContributionДля тех, кто хочет внести свои изменения в проект.CONTRIBUTINGLicenseЛицензияThe Apache License.
Package: tink-python-api-types
tink-python-api-typesAboutPython types for the Tink API entities.InstallationThis package is hosted onPyPi, you can install it using any python package manager.$pipinstalltink-python-api-typesLicenseMITContributingAny suggestion, bug reports, prs or any other kind enhacements are welcome. Justopen an issue first, for creating a PR remember this project has linting checkings and unit tests so any PR should comply with both before beign merged, this checks will be automatically applied when opening or modifying the PRs.Local developmentThis project comes with adocker-compose.ymlfile so if you use Docker and docker-compose you can develop without installing anything on your local environment. Just rundocker-compose up --buildfor the first time to setup the container and launch the tests. Pytest is configured as the entrypoint so just rundocker-compose upeverytime you want the tests to execute on the Dockerized Python development container.