Saravanan666/pypi-org huggingface dataset:
Package: tm1filetools
A Python package that simplifies working with files associated with a
TM1 server. It’s primarily useful for linting or cleaning up a server
directory without a dependency on a running TM1 Server.What it doesScans a TM1 database folder and finds most TM1 related files
(e.g..cub,.ruxetc)Provides methods to rename and delete files and properties specific
to a file type (e.g. the cube a.vuefile refers to)Return lists of “orphaned” files (e.g. a.ruxwithout a
corresponding.cub)What it doesn’t doOperations on binary files (e.g. it can’t read or edit a.cubfile)Genuine parsing of text files (e.g. it can’t verify whether a.ruxis valid)Interact with the REST API (useTM1pyfor that)Installationpipinstalltm1filetoolsExample UsagefrompathlibimportPathfromtm1filetoolsimportTM1FileToolpath=Path("./data")ft=TM1FileTool(path)orphans=ft.get_orphan_rules()...ft.delete_all_blbs()...
Package: tm35fin
ETRS-TM35FIN coordinate system for Python 3.8+This library provides utility classes to work with ETRS-TM35FIN coordinates and map tiles as utilized by the national government agencies of Finland.Finnish map tiles showhere.InstallationIt's in pypi:pip install tm35finMaturity levelLow. API may change. I will package this up properly with time.This package was written mostly to convert from coordinates to TM35 Map Tiles (karttalehdet) and back.Examplesfrom tm35fin import Coordinates, MapTile

# Helsinki railway station point
c = Coordinates(385784,6672298)
c.wgs84         # (60.17156012073224, 24.941409012372404)

t = c.tile
t.name          # 'L4133B3'
t.size          # (3000,3000)  = 3km x 3km    
t.bounding_box  # (Coordinates(383000,6672000), Coordinates(386000,6675000))

# In WGS84
[ p.wgs84 for p in t.bounding_box ]    #  [(60.16809771362508, 24.891441776018347), (60.19586617397734, 24.943783308698634)]

# Get a larger tile
t = c.get_tile(level=3)

# We got tile L413 and our initialization point was 29.8km E & 6.3km N of tile corner
repr(t)         # MapTile(L413+<29784,6298>m)

print(c in t)   # True, point is on the tile

# Create MapTile via name
mt = MapTile('L331')

