Saravanan666/pypi-org huggingface dataset:
Package: tailors-trainer
tailors-trainerutils to train modelsfeaturesautocast + GradScalermulti-sample dropouthttps://zhuanlan.zhihu.com/p/478589620bitsandbytesTorchSnooperwith torch.autograd.profiler.profile(enabled=True, use_cuda=False) as profile:    ...print(profile)# 或者在命令行运行python -m torch.utils.bottleneck main.pylibsoptunaray
Package: tailow
## Tailow[![Build Status](https://travis-ci.org/sourcepirate/tailow.svg?branch=master)](https://travis-ci.org/sourcepirate/tailow)A ORM wrapper around motor## Usage```pythonimport asynciofrom tailow.fields import *from pymongo import ASCENDINGfrom tailow.document import Documentclass Address(Document):address = StringField(required=True)class Student(Document):name = StringField(required=True)age = IntegerField(required=True)std = IntegerField(required=True)address = ReferenceField(Address)class Meta:name = "students"indexes = [(age, ASCENDING)]async def get_all_students():values = await Student.objects.filter(name="sathya").limit(10).skip(2).find()print(values)evloop = asyncio.get_event_loop()evloop.run_until_complete(get_all_students())```## StatusWork in progress.
Package: tailpipe
TailpipeA simple, command-line tool for reading Gitlab pipeline job output in the
console.  Just runtailpipewhen your working directory is within a Git
repository and the tool will determine your remote repository details, the
current commit, and what pipeline jobs are currently running in Gitlab for
that commit.SetupYou will need to create a~/.python-gitlab.cfgfile with a format like this:[global]
default = main
ssl_verify = true
timeout = 5

[main]
url = <GITLAB_URL>
private_token = <PRIVATE_TOKEN>
api_version = 4Replace<GITLAB_URL>with your Gitlab URL.  Replace<PRIVATE_TOKEN>with a Gitlab private token created with API access.
Follow the instructionshere
Package: tailraiders
TailraidersTailraiders is a package currently stillunder development. It is meant to be used for school and potentially later for Data Science. Modeled after the Tailraiders Alliance Factions, all subpackages are named after those.InstallationYou can install the package by using the following code:pip install tailraidersNew additions: Version 0.1.0Errors and prints are now displayed properly when running the codeFirst more major release, due to this being a now fullfilled assignment
Package: tailread
readtailSimple DescriptionA simplest generator function written in pure pythonSeek from the tail of the fileInstallpipinstalltailreadUseageimporttailreadastail# consuming tails one by onelines=tail.readlines('access.log')# take tail of one lineline=next(lines)print(line)# b'line 10/r/n'# next...line=next(lines)print(line)# b'line 9/r/n'# When passing a fileobject, The file must be opened in bytes mode.withopen('access.log','rb'):asfp:forlineintail.readlines(fp):print(line)if'some string'inline:break# or from file pathforlineintail.readlines('access.log'):print(line)if'some string'inline:break# b'line 10\r\n'# b'line 9\r\n'# b'line 8\r\n'# b'line 7\r\n'# ....# decoding lines from encoding infoforlineintail.readlines('access.log',encoding='utf-8',errors='ignore'):print(line)# line 10# line 9# line 8# line 7# ....
Package: tails
A collection of utilities for Sanic (and/or Stellata and/or Webpack)
apps.CLISuppose you have a project calledfoo.Run database migrations:tails foo migrateBuild webpack assets:tails foo buildRun a debug server that reloads on server + asset changes:tails foo server --watch --buildRun a production server:tails foo server --production --host=0.0.0.0 --port=9000Run multiple projects at once:tails ~/foo/foo ~/bar/bar server --port=9001 --port=9002Reset to a fresh database with no data:tails foo resetResourceReturn JSON or HTML pages:import foo
import tails.resource

@foo.app.route('/')
async def index():
    return tails.resource.html(
        title='What a great page',
        external_css=['https://fonts.googleapis.com/icon?family=Material+Icons'],
        js=['/static/build/js/index.js'],
        css['/static/build/css/index.css']
    )

