Saravanan666/pypi-org huggingface dataset:
Package: teatelethon
⭐️ Thankseveryonewho has starred the project, it means a lot!Telethonis anasyncioPython 3MTProtolibrary to interact withTelegram’s API
as a user or through a bot account (bot API alternative).ImportantIf you have code using Telethon before its 1.0 version, you must
readCompatibility and Convenienceto learn how to migrate.
As with any third-party library for Telegram, be careful not to
breakTelegram’s ToSorTelegram can ban the account.What is this?Telegram is a popular messaging application. This library is meant
to make it easy for you to write Python programs that can interact
with Telegram. Think of it as a wrapper that has already done the
heavy job for you, so you can focus on developing an application.Installingpip3installtelethonCreating a clientfromtelethonimportTelegramClient,events,sync# These example values won't work. You must get your own api_id and# api_hash from https://my.telegram.org, under API Development.api_id=12345api_hash='0123456789abcdef0123456789abcdef'client=TelegramClient('session_name',api_id,api_hash)client.start()Doing stuffprint(client.get_me().stringify())client.send_message('username','Hello! Talking to you from Telethon')client.send_file('username','/home/myself/Pictures/holidays.jpg')client.download_profile_photo('me')messages=client.get_messages('username')messages[0].download_media()@client.on(events.NewMessage(pattern='(?i)hi|hello'))asyncdefhandler(event):awaitevent.respond('Hey!')Next stepsDo you like how Telethon looks? Check outRead The Docsfor a more
in-depth explanation, with examples, troubleshooting issues, and more
useful information.
Package: teatestairdrop
一、安装（python版本建议3.7以上）pipinstalldubborequests二、升级包pipinstall--upgradedubborequests三、示例获取dubbo服务详情# 导入importdubborequests# 获取dubbo服务详情data=dubborequests.search('cn.com.xxx.sso.ehr.api.dubbo.SsoEmpInfoService')获取服务下的所有方法# 导入importdubborequests# 获取dubbo服务下的所有方法data=dubborequests.list('cn.com.xxx.sso.ehr.api.dubbo.SsoEmpInfoService')# 获取dubbo服务指定的方法data=dubborequests.list('cn.com.xxx.sso.ehr.api.dubbo.SsoEmpInfoService','login')通过zookeeper获取服务的ip和端口, Telnet命令测试dubbo接口importdubborequestsfromdubborequestsimportConfig# 先配置zookeeper中心地址Config.zookeeper_url_list=['192.168.240.15:2181','192.168.240.15:2182','192.168.240.15:2183']invoke_data={"service_name":"cn.com.xxxxx.sso.ehr.api.dubbo.SsoEmpInfoService","method_name":"login","data":{"account":"xxxx","password":"xxxx"}}# 通过zookeeper获取服务的ip和端口, Telnet命令测试dubbo接口data=dubborequests.zk_invoke(*invoke_data)Telnet命令测试dubbo接口importdubborequestsinvoke_data={"ip":'xxxx',"port":7777,"service_name":"cn.com.xxxxx.sso.ehr.api.dubbo.SsoEmpInfoService","method_name":"login","data":{"account":"xxxx","password":"xxxx"}}# Telnet命令测试dubbo接口data=dubborequests.telnet_invoke(*invoke_data)
Package: teatime
Deployed a node? Have a cup.Teatime is an RPC attack framework aimed at making it easy to spot
misconfigurations in blockchain nodes. It detects a large variety of issues,
ranging from information leaks to open accounts, and configuration
manipulation.The goal is to enable tools scanning for vulnerable nodes and minimizing
the risk of node-based attacks due to common vulnerabilities. Teatime uses
a plugin-based architecture, so extending the library with your own checks
is straightforward.Please note that this library is still a PoC and lacks documentation. If there
are plugins you would like to see, feel free to contact me on Twitter!InstallationTeatime runs on Python 3.6+.To get started, simply run$pip3installteatimeAlternatively, clone the repository and run$pip3install.Or directly through Python’ssetuptools:$python3setup.pyinstallExampleTo get started, simply instantiate aScannerclass and pass in the
target IP, port, node type, and a list of instantiated plugins. Consider the
following sample to check whether a node is synced and mining:fromteatime.scannerimportScannerfromteatime.plugins.contextimportNodeTypefromteatime.plugins.eth1importNodeSync,MiningStatusTARGET_IP="127.0.0.1"TARGET_PORT=8545INFURA_URL="Infura API Endpoint"defget_scanner():returnScanner(ip=TARGET_IP,port=TARGET_PORT,node_type=NodeType.GETH,plugins=[NodeSync(infura_url=INFURA_URL,block_threshold=10),MiningStatus(should_mine=False)])if__name__=='__main__':scanner=get_scanner()report=scanner.run()print(report.to_dict())Check out the examples directory for more small samples! Teatime is fully
typed, so also feel free to explore options in your IDE if reading the
documentation is not your preferred choice. :)Future DevelopmentThe future of Teatime is uncertain, even though I would love to add broader
checks that go beyond RPC interfaces, specifically for technologies such as:Ethereum 2.0FilecoinIPFSIf you want to integrate plugins for smaller, less meaningful chains such
as Bitcoin or Ethereum knock-offs, feel free to fork the project and integrate
them separately.
Package: tea-weather-app
Tea Weather AppTea Weather App is an exciting project with a focus on creating a simple weather application. The primary objective is to provide users with an easy and enjoyable way to check the weather.InstallationTo install Tea Weather App on your local machine, follow these steps:Clone the repository:git clone https://github.com/cann072000/tea_weather_app.gitNavigate to the project directory:cd tea_weather_appInstall the required dependencies:pip install -r requirements.txtUsageRun the application with the following command:python3 tea_weather_app.py
Package: tea-web
🍵 TeaMicro HTTP library for Python.Tea hasExpress.js-like syntax (which is web framework for JavaScript) with it's callback function syntax, Request, Response and URL objects. Got a lot of reference from popular web frameweorks likeFlask,FastAPIand Express.js. Tea is like lightweight mix of their best features.Finally, the418 I am a teapotcode comes true. Enjoy!Quick Start$pipinstalltea-webHello, World!SimpleHello, World!example in Tea. See/examplesfor more example.# app.pyfromteaimportTeaapp=Tea()defhandle_index(req,res):res.send("Hello, World!")app.get("/",handle_index)app.listen()# listening port 8080ProsLightweight. No external requirement and the package cost is only ~10 KB.More control over the Request and Response objects. This objects can be used outside the library structure.Easy to use and helpful on handling simple HTTP requests.ConsLimited features and methods.No template engine.Callback function syntax is not really Pythonic without decorators. (Done on purpose but true.)Not sure if it's ready for production.DocumentationSeeDOCUMENTATION.md.LicenseLicensed under theMIT License.
Package: tebe
Tebe is a simple but powerful editor for Markdown and reStructuredText markup languages
with Sphinx and Rst2Pdf power included.
It can be used as a text editor for creating articles or even books.
You can also use it to work with any sphinx docs you have for yours project.
The mission of the project is to provide a simple and practical tool that will interest non-programer people
to use markup syntax and sphinx for any text document writing.ChangelogTebe 0.2.8install process updateTebe 0.2.2port to python3 and PyQt5, python 2 droppedTebe 0.1first public release (beta stage) with all main features implementedRequirementsPython 3pyqt5pyqtwebenginesphinxrst2pdfdocutilsrecommonmarkmistuneHow to installTebe is available through PyPI and can be install with pip command by typing:pip install tebeTo run Loge use command:tebeOn Windows system you can also find and runtebe.exefile in..Python3Scriptsfolder. For easy run make shortcut for this fileLicenceTebe is free software;
you can redistribute it and/or modify it under the terms of theGNU General Public Licenseas published by the Free Software Foundation;
either version 2 of the License,
or (at your option) any later version.Copyright (C) 2017-2022 Lukasz Laba <lukaszlaba@gmail.com>ContributionsIf you want to help out, create a pull request or write email.More informationProject website:https://tebe.readthedocs.ioCode repository:https://bitbucket.org/lukaszlaba/tebePyPI package:https://pypi.python.org/pypi/tebeContact: Lukasz Laba <lukaszlaba@gmail.com>
Package: tebless
TeblessThis library is a collection of widgets that supported from blessed allows to create interfaces in a simple way based on events.Free software: MIT licenseDocumentation:https://tebless.readthedocs.io.Table of contentsTeblessTable of contentsHow to installExample of usageHow to installpipinstallteblessExample of usageThis will render a label containing the text ‘Hello world!’, centered
horizontally and vertically.fromtebless.widgetsimportLabel,Window,Input@Window.decorator(main=True,min_y=10)defview(window):WIDTH,HEIGHT=window.sizedefcallback(evt):evt.store.label.value=evt.valuewindow+=Label(cordy=HEIGHT/2-1,text='Hello world!',width=WIDTH,align='center',ref='label')window+=Input(width=WIDTH,cordx=WIDTH/3,on_enter=callback)so easy is placed a text in the console that changes with the input and
limit min height window you can also avoid access to the storefromtebless.widgetsimportLabel,Window,Input@Window.decorator(min_y=10)defview(window):WIDTH,HEIGHT=window.sizelabel=Label(cordy=HEIGHT/2-1,text='Hello world!',width=WIDTH,align='center')defcallback(evt):label.value=evt.valuewindow+=labelwindow+=Input(width=WIDTH,cordx=WIDTH/3,on_enter=callback)if__name__=="__main__":view()CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History1.2.0 (2017-11-24)Restructured project.
Package: tec
tecTools to inspect python objectsTo install:pip install tecExamplesCounting imported namesmodules_importedis a generator of module names from obj.
It uses string parsing, so is not as accurate as some other methods, but is fast and flexible,
and doesn't require actually running any of the code analyzed.>>>fromtecimportmodules_imported>>>importos.path# single module>>>list(modules_imported(os.path))# list of names in the order they were found['os','sys','stat','genericpath','genericpath','pwd','pwd','re','re']>>>importos# package with several modules>>>fromcollectionsimportCounter>>>Counter(modules_imported(os,only_base_name=True)).most_common()#doctest: +ELLIPSIS[('nt',5),('posix',4),...('warnings',1),('subprocess',1)]Modules>>> from tec import modules
>>> sorted(modules.second_party_names(modules))[:5]
['DOTPATH', 'FILEPATH', 'FOLDERPATH', 'LOADED', 'ModuleSpecKind']
>>> sorted(modules.second_party_names(modules, callable))[:4]
['ModuleSpecKind', 'coerce_module_spec', 'filepath_to_dotpath', 'finding_objects_of_module_with_given_methods']
>>> sorted(modules.second_party_names(modules, lambda obj: isinstance(obj, type)))
['ModuleSpecKind']PackagesA few functions to investigate what objects can be imported from a module
(and the depth of the dot-path to import those objects directly).The main function,print_top_level_diagnosis,
prints a diagnosis of the imports that can be optained from the (top level) module.
That is, those objects that can by imported by doing:from module import objthough the object's code may be several package levels down (say module.sub1.sub2.obj).>> import numpy, pandas, scipy
>> print_top_level_diagnosis(numpy)
--------- numpy ---------
601 objects can be imported from top level numpy:
  20 modules
  300 functions
  104 types