# Get center point
mt.center       # Coordinates(236000,6678000)Known limitationsSo called "half tiles" (puolikaslehdet) designated with L & R (example: V3113R) are not supportedThere are no real geo-helpers like checking distance between points etc, convert to WGS84 (Coordinates.wgs84) and use another libraryThe coordinate system and library are tested only with coordinates in Finland and surrounding Baltic SeaI'm lazyAcknowledgementsWGS84 coordinate conversions (c) 2012-2015,2022 Olli Lammi (olammi@iki.fi)Original tile math with numpy 2012-2014 Lauri Kangas (@lkangas)
Package: tm4jReporter
tm4j-reporterTM4J (Zephyr Scale) ReporterHelp you to update Test Management For Jira (named TM4J or Zephyr Scale) tests status,
only need provide automation framework output file.
It will use case ID generated by the framework as unique TM4J case name,
and will create a new one if there is no the same case name.
This method will help you to auto manage automation test case into Jira.Support automation frameworkrobotframeworkExampleUpload results into Zephyr Scale#!/usr/bin/env python3# -*- coding: utf-8 -*-# Author: v.stone@163.comfromtm4jReporterimportTm4jReporterrb=Tm4jReporter(jira_url='https://jira.xxx.com',jira_user='will',jira_pass='password',jira_project='TM4J')rb.robotframework('output.xml')Upload results into Zephyr Scale Cycle#!/usr/bin/env python3# -*- coding: utf-8 -*-# Author: v.stone@163.comfromtm4jReporterimportTm4jReporterrb=Tm4jReporter(jira_url='https://jira.xxx.com',jira_user='will',jira_pass='password',jira_project='TM4J')rb.robotframework(output_xml_file='output.xml',cycle_key='TM4J-C1')
Package: tma
专为中国A股设计开发的工具集，着重点是交易数据获取和分析。我是一只菜鸟，对A股的认识非常肤浅，如果你愿意用积攒的经验为我开发这套工具提供一些帮助，请联系zeng_bin8888@163.com，不胜感激！
Package: tm-abci
Build blockchain applications in Python for TendermintVersionSupports ABCI v0.15.0 and latest Tendermint (0.26.0)InstallationRequires Python >= 3.6.5pip installtm-abciORpython setup.py installGenerating ProtobufONLYneeded for developing this code base, not to create apps.  If you
just want to create apps, goto Getting StartedUpdate all .proto files (protobuf dir)Install protocInstall goInstall gogo protobuf via goRunmake gogoOr using Docker container:Update all .proto files (protobuf dir)Build image:sudo docker build-tabcidev .Run container:sudo docker run-itabcidev shInside container run:make gogoTesting with tm-benchUse this if you want to test throughput of server and application. By default, dummpy app is used,
you can change it in docker-compose.yml, abci command section (before build).Build tm-bench and move to tm-abci directory (you can get ithere)Change testing config in tm-bench command section of docker-compose.ymlRunsudodocker-compose-fdocker-compose.ymlup-dWait about minute (or more/less if you changed default) and runsudodocker-compose-fdocker-compose.ymllogs--tail50tm-benchGetting StartedExtend the BaseApplication classImplement the Tendermint ABCI callbacks - seehttps://github.com/tendermint/abciRun itSee the example appcounter.pyapplication under theexamplesdirectory
here:https://github.com/SoftblocksCo/tm-abci/blob/master/examples/counter.py
Package: tmagic
READMEIPython custom cell magic to test code snippets typed into notebook cells.InstallationThis package depends on IPython and RPy2, you may need to install them first.Install from PyPIAs of 2022-07-01,tmagicis available athttps://pypi.org/project/tmagic/.
Install it as usual:pip3 install tmagic.Install from BitBucketTo install the package for yourself as user:pip install git+ssh://git@bitbucket.org/interquadrat/testmagic.gitYou will need to have the appropriate credentials to get this working.Install from a local repositoryTo get around BitBucket authentication issues, the trick is to install
from thelocalGit repository.Assuming that this local repo belongs to the user "teacher" that also hassudorights,
then install the package for all users like this:sudo -H pip3 install git+file:///home/teacher/PROJECTS/training/testmagicwhere you may need to modify the path to the local repo.PreparationImport theExerMagicclass and create an instance of it.
This instance stores exercise name / expected value pairs,
which can be passed either to theExerMagic()constructor
or to theregister_tests()method,
or be read from a JSON file.In the example below we set up an exercise called"answer"so that the correct value generated at the end should be42:from tmagic import ExerMagic
magic = ExerMagic({"answer":42})Python exercisesStart a notebook cell with%%pyexer <testname>where<testname>is the name of the test
that you registered with theExerMagicobject ("answer"in the above example).
Then add one or more Python statements to the cell.
The last statement must evaluate to the "expected value" (42)
registered with the"answer"test.The following exercise will fail:%%pyexer answer
a = 6
b = 8
a*bWhen executing this cell, the output will be:Test failed :-(
48This, however, will succeed:%%pyexer answer
a = 6
b = 7
a*bproducing the output:Test passed :-)
42R exercisesThe R programming language exercises can be set up with the%%rexercell magic. These cells "see" the results of previous
notebook cells run with Rpy2's%%Rmagic. The above example
in R would look like this:%%rexer answer
a <- 6
b <- 7
a*bThe response would be:Test passed :-)
array([42.0,])due to the peculiarities of the R<->Python variable mapping.
Package: tmailor
tmailorA temporary email address that provides email addresses without registration, used to receive incoming emails without disclosing your actual email.InstallationRecommended installation method is through pip:pip install tmailorAlternatively, you can clone the repository and install it manually:git clone https://github.com/heromr/tmailor.git
  cd tmailor
  python setup.py installClient Class UsagefromtmailorimportClient# Create an instance of the Client classclient=Client()# Generate a random email addressrandom_email=client.generate_random_email()print("Random Email Address:",random_email.email)# Generate a custom email addresscustom_email=client.generate_custom_email("john","example.com")print("Custom Email Address:",custom_email.email)# Delete an email addressresponse=client.delete_email(random_email.email,random_email.token)print("Deletion Response:",response)# Get messages for an email addressmessages=client.get_messages(random_email.email)formessageinmessages.messages:print("Subject:",message.subject)print("Sender:",message.sender)print("Content:",message.body_text)print()# Get a list of available domainsdomains=client.get_domains()fordomainindomains.name:print("Domain:",domain)