@foo.app.route('/api')
async def api():
    data = ...
    return tails.resource.json({
        'data': data
    })
Package: tailscale
Python: Asynchronous client for the Tailscale APIAsynchronous client for the Tailscale API.AboutThis package allows you to control and monitor Tailscale clients
programmatically. It is mainly created to allow third-party programs to
integrate with Tailscale.InstallationpipinstalltailscaleUsageimportasynciofromtailscaleimportTailscaleasyncdefmain():"""Show example on using the Tailscale API client."""asyncwithTailscale(tailnet="frenck",api_key="tskey-somethingsomething",)astailscale:devices=awaittailscale.devices()print(devices)if__name__=="__main__":asyncio.run(main())Changelog & ReleasesThis repository keeps a change log usingGitHub's releasesfunctionality. The format of the log is based onKeep a Changelog.Releases are based onSemantic Versioning, and use the format
ofMAJOR.MINOR.PATCH. In a nutshell, the version will be incremented
based on the following:MAJOR: Incompatible or major changes.MINOR: Backwards-compatible new features and enhancements.PATCH: Backwards-compatible bugfixes and package updates.ContributingThis is an active open-source project. We are always open to people who want to
use the code or contribute to it.We've set up a separate document for ourcontribution guidelines.Thank you for being involved! :heart_eyes:Setting up development environmentThis Python project is fully managed using thePoetrydependency
manager. But also relies on the use of NodeJS for certain checks during
development.You need at least:Python 3.11+PoetryNodeJS 20+ (including NPM)To install all packages, including all development requirements:npminstall
poetryinstallAs this repository uses thepre-commitframework, all changes
are linted and tested with each commit. You can run all checks and tests
manually, using the following command:poetryrunpre-commitrun--all-filesTo run just the Python tests:poetryrunpytestAuthors & contributorsThe original setup of this repository is byFranck Nijhof.For a full list of all authors and contributors,
checkthe contributor's page.LicenseMIT LicenseCopyright (c) 2021-2023 Franck NijhofPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: tailscale-localapi
Tailscale Local APIThis library can be used to control and get information from Tailscaled's local socket API.It is not a Tailscale SaaS API library.Usagets=TailscaleAPI.v0()ts.connect()ts.set_exit_node("hostname")peer1=ts.peer("hostname")print(peer1.ip_address)forpeerints.peers():print(peer.ip_address)
Package: tailscale-util-ns
This is a tailscale plugin for getting IP Address of specific device.Installationpip install tailscale-util-nsUsageAddtailscale.inifile into the root directory.[config]
tskey : <tskey-xxxxxxxxx>
advertise-tags : tag:<tag_name>How to up Tailscale?fromtailscale_ns.tailscale_device_ipimportTailScaleDeviceIpTailScaleDeviceIp()How to get IP Address for DNS?fromtailscale_ns.tailscale_device_ipimportTailScaleDeviceIpTailScaleDeviceIp().get_ip_for_dns('prtg02').strip()How to get IP Address for Device?fromtailscale_ns.tailscale_device_ipimportTailScaleDeviceIpTailScaleDeviceIp().get_ip_for_device(device_name='PRTG02')AuthorNishith Shah -githubLicenseThis project is licensed under theMIT license.
Package: tailsocket
Tailsocket captureYou’ve set up your machine and you’re tweaking config files to get it
just right, this last bit should do it… oh, it doesn’t? Weird, where’s
that log again? Hmm, I know it’s in the history somewhere, or did I have
it on screen/tmux? Which one? :/Say no more!pip install tailsocket, runtailsocket-server,
write the path to the log fileonceand let the logs come to you!Ok, maybe I’m being a bit dramatic, but I’ve found this frustrating
sometimes and seemed like a good use for WebSockets so I put this little
project together using Tornado, asyncio and React.Keep in mind Tailsocket can only read from files the owner of the
process can read from.Try it out athttp://tailsocket.herokuapp.com/IssuesChanging a tailed log file does not show confirmation, simply new log
entries.Application messages and errors show in the same context as log
entries.EnhancementsGlobbingMultiple log screensChangelogv0.1.1- Use the more performantpyinotifyin Linux platforms
instead of a rawselectevent loop.v0.1- Initial version.
Package: tail-uwsgi-log
What does this package doTail log files on your server and report by email if error occurs.By default, the regex pattern was set for default uwsgi logs.Installpip install tail_uwsgi_logUsagetail_uwsgi_log -c your_config_filepath.iniConfigsThe config file provides infomations needed to send an email and log-files to tail.For example:; section name startswith 'log' would be interpreted as logfile config[log-myapp1]; log file pathfilepath=your_log_filepath; wait_time for tail command, the thread will sleep and wait; the wait_time should be small if the server is busy and generates log lines quicklywait_time=0.5; the regex pattern to read the log line, the line doesn't match this regex will be recorded as innormalpattern=; mail settingsmail_recipients=example1@example.com, example2@example.commail_host=smtp.qq.commail_port=465mail_sender=your_email_addressmail_password=your_passwordTo tail several log files at the same time, we could set several sections on config files, the section name should start with 'log'.For mail settings, we could use a section named 'mail' to set default value. The default value will be used if not set in log section.For example:[log-myapp1]filepath=your_log_filepath1wait_time=0.5pattern=mail_recipients=example1@example.com, example2@example.com[log-myapp2]filepath=your_log_filepath2wait_time=1pattern=mail_recipients=example3@example.com, example4@example.com[mail]mail_host=smtp.qq.commail_port=465mail_sender=your_email_addressmail_password=your_passwordThe default regex pattern to match the logline was for default uwsgi logs, which is:pattern=r'''\]\ (?P<ip>.*?)\ (.*)\ {.*?}\ \[(?P<datetime>.*?)\]\ (?P<request_method>POST|GET|DELETE|PUT|PATCH)\s(?P<request_uri>[^ ]*?)\ =>\ generated\ (?:.*?)\ in\ (?P<resp_msecs>\d+)\ msecs\s\(HTTP/[\d.]+\ (?P<resp_status>\d+)\)'''The 'resp_status' in the pattern is important, which will be used as a signal.When the resp_status is500, an email will be sent with all innormal log lines recorded before.
Package: tailwindall
pip install tailwindall[!IMPORTANT]
A python all in one package for doing everything, including:GraphingUIWebsite developmentStatisticsMathsShape identificationAngle calculationAnd more![!NOTE]Future Updates[ ] Add widgets[ ] For web development[ ] For UI development[ ] Add different types of graphs[ ] Add more statistics functions[ ] Add more math functions[ ] Add more util functions[ ] Improve syntax of tw script[ ] Improve networking library[ ] Add embedded pygame/turtle windows for graphics[x] Add multiple windows rendering at once[x] Add shape identification[x] Add angle calculation[x] Add scenes for graphics[x] Add gameobjects[x] Finished shape identification[ ] Add more documentation[!WARNING]
Math/Web module is not finished yet
Package: tailwind-color-picker
Tailwind Color PickerThis tool displays the Tailwind color palette from which you can yank.The yanked color is hex with hash i.e.#f8fafcWhy?I just like Tailwind colors and I like using them for things other than web development. This helps.Colors are from theTailwind Documentation.Installation:pipx install tailwind-color-pickerUsage:Run withtwcp.Bindings, etc:j / down   - move cursor down
k / up     - move cursor up
h / left   - move cursor left
l / right  - move cursor right
y / enter  - yank (copy) the select color
q / Ctrl+c - quit

Selecting a color with the mouse will copy it, if you mouse.Other InformationThis app was built usingTextual.This currently yanks only the hex code. It's not really meant to generate the css class names that you would use if developing with Tailwind. But it could be a helpful preview of the default palette.
Package: tailwind-colors
Python Tailwind ColorsUse the default color palette from TailwindCSS (https://tailwindcss.com/docs/customizing-colors) in your python code for plotting, image generation, etc..Installation:poetryaddtailwind_colors# orpipinstalltailwind_colorsUsage:fromtailwind_colorsimportTAILWIND_COLORS_HEX,TAILWIND_COLORS_RGBprint(TAILWIND_COLORS_HEX.FUCHSIA_600)# prints '#c026d3'print(TAILWIND_COLORS_RGB.FUCHSIA_600)# prints (192, 38, 211)
Package: tailwind-palette
Python Tailwind PaletteIntroductionTailwind Palette is a Python package designed for working with the Tailwind CSS color palette. This library facilitates easy access and manipulation of Tailwind CSS colors in Python. It's an extension of thepython-tailwind-colorslibrary, originally developed by dostuffthatmatters, enhanced to provide additional functionality and improved user experience.View the Tailwind CSS color palette hereInstallationTo install Tailwind Palette, run:pipinstalltailwind-paletteUsageImport StatementUse the following import statement to access the TailwindPalette class.fromtailwind_paletteimportTailwindPaletteastpAccessing ColorsYou can access color shades directly or use the '.get()' method.Direct Access:slate_100=tp.SLATE.shade_100print(f"Slate 100 Hex:{slate_100.hex}, RGB:{slate_100.rgb}")Using '.get()' Method:pink_500=tp.get("pink-500")print(f"Pink 500 Hex:{pink_500.hex}, RGB:{pink_500.rgb}")Overriding ColorsYou can override color shades using hex or RGB values.Using Hex Value:tp.SLATE.override_shade('shade_100',value="#abcdef")Using RGB Value:tp.SLATE.override_shade('shade_200',value=(12,34,56))FeaturesEasy access to all Tailwind CSS color shades.Ability to override specific color shades.Hex and RGB color format support.DependenciesTailwind Palette requires the following dependencies:Python 3.xTroubleshootingIf you encounter any issues, please refer to theGitHub Issuespage for common problems and solutions.LicenseThis project is licensed under the MIT License. See the LICENSE file for more details.
Package: taimos-cdk
This repository contains a library with higher-level constructs for AWS CDK (https://github.com/awslabs/aws-cdk) written in TypeScript.InstallationYou can install the library into your project using npm or pip.npminstalltaimos-cdk-constructs

pip3installtaimos-cdkConstructsDeployment Pipeline and Skill Blueprint for AlexaHosting for Single Page ApplicationSimple CodeBuild project for NodeJS projectsScheduled Lambda functionVPC Internal REST APIContributingWe welcome community contributions and pull requests.LicenseThe CDK construct library is distributed under theApache License, Version 2.0.SeeLICENSEandNOTICEfor more information.
Package: taimos.cdk-construct-alexa-skill
A CDK L3 Construct for an Alexa Skill backendInstallationYou can install the library into your project using npm or pip.npminstall@taimos/cdk-construct-alexa-skill

pip3installtaimos.cdk-construct-alexa-skillContributingWe welcome community contributions and pull requests.LicenseThe CDK construct library is distributed under theApache License, Version 2.0.SeeLICENSEfor more information.
Package: taimos.cdk-construct-gitlab-variable
A CDK L3 Construct for storing Gitlab CI variables from a SecretsManager secretInstallationYou can install the library into your project using npm or pip.npminstall@taimos/cdk-construct-gitlab-variable

pip3installtaimos.cdk-construct-gitlab-variableUsage# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826secret=Secret(self,"DBSecret",description="Some Secret",generate_secret_string={"secret_string_template":"{\"username\":\"admin2\"}","generate_string_key":"password","password_length":20})gitlab_secret=Secret.from_secret_arn(self,"GitlabToken","arn:aws:secretsmanager:eu-central-1:123456789012:secret:GitlabToken-abcde")db_password=GitlabVariable(self,"GitlabVarPassword",gitlab_secret=gitlab_secret,secret=secret,secret_field="password",project_id="group/secrets-test",variable_name="RDS_PASSWORD")ContributingWe welcome community contributions and pull requests.LicenseThe CDK construct library is distributed under theApache License, Version 2.0.SeeLICENSEfor more information.
Package: taimos.cdk-construct-hosting
A CDK L3 Construct for web hostingInstallationYou can install the library into your project using npm or pip.npminstall@taimos/cdk-construct-hosting

pip3installtaimos-cdkContributingWe welcome community contributions and pull requests.LicenseThe CDK construct library is distributed under theApache License, Version 2.0.SeeLICENSEfor more information.
Package: taintedSwallow
# taintedSwallow## Overview## InstallationShould be as simple aspip install taintedSwallow## Example usage## HelpIf you experience any problems using taintedSwallow, open an [issue](https://github.com/minillinim/taintedSwallow/issues) on GitHub and tell us about it.## Licence and referencingProject home page, info on the source tree, documentation, issues and how to contribute, seehttp://github.com/minillinim/taintedSwallowThis software is currently unpublished## CopyrightCopyright (c) 2013 Michael Imelfort. See LICENSE.txt for further details.
Package: taipan-di
Taipan-DITruly Amazing Inversion of control Python library Analogous to .Net's DITaipan-DI is aDependency Injectionlibrary whose goal is to provide a behaviour similar to.Net's DI system.FeaturesLightweightNo decoratorsNo hidden behaviour (what you write is what you get)Automatic dependency injection on service resolvingType hintingNo global container by defaultSingleton and factory scopesRegister pipelines easilyConstraintsBased purely on types (not on strings)No automatic registrationInstallationPippip install taipan-diPoetryPoetryis a Python dependency management and packaging tool. I actually use it for this project.poetry add taipan-diUsageFirst, you have to create aServiceCollectionin which you will register your services. EachServiceCollectionis independant and contain different services.services=ServiceCollection()Then, register your services as you wish. You can initiate registrations processes via 2 ways :services.register(Type)services.register_pipeline(Type)For "standard" registration, you have to first choose the scope and then how you wish the instances to be created. Examples :services.register(Type).as_factory().with_implementation(ChildType)services.register(Type).as_singleton().with_self()services.register(Type).as_singleton().with_instance(instance)services.register(Type).as_factory().with_creator(lambdaprovider:create(provider))For pipeline registration, all you have to do is add the links that constitute the pipeline and register it as a singleton or a factory. Example :services.register_pipeline(Type).add(Link1).add(Link2).as_factory()Once your services are registered, you have to build a service provider which will be used to resolve services :provider=services.build()resolved=provider.resolve(Type)IfTypehas a constructor dependency, it will be automatically resolved, as long as the dependency has been registered in theServiceCollection.InspirationsThis library is partially based on thekinkdependency injection library. I was using kink on another project previously but it didn't fit all my requirements and wishes.I also took inspiration from theinjectorlibrary and .Net's dependency injection system.TODOThis library isn't stable yet and a lot of things can still be improved.
If there is something you want to see added or if something does not work as you want it to, feel free to open an issue.Here is a list of features I have in mind and will be working on :Create configuration from environment or configuration files
Package: taipy-config
Taipy configLicenseCopyright 2023 Avaiga Private LimitedLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file 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.UsageLicenseUsageTaipy configInstallationContributingCode of conductDirectory StructureWhat is Taipy configTaipy is a Python library for creating Business Applications. More information on ourwebsite. Taipy is split into multiple repositories includingtaipy-configto let users
install the minimum they need.Taipy configis dedicated to help the user configure a Taipy application.A more in depth documentation of taipy can be foundhere.InstallationWant to installTaipy config? Check out ourINSTALLATION.mdfile.ContributingWant to help buildTaipy config? Check out ourCONTRIBUTING.mdfile.Code of conductWant to be part of theTaipy configcommunity? Check out ourCODE_OF_CONDUCT.mdfile.Directory Structuretaipy/:config: Configuration definition, management and implementation.config.config.Configis the main
entrypoint for configuring a Taipy Core application.logger: Taipy logger.tests: Unit tests following thetaipy/structure.CODE_OF_CONDUCT.md: Code of conduct for members and contributors oftaipy-config.CONTRIBUTING.md: Instructions to contribute totaipy-config.INSTALLATION.md: Instructions to installtaipy-config.LICENSE: The Apache 2.0 License.Pipfile: File used by the Pipenv virtual environment to manage project dependencies.README.md: Current file.contributors.txt: The list of contributors.setup.py: The setup script managing building, distributing, and installingtaipy-config.tox.ini: Contains test scenarios to be run.