Saravanan666/pypi-org huggingface dataset:
Package: tmp-connection-psql
tmp_connection_psqlIts a little package to create a temporary psql database and qet a connection on it.InstallAvailable as a package on pypi.pipinstalltmp-connection-psqlFirst install all dependencies$poetryinstall
Installingdependenciesfromlockfile

Nodependenciestoinstallorupdate

Installingthecurrentproject:tmp_connection_psql(1.0.1)Usagetmp_connection is a function who yield a connection, to use it you need to make your code in a with
statement.withtmp_connection("dummypassword")asconn:cursor=conn.cursor()cursor.execute("SELECT * FROM people")record=cursor.fetchall()print(record)Give you an error because the database is empty.
It doesn't known the table 'people'.You can create your table and fill it after creating the database withtmp_connection("password")withtmp_connection("dummypassword")asconn:cursor=conn.cursor()cursor.execute("CREATE TABLE people (id serial NOT NULL PRIMARY KEY, first_name TEXT NOT NULL, age int NOT NULL, zipcode int NOT NULL, city TEXT NOT NULL)")cursor.execute("""INSERT INTO people VALUES("Ulysse", 25, 75019, "Paris"), ("Jacques", 84, 42820, "Ambierle")""")conn.commit()and launch request on itcursor.execute("SELECT * FROM people")record=cursor.fetchall()print(record)it will give you.[("id":1,"first_name":"Ulysse","age":25,"zipcode":75019,"city":"Paris"),("id":2,"first_name":"Jacques","age":84,"zipcode":42820,"city":"Ambierle"),]Or You can give an sql file to the functiontmp_connection("password", "./sql_file.sql")and it will create the table and fill it before giving you access to the connection.Example:withtmp_connection("dummypassword","./sql_file.sql")asconn:cursor=conn.cursor()cursor.execute("SELECT * FROM people")record=cursor.fetchall()print(record)it will give you[("id":1,"first_name":"Ulysse","age":25,"zipcode":75019,"city":"Paris"),("id":2,"first_name":"Jacques","age":84,"zipcode":42820,"city":"Ambierle"),]with the file './sql_file.sql' .-- Create tableCREATETABLEpeople(idserialNOTNULLPRIMARYKEY,first_nameTEXTNOTNULL,ageintNOTNULL,zipcodeintNOTNULL,cityTEXTNOTNULL);-- Insert into peopleINSERTINTOpeopleVALUES("Ulysse",25,75019,"Paris");-- id = 1("Jacques",84,42820,"Ambierle");-- id = 2Changelog, LicenseChangelogEUPL European Union Public License v. 1.2CreditsAuthor : CHOSSON UlysseMaintainer : CHOSSON UlysseEmail :ulysse.chosson@obspm.frContributors :MARTIN Pierre-Yvespierre-yves.martin@obspm.fr
Package: tmper
tmper : temp file sharingA very simple file sharing utility that launches quickly and allows sharing
files between many people with a set number of downloads (default 1, max 10).If there is an existing server then you can easily interact with it through
the command line interface. In this case, set the global url option then
upload and download:tmper c --url=http://some.url.com/       # configure a global url
tmper u /some/file                       # upload a file and receive code
tmper d <code>                           # download file codeFor more information, look into tmper –help. If there is no server you can
easily start one yourself. In the basic form, simply run:tmper s      # 's' is short for serve, see tmper --helpand point your browser tohttp://127.0.0.1:8888.  From there, you can follow
the directions to upload and download files.  By default, it only runs on the
local interface.nginx setupIt is recommended that if you wish the server to be available remotely to run
it behind a webserver such as nginx or apache with forwarding set up between
the two (so root privileges are not required).  Here is a sample setup,
especially for larger max file sizes and rate-limiting requests:limit_req_zone $binary_remote_addr zone=tmper:10m rate=1r/s;