Package: tmalibrary
tmalibraryClass files to be used during the development of probes and actuators developed inPython.PrerequisitesTo use this library, you need to installtmalibrarymodule. To install this module, you need to execute the following command:pipinstalltmalibraryUsageTo use this library in the development of your probe, you need to include the following lines in your probe main file, using the code below.fromtmalibrary.probesimport*To use this library in the development of your actuator, you need to include the following line in your probe main file, using the code below.fromtmalibrary.actuatorimport*Note: To upload a new version of this library, theINSTRUCTIONS.mdfile has all instructions needed.
Package: tman
TManSkeleton project created by Cookiecutter PyPackageDocumentation:https://Danmou.github.io/TManGitHub:https://github.com/Danmou/TManPyPI:https://pypi.org/project/TMan/Free software: GPL-3.0-onlyFeaturesTODOCreditsThis package was created withCookiecutterand thewaynerv/cookiecutter-pypackageproject template.
Package: tmap-viz
tmaptmap is a very fast visualization library for large, high-dimensional data sets. Currently, tmap is available for Python. tmaps graph layouts are based on theOGDFlibrary.Tutorial and DocumentationSeehttp://tmap.gdb.toolsNotebookExamplesNameDescriptionNIPS Conference PapersA tmap visualization showing the linguistic relationship between NIPS conference papers.viewProject GutenbergA tmap visualization of the linguistic relationships between books and authors extracted from Project Gutenberg.viewMNISTA visualization of the well known MNIST data set. No further explanation needed.viewFashion MNISTA visualization of a more fashionable variant of MNIST.viewDrugbankA tmap visualization of all drugs registered in Drugbank.viewRNAseqRNA sequencing data of tumor samples. Visualized using tmap.viewFlowcytometryFlowcytometry data visualized using tmap.viewMiniBooNEtmap data visualization of a particle detection physics experiment.viewAvailabilityLanguageOperating SystemStatusPythonLinuxAvailableWindowsAvailable1macOSAvailableRUnvailable21Works withWSL2FOSS R developerswanted!Installationtmap is installed using the conda package manager. Don't have conda? Download miniconda.condainstall-ctmaptmapWe suggest using faerun to plot the data layed out by tmap. But you can of course also use matplotlib (which might be to slow for large data sets and doesn't provide interactive features).pipinstallfaerun# pip install matplotlib
Package: tmate
pytmate什么是tmatetmate是一款可以用于终端分享的工具，同时也提供了平台能力，用户可以使用平台将内网中的终端分享到外网访问。什么是pytmatetmate本身只支持类Unix系统（MacOS、Linux等），不支持Windows。而pytmate使用纯Python开发，可以支持全系统，使用也更加方便。环境要求Windows 7以上（推荐使用Windows 10 1809以上，低版本不支持pty）LinuxMacOSPython版本要求>=3.6安装$pipinstalltmate如何使用$tmate[TMateClient]ConnectSSHserverssh.tmate.io:22...[Notify]websessionreadonly:https://tmate.io/t/ro-Q5VKGqmt24FxTnUqtdzCZHhtR[Notify]sshsessionreadonly:sshro-Q5VKGqmt24FxTnUqtdzCZHhtR@xxx.tmate.io[Notify]websession:https://tmate.io/t/9bv76cP3W95ftZFbWtYtW4xJ7[Notify]sshsession:ssh9bv76cP3W95ftZFbWtYtW4xJ7@xxx.tmate.ioWeb端访问终端可以在浏览器中打开web session:后面的URL。SSH访问可以使用ssh session:后面的命令行。在线调试Github Actions创建以下workflow：remote-ssh.ymlname: Remote-SSH
on:
  watch:
    types: started