depth	count
0	163
1	406
2	2
3	29
4	1

>> print_top_level_diagnosis(pandas)
--------- pandas ---------
115 objects can be imported from top level pandas:
  12 modules
  55 functions
  40 types

depth	count
0	12
3	37
4	65
5	1

>> print_top_level_diagnosis(scipy)
--------- scipy ---------
582 objects can be imported from top level scipy:
  9 modules
  412 functions
  96 types

depth	count
0	61
1	395
2	4
3	122Peek>>> from tec.peek import print_signature
>>> print_signature(print_signature)
func
sep: Union[str, NoneType] = '\\n'
prefix: str = ''
suffix: str = ''
>>> print_signature(print_signature, None)
(func, sep: Union[str, NoneType] = '\\n', prefix: str = '', suffix: str = '')
>>> print_signature(print_signature, '\\n * ', prefix=' * ', suffix='\\n')
 * func
 * sep: Union[str, NoneType] = '\\n'
 * prefix: str = ''
 * suffix: str = ''
<BLANKLINE>
Package: teca
The Toolkit for Extreme Climate AnalysisTECA is a collection of climate analysis algorithms geared toward extreme event detection and tracking implemented in a scalable parallel framework. The code has been successfully deployed and run at massive scales on current DOE supercomputers. TECA's core is written in modern C++ and exploits MPI + X parallelism where X is one of threads, OpenMP, or GPUs. The framework supports a number of parallel design patterns including distributed data parallelism and map-reduce. While modern C++ delivers the highest performance, Python bindings make the code approachable and easy to use.DocumentationTheTECA User's Guideis the authorotative source for documentation on topics such asinstalling TECA, running TECA'scommand line applications, andPython development. The TECA source code is documented on ourDoxygen site.TutorialsTheTECA tutorialssubversion repository contains slides from previous tutorials.ExamplesTheTECA examplesrepository contains batch scripts and codes illustrating the use of TECA at scale.PythonTheTECA Python packageis available on PyPi or by installing from sources. For more information see theTECA User's Guidesections oninstalling TECAandPython development.CI and TestingFor the latest regression suite results see theTECA CDash project site.Copyright NoticeTECA, Copyright (c) 2015, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy).  All rights reserved.If you have questions about your rights to use or distribute this software, please contact Berkeley Lab's Innovation & Partnerships Office atIPO@lbl.gov.NOTICE.  This software is owned by the U.S. Department of Energy.  As such, the U.S. Government has been granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the Software to reproduce, prepare derivative works, and perform publicly and display publicly.  Beginning five (5) years after the date permission to assert copyright is obtained from the U.S. Department of Energy, and subject to any subsequent five (5) year renewals, the U.S. Government is granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the Software to reproduce, prepare derivative works, distribute copies to the public, perform publicly and display publicly, and to permit others to do so.
Package: tec-embrace
TEC and Bias receiver estimationApplication TEC (by station) and receiver bias estimation through GNSS data processing and analysis, used for monitoring of ionospheric terrestrial layer.Please, fell free to read more inEMBRACE.Contributors involvedDepartamento de Ciências Espaciais e Atmosféricas (CEA-II) - INPEDr. Cristiano Max Wrasse (Pesquisador) [cristiano.wrasse@inpe.br]Dr. Cosme A. O. B. Figueiredo [cosme.figueiredo@inpe.br]Departamento de Ciências Geodésicas (UNESP) - Presidente PrudenteDr. João Francisco Galera Monico (Pesquisador) [galera.monico@unesp.br]Development team - EMBRACE/INPEDr. Rodolfo G. Lotte [rodolfo.lotte@inpe.br]GNSS's versions file covered:GNSS rinex version 3.01GNSS rinex version 3.02GNSS rinex version 3.03PS:. The EMBRACE TEC and Bias estimation make use of external librarygeorinexfor reading rinex files, which includes
other versions! To read more about, check thelink.FeaturesThis module includes the calculation of:Automatic download and interpretation of Orbit and DCB files, both under MGEX (Multi-GNSS Experiment) formatCycle-Slip correctionRelative TECSlant FactorDaily TEC and receiver bias estimationAbsolute TECVertical TECOutputThis module runs for a set of rinex files. For each rinex processed, a python dictionary JSON-like structured is generated.Contributing:TODO list:Of course, the model is far completed. Besides the TODOs marks into the code, the analysis for another
situations are still demanded. If you notice some kind of mistake in the code, or just notice that could improve or
optimize any method, please, fell free to clone this project and help our team to get better estimates.Preparing your environment:To contribute, you have to clone this repository and start your analysis/debugs/ so on.After to clone the repositorygitin your local directory,
the following the instructions will guide you to execute the model in your computer.1. Updating your PythonThe EMBRACE TEC and Bias estimation was developed using version Python 3.7+. If you do not have this version in your computer, an upgrade will be need.First, check the version of your python typingpython -V. If old versions are diplayed, thus, follow the steps below. For most of Ubuntu users, two versions are available on the OS,python2.7, andpython3, which still do not fill the requirement due thepython3be usually under version 3.6 (to check this, please, typepython3 -V). If not, the following steps might solve the problem.To start the upgrade, update your system:sudo apt-get update && sudo apt-get upgrade && sudo apt-get updatethen, run:sudo apt-get install python3.7If everything is ok, edit yourbashrcfile:sudo nano ~/.bashrcand update the file:source ~/.bashrcand include at the last line:alias python=python3.7. Type:python -VExample of useAn example of using this package/library, can be foundhere.LogDownload errors will be listed intecmap.logon root path.HelpAny question or suggestion, please, contact our support sending an email todesenvolvimento.emabrace@inpe.bror any
of the contributers.
Package: tecfilingfetcher
Fetching TEC filing data made easy! Plug in a TEC filing ID, get back contribution or expenditure data in CSV format.Installationpip install tecfilingfetcherHow it worksPretty straightforward:usage: fetchfiling [-h] [-t {contributions,expenditures}] [-s]
                   filing_id [filing_id ...]