server {
    listen 80;

    root /var/www/;
    index index.html index.htm;
    server_name <server-url>;

    location / {
        client_body_buffer_size    1M;
        client_max_body_size       128M;
        error_page 413 /error-size;
        limit_req zone=tmper burst=3;

        proxy_pass http://localhost:3333;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}Additionally, it is always recommended to employ SSL, however we do not cover
that topic here. For information about obtaining certificates and using them,
please refer tohttps://letsencrypt.org/
Package: tmp-folder
Documentation:https://jalvaradosegura.github.io/tmp-folder/tmp-folderEasily create a temporary folder. Put files in it and after you're done tmp-folder will delete the folder automatically.InstallationInstall from PyPI:pip install tmp-folderUsageThis is the minimum you need to get started withtmp-folder:frompathlibimportPathfromtmp_folderimportuse_tmp_folder@use_tmp_folderdeffoo(tmp_folder:Path):passJust decorate the function in which you need a temporary folder. Then add as first parameter, the variable that will hold the temporary folder path (it can be named however you want). Finally, after the function execution is completed, the folder will be deleted.
Package: tmp-jira-with-fix-template-name
DisclaimerTHIS IS NOT THE OFFICIAL REPO, JUST A QUICK FIX REPO WHILE WAITING TO INTEGRATE THIS FIX IN OFFICIAL REPOThis library eases the use of the Jira REST API from Python and it has been used in production for years.As this is an open-source project that is community maintained, do not be surprised if some bugs or features are not implemented quickly enough. You are always welcomed to useBountySourceto motivate others to help.QuickstartFeeling impatient? I like your style.fromjiraimportJIRAjira=JIRA('https://jira.atlassian.com')issue=jira.issue('JRA-9')print(issue.fields.project.key)# 'JRA'print(issue.fields.issuetype.name)# 'New Feature'print(issue.fields.reporter.displayName)# 'Mike Cannon-Brookes [Atlassian]'InstallationDownload and install usingpip install jiraoreasy_install jiraYou can also trypip install--user--upgradejirawhich will install or
upgrade jira to your user directory. Or maybe you ARE using avirtualenvright?By default only the basic library dependencies are installed, so if you want
to use theclitool or other optional dependencies do perform a full
installation usingpip install jira[opt,cli,test]UsageSee thedocumentationfor full details.DevelopmentDevelopment takes place onGitHubusing the default repository branch. Each
version is tagged.SetupForkrepoKeep itsync’ed while you are developingAutomatic (VS Code)Follow the instructions in thecontributing guide, which will describe how to use the dev container
that will automatically setup a suitable environment.ManualInstallpyenvto install a suitable python version.Launch docker jira serverdocker run-dit-p2990:2990--namejiraaddono/jira-software-standalonetox envsLinttox-elintRun teststoxBuild and publish with TWINEtox-epublishJira REST API Reference LinksWhen updating interactions with the Jira REST API please refer to the documentation below. We aim to support both Jira Cloud and Jira Server / Data Center.Jira Cloud/Jira Server(main REST API reference)Jira Software Cloud/Jira Software Server(former names include: Jira Agile, Greenhopper)Jira Service Desk Cloud/Jira Service Desk ServerCreditsIn addition to all the contributors we would like to thank to these companies:Atlassianfor developing such a powerful issue tracker and for providing a free on-demandJirainstance that we can use for continuous integration testing.JetBrainsfor providing us with free licenses ofPyCharmGitHubfor hosting our continuous integration and our git repoNavicatfor providing us free licenses of their powerful database client GUI tools.
Package: tmpk
Library and tool for Nintendo's TMPK archive formatRequirementsPython 3.6+Usagetmpk create  {files_to_include_in_archive}  {destination_archive}
tmpk update  {files_to_add_or_replace_in_archive}  {destination_archive}
tmpk extract {archive}
tmpk list {archive}Pass -h to see a full list of commands or usage help for a specific command.
Package: tmpl
tmplTemplate abstraction for using multiple template engine backends in same code.InstallationpipinstalltmplDocumentationIs lacking!ChangesThe current change log is available athttps://github.com/20c/tmpl/blob/master/CHANGELOG.mdLicenseCopyright 2016-2021 20C, LLCLicensed under the Apache License, Version 2.0 (the "License");
you may not use this software except in compliance with the License.
You may obtain a copy of the License athttp://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: tmpl2
tmplMinimalist music player for audio files with a pleasant UI.InstallationPyPIpip install tmpl2ManualClone the repositorygit clone https://github.com/H4wk507/tmpl.gitGo into the directory and installcd tmpl && pip install .UsagePass in directories/audio files as commandline arguments.Example:tmpl2 ~/Music/Rap/ sample.mp3 ...Key bindingsarrow keys: Navigateenter: Play selected songspace: Play/Pausen: Play the next songp: Play the previous song1: Set default mode2: Set loop mode3: Set repeat moder: Set random modeu: Increase volume by 5%d: Decrease volume by 5%q: QuitLicenseLicensed under theMIT License.
Package: tmplayer
tmplayerMinimalist music player for audio files with a pleasant UI.InstallationPyPIpip install tmplayerManualClone the repositorygit clone https://github.com/H4wk507/tmplayer.gitGo into the directory and installcd tmplayer && pip install .UsagePass in directories/audio files as commandline arguments.Example:tmplayer ~/Music/Rap/ sample.mp3 ...Key bindingsarrow keys: Navigatek and j: Move up and downenter: Play selected songspace: Play/Pausen: Play the next songp: Play the previous song1: Set default mode2: Set loop mode3: Set repeat moder: Set random modeu: Increase volume by 5%d: Decrease volume by 5%q: QuitLicenseLicensed under theMIT License.
Package: tmpld
# tmpld[![Build Status](https://travis-ci.org/telephoneorg/debian.svg?branch=master)](https://travis-ci.org/telephoneorg/tmpld) [![Github Repo](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/telephoneorg/tmpld) [![Pypi Version](https://img.shields.io/pypi/v/tmpld.svg)](https://pypi.python.org/pypi/tmpld) [![Pypi License](https://img.shields.io/pypi/l/tmpld.svg)](https://pypi.python.org/pypi/tmpld) [![Pypi Wheel](https://img.shields.io/pypi/wheel/tmpld.svg)](https://pypi.python.org/pypi/tmpld) [![Pypi Versions](https://img.shields.io/pypi/pyversions/tmpld.svg)](https://pypi.python.org/pypi/tmpld) [![Docker Pulls](https://img.shields.io/docker/pulls/telephoneorg/tmpld.svg)](https://hub.docker.com/r/telephoneorg/tmpld/)## MaintainerJoe Black | <me@joeblack.nyc> | [github](https://github.com/joeblackwaslike)## IntroductionCLI tool combining jinja2 with parsers and other objects including KubernetesAPI objects and linux capabilities objects.## Usage```usage: tmpld (sub-commands ...) [options ...] {arguments ...}Base Controllerpositional arguments:templates             template files to renderoptional arguments:-h, --help            show this help message and exit--debug               toggle debug output--quiet               suppress all output-d DATA, --data DATA  file(s) containing context data-s, --strict          Raise an exception if a variable is not defined```
Package: tmplockfile
A minimal, no-dependencies lock file mechanism, creating a temporary file to signal that aspecific file should not be touched by other scripts, or instances of the same script.Created for [Europe 1° Warmer](https://www.onedegreewarmer.eu/).This is module does _not_ implement OS level file locking. For that, see e.g. the built-in [lockfile](https://pythonhosted.org/lockfile/lockfile.html) module, [zc.lockfile](https://pypi.org/project/zc.lockfile/), or other similar projects.## Installation```shpip install tmplockfile```## Usage```python3from tmplockfile import LockFile, ResourceLockedwith LockFile("data.csv") as lockfile:# Do things involving data.csv here## A lock-file is temporarily placed in the same directory,# in a way that avoids the most obvious race conditions.# The variable `lockfile` contains the name of the lock-file,# e.g. `data.csv~lock`.except ResourceLocked:print("Another script is currently working on data.csv. Try again later!")```## Changelog- 0.0.3- Don't crash when no lockfile could be created
Package: tmplot
tmplottmplotis a Python package for analysis and visualization of topic modeling results. It provides the interactive report interface that borrows much from LDAvis/pyLDAvis and builds upon it offering a number of metrics for calculating topic distances and a number of algorithms for calculating scatter coordinates of topics. It can be used to select closest and stable topics across multiple models.FeaturesSupported models:tomotopy:LDAModel,LLDAModel,CTModel,DMRModel,HDPModel,PTModel,SLDAModel,GDMRModelgensim:LdaModel,LdaMulticorebitermplus:BTMSupported distance metrics:Kullback-Leibler (symmetric and non-symmetric) divergenceJenson-Shannon divergenceJeffrey's divergenceHellinger distanceBhattacharyya distanceTotal variation distanceJaccard inversed indexSupportedalgorithmsfor calculating topics scatter coordinates:t-SNESpectralEmbeddingMDSLocallyLinearEmbeddingIsomapInstallationThe package can be installed from PyPi:pipinstalltmplotOr directly from this repository:pipinstallgit+https://github.com/maximtrp/tmplot.gitDependenciesnumpyscipyscikit-learnpandasaltairipywidgetstomotopy,gensim, andbitermplus(optional)Quick example# Importing packagesimporttmplotastmpimportpickleaspklimportpandasaspd# Reading a model from a filewithopen('data/model.pkl','rb')asfile:model=pkl.load(file)# Reading documents from a filedocs=pd.read_csv('data/docs.txt.gz',header=None).values.ravel()# Plotting topics as a scatter plottopics_coords=tmp.prepare_coords(model)tmp.plot_scatter_topics(topics_coords,size_col='size',label_col='label')# Plotting terms probabilitiesterms_probs=tmp.calc_terms_probs_ratio(phi,topic=0,lambda_=1)tmp.plot_terms(terms_probs)# Running report interfacetmp.report(model,docs=docs,width=250)You can find more examples in thetutorial.
Package: tmplr
tmplrGenerate project files from templates on the command-lineInstallationtmplris on pip, so just# python3 -m pip install tmplrtmplrrequires python 3 or greater.UsageIf you find yourself creating lots of similar scripts or files, and you usually
just do something like# cp old new# $EDITOR newthentmplris the solution.Create temples (templates), then generate a file and start editing with# tmplr sample-script var=value func_name=my_func -f scriptSee your templates, or edit them, using thetemplescommand:# templessample-script
vim-ftplugin# temples -t sample-scriptsample-script:sampleshscript
Placeholdersvarfunc_name# temples -e -t sample-script(This is based on the example given at the end of the format description.)See below for the temple file format.By default, temples live in~/.tmplr, but this is configurable with the-dswitch to both programs.Supply-hfor more options.Temple-file formatA Temple file consists of two parts:headercontentThe header provides metadata specific to tmplr, and will be omitted when the
template is rendered into output.The content is text, containing special template sequences which will be
substituted by render arguments upon output.File extensions are ignored.Header formatThe first line of the header must consist of the same character repeated
thrice. We call this the "comment character" because, if you use a character
considered a comment for the normal file content, editors will not choke on
Temple headers.The next lines consist of metadata and all follow this format:{comment character} key : valueA value ends once the line is terminated by a newline character.After the metadata is the last line of the header--it is a carbon copy of the
first line of the header.Anything after the second sequence of 3 comment characters is considered
content and read literally.Temple metadataThe supported key-value pairs are:output
The output directive can be a path (with~expansions), optionally
containing the sequence{fname}. If the rendered template is written,
it will be written to this path, with{fname}substituted for a
filename by the engine (seetmplr.temple.Temple.write).If output is instead the string 'stdout', the rendered template will be
printed to standard out.help
The help directive provides a short description of the templatedelim
The delim directive decides the special sequences that require render
arguments.Any text of delim followed by name, or delim{name}, will be replaced by
the render argument name (seetmplr.temple.Temple.render).Take care to choose a delim value that will not appear in the template
except for in these escape sequences.Unsupported values will be ignored, but not cause a parsing error.Example#### output : /tmp/tmplr-test-example-{fname}# help : sample sh script# delim : %%####! /bin/shvar=%%var
%%{func_name}(){echodosomething}echo${%%var}End ExampleIn this example, the comment character is '#' because the file is a shell
script.%%varwill be replaced in both places (since%%is the delim) by thevarargument to render. Similarly%%{func_name}will be replaced thefunc_nameargument to render.Iffnameis passed as, e.g.,templar, the result will be written to/tmp/tmplr-test-example-templar.
Package: tmpo
## 1. Overview ##Tmpo-py is a Python 2.7/3.x client library for tmpo. It synchronizes tmpo blocks with the Flukso REST API, caching them locally in a SQLite DB after download. A Pandas Time Series object can be built from these tmpo blocks with proper head/tail truncating.## 2. Commands ##Create a tmpo session object, which sets up a connection to the $HOME/.tmpo/tmpo.sqlite3 database. If the latter does not exist, it is initialized with the proper tables.>>> import tmpo
>>> s = tmpo.Session()Set the optional debug flag to see what is happening under the hood.>>> s.debug = TrueAdding a sensor id + token combination will cause all tmpo blocks to be donwloaded for this specific sensor when running the sync command. Feel free to experiment with the Flukso HQ electricity data by adding this specific sensor.>>> s.add("fed676021dacaaf6a12a8dda7685be34", "b371402dc767cc83e41bc294b63f9586")Synchronize and download tmpo blocks with the Flukso server. Optionally, one or multiple sensor id args can be specified to limit the syncing to those sensors.>>> s.sync()Convert the time series data contained in the tmpo blocks to a Pandas TimeSeries data structure.>>> s.series("fed676021dacaaf6a12a8dda7685be34")Provide optional head/tail arguments in Unix time to limit the time series length.>>> s.series("fed676021dacaaf6a12a8dda7685be34", head=1411043328, tail=1411043583)
1411043332    3054225
1411043358    3054226
1411043383    3054227
1411043408    3054228
1411043434    3054229
1411043458    3054230
1411043481    3054231
1411043505    3054232
1411043528    3054233
1411043553    3054234
1411043577    3054235
dtype: float64
Package: tmpr
tmpr : temp file sharingA very simple file sharing utility that launches quickly and allows sharing
files between many people with a set number of downloads (default 1, max 10).If there is an existing server then you can easily interact with it through
the command line interface. In this case, set the global url option then
upload and download:tmpr c --url=http://some.url.com/       # configure a global url
tmpr u /some/file                       # upload a file and receive code
tmpr d <code>                           # download file codeFor more information, look into tmpr –help. If there is no server you can
easily start one yourself. In the basic form, simply run:tmpr s      # 's' is short for serve, see tmpr --helpand point your browser tohttp://127.0.0.1:8888.  From there, you can follow
the directions to upload and download files.  By default, it only runs on the
local interface.nginx setupIt is recommended that if you wish the server to be available remotely to run
it behind a webserver such as nginx or apache with forwarding set up between
the two (so root privileges are not required).  Here is a sample setup,
especially for larger max file sizes:server {
    listen 80;

    root /var/www/;
    index index.html index.htm;
    server_name <server-url>;

    location / {
        client_body_buffer_size    1M;
        client_max_body_size       128M;

        proxy_pass http://localhost:3333;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}
Package: tmpserver
tmpserverv0.0.2指定目录快速创建临时http服务，并显示url二维码installpipinstalltmpserverusagetmpserver -h 

usage: tmpserver [-h] [--bind ADDRESS] [--directory DIRECTORY] [--qr] [port]

positional arguments:
  port                  Specify alternate port [default: 8000]

optional arguments:
  -h, --help            show this help message and exit
  --bind ADDRESS, -b ADDRESS
                        Specify alternate bind address [default: all
                        interfaces]
  --directory DIRECTORY, -d DIRECTORY
                        Specify alternative directory [default:current
                        directory]
  --qr                  show qrcode in terminalexample(py3) ➜  tmpserver --qr -d /tmp/ 8899

█████████████████████████████████
█████████████████████████████████
████ ▄▄▄▄▄ █ ▄██▀ ▄ ▀█ ▄▄▄▄▄ ████
████ █   █ █▄█▀ ▀ ▀███ █   █ ████
████ █▄▄▄█ █▄▀ ▄▄  ▀██ █▄▄▄█ ████
████▄▄▄▄▄▄▄█▄▀ █▄▀ █▄█▄▄▄▄▄▄▄████
████ █▀▄▄▄▄ ▄▀██ █▀▄▄ ▀▀ ▀  ▄████
████▀▀█▄▄▄▄█ ▄██ ▀██▀██▀█ ▀▀ ████
████   ▀ ▀▄█ ▀▄▄▄  █▀ █  ██▀▄████
████ ▄▀ ▄▄▄ █▀█ ▄▄▀▀█▀ ▄ ▄ ▄ ████
████▄█▄███▄▄  ▄▀▀▀▄▄ ▄▄▄ ▄  █████
████ ▄▄▄▄▄ █  ▀▄▀█▀  █▄█ ▄ █ ████
████ █   █ █ ▄ █▄▄ █▄▄▄ ▄ █▄ ████
████ █▄▄▄█ ██▀ █▄█ █▄▀  ▀▀▄  ████
████▄▄▄▄▄▄▄█▄▄▄██▄▄█▄█▄█▄▄██▄████
█████████████████████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Serving HTTP on 192.168.1.119 port 8899 with directory:/tmp/ (http://192.168.1.119:8899/) ...dependenceqrcode
Package: tm-remote-build
Remote BuildLoad or unloadOpenplanetplugins from your IDE.SetupInstall tm-remote-build using pip:python -m pip install --upgrade tm-remote-buildUsageLoad a plugin:tm-remote-build load folder MyPlugin -op OpenplanetNextUnload a plugin:tm-remote-build unload MyPlugin -op OpenplanetTurboLinksGithub:https://github.com/skybaks/tm-remote-buildPypi:https://pypi.org/project/tm-remote-build/Openplanet:https://openplanet.dev/plugin/remotebuildVS Code:https://github.com/skybaks/vscode-openplanet-remotebuild
Package: tmrwppk
tmrwppkTomorrow’s Prices TodayFree software: MIT licenseDocumentation:https://tmrwppk.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.0.1 (2019-09-01)First release on PyPI.