jobs:
  SSH:
    name: Run on ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      max-parallel: 4
      matrix:
        python-version: [3.6]
        os: [windows-latest, ubuntu-latest, macOS-latest]
    steps:
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install dependencies
        run: |
          python -m pip install --upgrade pip
          python -m pip install -U tmate
      - name: SSH connection to Actions
        run: |
            python -m tmateStar项目会自动触发该workflow。
Package: tmath
Project descriptionThe project was started in 2023 by Tushali Devikar for mathematical function.Installation
Dependencies
tmath requires:Python (>= 3.8)User installation
The easiest way to install tmath is using pip:pip install -U tmathUSAGE
Quickstartimport tmathFor Checking Versionprint(tmath.version)The dir() function can be used on all modulesprint(dir(tmath))For additiontmath.add(1,2)For substractiontmath.sub(1,2)For Multiplicationtmath.mul(1,2)For divisiontmath.div(1,2)For squaretmath.squ(2)Use this way alsofrom tmath import add
print(add(1,2))Development
The tmath goals are to be helpful, welcoming, and effective. The Development Guide has detailed information about contributing code, documentation, tests, and more. I am included some basic information in this README.Project History
The project was started in 2023 by Tushali Devikar for mathematical function.Help and Support
Package: tmb
tmb - Python library for TMB APILibrary to interact with the TMB (Transports Metropolitans de Barcelona) API.Currently it supports the following TMB services:iBus (get remain minutes for a given stop and line)Planner (Get list of itineraries to go fromfrom_coordstoto_coords)Generate API keysGo todeveloper.tmb.cat.Login using your personal account.Create anew application, call it as you want.Once created, you will see two variables:APP_IDandAPP_KEY.ExampleiBusCreate the iBus object using the API keys generated from TMB portal.from tmb import IBus

ibus = IBus(APP_ID, APP_KEY)
forecast = ibus.get_stop_forecast('1265','V19')
print(f"{forecast} mins")PlannerCreate the Planner object using the API keys generated from TMB portal.from tmb import Planner

planner = Planner(APP_ID, APP_KEY)
plans = planner.get_itineraries('41.3755204,2.1498870', '41.3878951,2.1308587')
print(plans)Projects Depending ontmbhttps://github.com/home-assistant/home-assistant
Package: tmc
tmc.pyis a commandline client for working with aTestMyCode
server. It aims to have all of the features oftmc-netbeans.installationRequiresPython 3.2+ andpip/virtualenv. If you have root accesssudo pip3 install tmcotherwisecurl -L https://rawgit.com/JuhaniImberg/tmc.py/master/tmcpy-inst.sh | bashIf you are running a Windows OS, please installcursesfor Python.If you want to try out the git version you can do so by cloning this repository,
activating your virtualenv and./setup.py install.tutorial / usageSee hereversion numbersSemVerwill be adopted starting with the 1.0.0 release.licenseMIT, seeLICENSE
Package: tmcolors
A simple module to add ANSI colors and decorations to your strings.Example UsageYou can choose one of the 8 basic ANSI colors: black, red, green, yellow, blue,
magenta, cyan, white.from tmcolors import red, green, blue
print red('This is red')
print green('This is green')
print blue('This is blue')Optionally you can specify a background color.print red('red on blue', bg='blue')
print green('green on black', bg='black')You can additionally specify one of the supported styles: bold, faint, italic,
underline, blink, blink2, negative, concealed, crossed. Not all styles are
supported by all terminals.from tmcolors import bold, underline
print bold('This is bold')
print underline('underline red on blue', fg='red', bg='blue')
print green('bold green on black', bg='black', style='bold')You can also use more than one styles at once.print red('This is very important', style='bold+underline')xterm-256 colors are supported as well, to use them give an integer instead of
a color name.from tmcolors import colorize
for i in range(256):
    print colorize('Color #%d' % i, fg=i)Licensetmcolors is licensed under the ISC license.