positional arguments:
  filing_id             The TEC filing ID(s) to fetch

optional arguments:
  -h, --help            show this help message and exit
  -t {contributions,expenditures}, --type {contributions,expenditures}
                        The type of data you want to get
  -s, --simple          Returns only basic fields, good if you only want
                        numbersExamples$ fetchfiling -s -t contributions 580604  # Texans for Rick Perry's July 2013 Semiannual

..

Unique ID,Entity Code,Last/Organization Name,First Name(s),Title,Suffix,Street Address 1,Street Address 2,City,State,ZIP Code,Date,Amount/In-kind Value,Description,Employer,Principal Occupation/Job Title,Travel Outside Texas (If In-kind)
2,IND,London,Stacy,,,,,Houston,TX,77024,20130617,400.00,,Self,Real Estate,
1,IND,Cantwell,Michael,,,,,Leander,TX,78641,20130617,100.00,,,,
28,IND,Anwar,S. Javaid,Mr. and Mrs.,,,,Midland,TX,79705,20130620,16250.00,(See travel info),Midland Energy,Owner/President,X
2,,,,,,,,,,,,,,,,X
3,,,,,,,,,,,,,,,,X
4,,,,,,,,,,,,,,,,X
3,IND,Jones,Dale,,,,,Coppell,TX,75019,20130624,500.00,,Best Efforts,Best Efforts,
4,IND,Holmes,William,,,,,El Paso,TX,79912,20130624,1000.00,,Best Efforts,Best Efforts,
5,IND,Musil,Stephen,,,,,Cedar Park,TX,78613,20130624,25.00,,,,
6,IND,Vazquez,Laura,,,,,El Paso,TX,79936,20130624,25.00,,,,
7,IND,Lott,Thomas,Mr.,,,,Fulshear,TX,77441,20130624,100.00,,Andarko Petroleum,Geologist,
8,IND,Brunone,Dominick,,,,,The Hills,TX,78738,20130624,25.00,,,,
9,IND,Ciaccio,Michael,,,,,Sugar Land,TX,77496,20130624,10.00,,,,
10,IND,DiLorenzo,Mary,Ms.,,,,Bethpage,NY,11714,20130624,100.00,,Suffolk County National Bank,VP Financial Reporting Manager,
11,IND,Higginbotham,Lou,Ms.,,,,Dallas,TX,75205,20130624,500.00,,Retired,Retired,
12,IND,Baker,James,,,,,San Marcos,TX,78666,20130624,25.00,,Self,Real Estate,
15,IND,Holdren,David,Mr.,,,,San Angelo,TX,76903,20130625,10.00,,Retired,Retired,
14,IND,Pappas,Peter,,,,,Rockbridge,MO,65741,20130625,25.00,,Best Efforts,Best Efforts,
16,IND,Eskridge,Robert,,,,,Round Rock,TX,78681,20130625,100.00,,,,The filing fetcher outputs to stdout – if you need to save it, direct it into a file.fetchfiling -s -t contributions 580604 > texans_for_rick_perry_july13.csvYou can now fetch multiple reports in one swoop by passing in space-separated filing IDs. You should probably only do this if you arefetching multiple reports for the same filer. The reports themselves do not identify which row belongs to which filer, so make sure all of your IDs refer to the same one!$ fetchfiling -s -t contributions 580604 599270  # Texans for Rick Perry's July 2013 Semiannual + January 2014 SemiannualBut wait… where do I get those IDs?TheTexas Ethics Commission, via thecampaign finance search form. For example, you can find Texans for Rick Perry filing IDs onthis page.
Package: techainer-ocsort
This is a fork fromOC_SORT. Only themain implementationsare used.AdjustmentsMap 1-1 each input detection result with a tracked result so a detection will receive either a valid value orNone. Checkmap_resultvariable intracker.pyfor detailed implementation.Only accept post-processed detections (e.g: boxes are scaled to original image size).Adjust stale tracklet removal logic by using 2 new arguments:hit_inertia_min: minimum number of hits for a tracklet to be considered alive.hitswill be initiated withhit_inertia_min+1. A tracklet will updatehitsdepending on input detection. CheckKalmanBoxTracker.updateandKalmanBoxTracker.is_alivefunction intracker.pyfor detailed implementation.hit_inertia_max: hard cap ofhits.Installationpip install techainer-ocsortExamplePrepare a video for face detection. Reconfig video name accordingly intests/test_ocsort.py.Replace our face detection with yours intests/test_ocsort.py. Make sure that tracker input format is[[x1,y1,x2,y2,score],[x1,y1,x2,y2,score],...].Runpython tests/test_ocsort.py. Output will be saved in your configed video name.