Package: tmcp
tmcpHelper classes for the Team Match Communication ProtocolLearn more aboutTMCP.How to useStart by creating an instance of the TMCPHandler.
You should pass in your agent.fromtmcpimportTMCPHandlerclassMyBot(BaseAgent):definitialize_agent(self):self.tmcp_handler=TMCPHandler(self)Usage is also very straightforward:fromtmcpimportTMCPMessage,ActionType...defget_output(self,packet:GameTickPacket)->SimpleControllerState:# Receive and parse all new matchcomms messages into TMCPMessage objects.new_messages:List[TMCPMessage]=self.tmcp_handler.recv()# Handle TMCPMessages.formessageinnew_messages:ifmessage.action_type==ActionType.BALL:print(message.time)...# You can send messages like this.self.tmcp_handler.send_boost_action(pad_index)# Or you can create them and send them more directly:my_message=TMCPMessage.ball_action(self.team,self.index,estimated_time_of_arrival)self.tmcp_handler.send(my_message)The handler will throttle your messages if you send them too quickly.
If you want to make sure all of your messages are sent, you can create a backlog like this:# During initialization, create a backlog list.self.backlog=[]...# Sending returns false if a message was not sent.ifnotself.tmcp_handler.send(message):self.backlog.append(message)...# In your main loop, check whether you have any messages in the backlog.ifself.backlog:backlog_message=self.backlog.pop(0)# Try sending the message again. If it doesn't work, return it to the backlog.ifnotself.tmcp_handler.send(backlog_message):self.backlog.insert(0,backlog_message)Avoiding major breaking changesThis package is regularly updated according to the latest TMCP specification.
To avoid your bot breaking during tournaments due to major version updates, you can use a virtual_environment and pin a specific version of this package.In your requirements.txt:tmcp==1.*In your bot.cfg:[Locations]use_virtual_environment=truerequirements_file=./requirements.txtIf you don't want to do this, you can also disable the handler if a different version of the package is used.
This will not send or receive any messages, but will pretend as if it was sending all and receiving none.fromtmcpimportTMCP_VERSIONifTMCP_VERSION[0]!=1:my_handler.disable()
Package: tmcpy
tmcpy=======================淘宝平台消息服务python版本Usage:```pythonimport loggingfrom tmcpy import TmcClientlogging.basicConfig(level=logging.DEBUG)tmc = TmcClient('ws://mc.api.tbsandbox.com/', 'appkey', 'appsecret', 'default',query_message_interval=50)def print1():print 'on_open'tmc.on("open", print1)try:ioloop.IOLoop.instance().start()except KeyboardInterrupt:passfinally:tmc.close()```
Package: tmcsh
USB-TMC ShellOverviewInteractive command shell for USB Test and Measurement device Class (TMC) device.InstallationIt can be installed from GitHub using pip:pip install git+https://github.com/Enchan1207/tmcshAfter installation, commandtmcshwill be available.Usage1. Choosing a communication deviceWhen you starttmcsh, you will be prompted to select a device.$ tmcsh
USB-TMC shell v0.1.0
Connected USB-TMC devices:
  [0] Tektronix TDS2012B (0699:0367)
Enter the index of the device you want to communicate with.
Type 'r' to reload, ^C or ^D to abort.
>Type index for communicate with:0After it, shell tries to establish connection.Establish connection...If that succeeds, you'll see a REPL-like prompt.>>>2. Query the deviceYou can send IEEE 488 common commands...>>> *IDN?
TEKTRONIX,TDS 2012B,C062851,CF:91.1CT FV:v22.01>>> *ESR?
128model-specific commands...>>> DATA?
RPBINARY;REFA;CH2;1;2500;1or commands that return binary.>>> DATA:SOURCE?
CH2
>>> DATA:SOURCE CH1
>>> CURVE?
0000: 23 34 32 35 30 30 81 81 80 80 80 80 80 81 80 81
0001: 81 81 80 80 80 80 80 81 80 80 80 81 80 81 80 81
0002: 80 80 80 80 81 80 81 80 80 80 80 81 81 80 80 80
0003: 80 81 80 80 80 81 80 80 80 80 81 80 80 81 81 80
0004: 80 81 80 81 81 81 81 80 80 81 80 80 81 80 80 80
0005: 80 80 81 80 80 80 81 80 80 80 80 81 81 80 80 80
0006: 80 80 80 81 80 80 80 81 80 81 80 80 80 80 80 80
0007: 81 81 80 81 80 81 80 80 80 80 80 81 80 81 80 81
0008: 80 81 80 80 80 80 81 80 80 80 80 80 81 80 80 80
0009: 81 80 80 81 80 80 81 81 81 81 81 80 80 81 81 80
...LicenseThis repository is published underMIT License.
Package: tmc-uart
A python package to read/write to registers to TMC motion controllers via the uart. This package includes
register addresses for the TMC5160 as specified here:https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC5160A_Datasheet_Rev1.14.pdfOther TMC controllers could be adapted by providing the register include file with its specific register addresses.There are some test scripts in the ./bin directory.  Tested on both Windows and Raspberry PI with a USB/RS485 adapter
to a custom board with a TMC5160 chip with uart pins broken out.There are two read functions. read_int() and read_reg(). The first returns a 32 bit value and second returns a 4 byte object.Repository can be found:https://github.com/troxel/TMC_UARTSynopsisfromtmc_uartimportTMC5160_UARTfromtmc_uartimporttmc5160_regasregdrvconf={'comm_dev':'/dev/ttyUSB0','baud':500000}drv=TMC5160_UART(drvconf)mtr_id=0ifcnt0=drv.read_int(0,reg.IFCNT)drv.write_reg(mtr_id,reg.GCONF,0x0000000C)ifcnt1=drv.read_int(0,reg.IFCNT)print("IFCNT before and after:{}{}".format(ifcnt0,ifcnt1))gconf=drv.read_reg(mtr_id,reg.GCONF)print("GONF = ",gconf)xactual=drv.read_int(mtr_id,reg.XACTUAL)print("XACTUAL = ",xactual)
Package: tmdb-async-movies
tmdb-async-moviesFeaturestmdb-async-moviesis an asynchronous utility for fetching bulk movie data fromTMDBusing movie title and optionally release year.Designed for bulk usage: Pipe in a list of queries and get results immediately.Blazing fast: Asynchronous calls enable you to get metadata from hundreds of movies in a couple of seconds.Typed: Metadata dataframes are strictly cast so you don't have to do it yourself.Hackable: It's a small project with ~500 LOC.Accessible: It has both a Python API and a CLI.RequirementsYou'll need to have a TMDB API key in order to make API requests.Default environment variable:$exportTMDB_API_KEY="your_api_key_here"Python:fromtmdb_async_movies.mainimportTmdbAsyncMoviest=TmdbAsyncMovies(tmdb_api_key="your_api_key_here")CLI:tmdb-async-movies-t"your_api_key_here"from_input"1999 The Matrix"InstallationYou can installtmdb-async-moviesviapipfromPyPI:$pipinstalltmdb-async-moviesDocumentationPlease see thedocumentationfor details.ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,tmdb_async_moviesis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz'sHypermodern Python Cookiecuttertemplate.