Saravanan666/pypi-org huggingface dataset:
Package: takeoff-sdk
Takeoff SDK - InternalTable of ContentsTakeoff SDK - InternalTable of ContentsAboutGetting StartedInstallingUsageLaunch TakeoffAdd Extra ModelAboutThe Takeoff SDK library facilitates launching Takeoff within Python. It provides a Pythonic interface, simplifying the process of initiating Takeoff using the docker run command. Essentially, it wraps the dev.sh script, which manages Docker with all necessary environment variables, volume mounting, network configuration, and device settings. This library is specifically designed for an internal team of developers who need to integrate Python applications with the Takeoff Server, offering a quick and straightforward way to start Takeoff in a Python runtime. It also enables running benchmarks and integration tests.Getting StartedInstallingTo get started with the Takeoff SDK Library, you can install it directly using pip:pip install takeoff_sdkAlternatively, if you are working on developing the library, you can install it in editable mode. This allows you to make changes to the library and test them in real-time. Navigate to thetakeoff-sdkfolder and run the following command:pip install -e .UsageLaunch TakeoffTo quickly launch the Takeoff server with default configurations, use the following script:fromtakeoff_sdkimportTakeofftakeoff=Takeoff(model_name="test_model",device="cuda")takeoff.start()# this will start a docker with takeoff server in the backgroundFor a more customized setup:fromtakeoff_sdkimportTakeoff,TakeoffEnvSettingconfig=TakeoffEnvSetting(model_name="test_model",device="cpu",max_batch_size=16)takeoff=Takeoff.from_config(config)takeoff.start()# this will start a docker with takeoff server in the backgroundRefer to theTakeoffEnvSettingData Object orTakeoff Environment Variables Settingsfor additional configuration options.Launch from a manifest mode:fromtakeoff_sdkimportTakeofftakeoff=Takeoff.from_manifest("path_to_your_manifest.yaml")takeoff.start()# this will takeoff server using manifest.yamlAdd Extra ModelThis utilizes the model_management_api functionality, which in python you can do:# assume you have a takeoff object running# takeoff.start() running# This will add one more model to `embedding` consumer grouptakeoff.add_model(model_name="test_model",backend="hf",device="cuda",consumer_group="embedding")
Package: takeover.py
A script to test for subdomain takeovers from a list of domains.
Fingerprints are taken fromhttps://github.com/EdOverflow/can-i-take-over-xyz.Installationpip install takeover.pyAfter installation, make sure to configure the config.json file. You can
also copy it from the github repository and use with--configflag.UsageA single targetecho blog.example.com | takeover -Multiple Targets:subfinder-d"example.com"-silent|takeover-# orsubfinder-d"example.com"-silent|takeover/dev/stdinNotifications:subfinder-d"example.com"-silent|takeover---notifyDiscordNoteThe output is a lot verbose so it is recommended to use a third party
webhook service like discord, slack to get notified.Some fingerprints are not well formatted to be matched. For example,
in WordPress, the fingerprint isDo you want to register *.wordpress.com?, however this is not an
exact match and correct fingerprint should beDo you want to register<em>example.wordpress.com</em>?. To fix
this, you can give your own file for fingerprints with either inconfig.jsonor with--servicesflag.ContributeFeel free to submit a PR or new issues on GitHub.LicenseLICENSE.mdDisclaimerAn excerpt from the License: “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: take-resolution
Take ResolutionThis package proposes to offer a rate that represents the user resolution on the smart contact.The proposal considers that users have resolution every time they receive a service provided by the smart contact. The rate is a value between 0 and 1 and as closer to 1, the better the rate is.If the metric is:1: all users receive had at least one resolution on the smart contact0: all users didn't had at least one resolution on the smart contactInstallationUsepipto install:pipinstalltake-resolutionUsageUsing anumeric scaleConsumer Satisfaction Survey:importpandasaspdimporttake_resolutionastrdf=pd.DataFrame({"amount":[11198,11310,11164,10571,11277,7903,4968],"DAUs":[13487,13859,12979,12342,17030,9631,6099]})result=tr.run(dataframe=pd,amount="amount",dau_column="DAUs")print(result["rate"])Which will result in0.7665976833542061.AuthorTake Data&Analytics Research - squad XD.
Package: takes
TakesDecorator for run-time type checks.Free software: MIT licenseDocumentation:https://takes.readthedocs.io.FeaturesConvert undefined dictionaries accepted by functions to strong data types, without changing calling code.Decorated functions can be called with dictionaries as before, or with instances of the desired type.ExampleThis function takes an undocumented dictionary. Maintainers must
read the function body to determine the expected shape of the data.defmy_function(data):x,y=data["x"],data["y"]returnf"x={x}, y={y}">>>my_function({"x":1,"y":1})"x=1, y=1"Takes lets you redefine this function to accept a well-defined
data type, without needing to immediately change all of the calling
code:fromtakesimporttakes@dataclassclassPoint:x:inty:int@takes(Point)defmy_function(point):x,y=point.x,point.yreturnf"x={x}, y={y}"# Can still call my_function with a dictionary,# Takes will convert it to a point by instantiating# a Point using the given data as kwargs:>>>my_function({"x":1,"y":1})"x=1, y=1"# Of course, you can also call the function with the proper# type:>>>my_function(Point(x=1,y=1))"x=1, y=1"Further, takes performs type checks at run-time.CreditsThis package was created withCookiecutterand thepymetrics/cookiecutter-python-libraryproject template.History0.2.0 (2021-11-28)First release on PyPI.
Package: take-satisfaction
Take SatisfactionThis package proposes to offer a rate that represents the customer satisfaction research from the bot.The proposal converts the Customer Satifaction Survey (CSS) to a normalized rate between 0 to 1. The normalized value alow the comparasion of CSS from differents bot that have differents scales types and ranges.InstallationUsepipto install:pipinstalltake-satisfactionUsageUsing anumeric scaleConsumer Satisfaction Survey:importpandasaspdimporttake_satisfactionastspdf=pd.DataFrame({"Action":[0,1,2,3,4,5,6,7,8,9,10],"amount":[0,1,2,0,0,10,0,35,200,360,3330]})result=ts.run(dataframe=pdf,scale_column="Action",amount_column="amount")print(result["rate"])Which will result in0.9761300152361605.Using atextual scaleConsumer Satisfaction Survey:importpandasaspdimporttake_satisfactionastspdf=pd.DataFrame({"Action":["PÃ©ssimo","Ruim","OK","Ã“timo","Excelente"],"amount":[0,1,35,350,3330]})css_column="Action"amount="amount"result=ts.run(dataframe=pdf,scale_column=css_column,amount_column=amount)print(result["rate"])Which will result in0.9715419806243273.AuthorTake Data&Analytics Research - squad XD.
Package: take-text-preprocess
Take Text Pre-ProcessThis package is a tool for pre-processing a sentence.The basic functionality available in this packages are:Converting to lower caseRemove non ascii charactersAdd space between punctuation and wordThe customize functionality available are:Replace URL by a tokenReplace Email by a tokenReplace Numbers by a tokenReplace Code (Number and letters) by a tokenRemove symbolsReplace abbreviationsInstallationThe TakeTextPreProcess can be installed from PyPi:pipinstalltake-text-preprocessUsageBasic pre-processTo use the basic pre-process:fromtake_text_preprocess.presentationimportpre_processsentence='Bom dia, meu áºž caro'pre_process(sentence)Customize pre-processTo use the customize pre-process is needed a input with a list of all pre-process you wanted to use.The following examples show all the customized pre-processes available.URLfromtake_text_preprocess.presentationimportpre_processoptional_tokenization=['URL']sentence='Bom dia, meu https://www.take.net  caro'pre_process(sentence,optional_tokenization)EMAILfromtake_text_preprocess.presentationimportpre_processoptional_tokenization=['EMAIL']sentence='Bom dia, meu teste@gmail.com  caro'pre_process(sentence,optional_tokenization)NUMBERfromtake_text_preprocess.presentationimportpre_processoptional_tokenization=['NUMBER']sentence='Este Ã© um nÃºmero 99999-9999'pre_process(sentence,optional_tokenization)CODEfromtake_text_preprocess.presentationimportpre_processoptional_tokenization=['CODE']sentence='Este Ã© um cÃ³digo 91234abc'pre_process(sentence,optional_tokenization)SYMBOLSfromtake_text_preprocess.presentationimportpre_processoptional_tokenization=['SYMBOL']sentence='Este Ã© um sÃ­mbolo %'pre_process(sentence,optional_tokenization)ABBREVIATIONSfromtake_text_preprocess.presentationimportpre_processoptional_tokenization=['ABBR']sentence='Este Ã© uma abreviaÃ§Ã£o vc'pre_process(sentence,optional_tokenization)ContributeIf this is the first time you are contributing to this project, first create the virtual environment using the following command:conda env create -f env/environment.ymlThen activate the environment:conda activate taketextpreprocessTo test your modifications build the package:pip install dist\take-text-preprocess-VERSION-py3-none-any.whl --force-reinstallThen run the tests:pytest
Package: takiyasha
TakiyashaTakiyasha 是一个用来解密多种加密音乐文件的工具。Github|Notabug本项目是以学习和技术研究的初衷创建的，修改、再分发时请遵循License。Takiyasha 的设计灵感，以及部分解密方案，来源于Unlock Music Project - CLI Edition。Takiyasha 对输出数据的可用性（是否可以识别、播放等）不做任何保证。重要事项在 v0.4.2 之后的版本中，包的结构、行为、命令行调用等已经发生了翻天覆地的变化。如果你曾针对 v0.4.2 或者之前的版本制作过脚本或工具，那么它们已经不再适用于当前版本（v0.6.0.dev1 及之后）。如果你有使用 v0.4.2 的需求，按照以下步骤回滚：卸载：pip uninstall takiyasha安装 v0.4.2：pip install -U takiyasha==0.4.2特性跨平台：使用 Python 3 编写，只要系统中存在 Python 3.8 及以上环境，以及任意包管理器，就能安装并使用支持的加密音乐文件格式：QQ 音乐.qmc*.mflac*.mgg*为以下加密文件提供部分支持，但不保证能成功解密：从版本 18.57 及之后的 QQ 音乐 PC 客户端下载的.mflac*/.mgg*文件从版本 11.5.5 及之后的 QQ 音乐 Android 客户端下载的.mflac*/.mgg*文件网易云音乐.ncm.uc!（网易云音乐客户端的加密缓存文件）作为 Python 库使用时，针对主要功能，有完善的 docstring作为 Python 库使用时，支持解密和实验性的反向加密命令行调用方式（仅限解密，不支持反向加密）自动根据文件内容探测文件的加密类型基于多进程的多文件并行处理（默认行为）自动补充解密后文件的标签信息（包括封面）如何安装Python 版本需求：大于等于 3.8需要的依赖项：pyaes- AES 加解密支持colorama- 命令行输出中的颜色mutagen- 为输出文件写入标签和封面MusicTagFindUtils- 从网易云音乐和 QQ 音乐查找输出文件的标签信息和封面版本号必须大于等于 v0.1.2requests- 网络请求库，用于下载封面信息从 Pypi 安装（推荐）执行命令：pip install -U takiyasha从本仓库安装执行命令：pip install -U git+https://github.com/nukemiko/takiyasha从本仓库下载和安装已发布版本进入此页面，下载最新版本如果要下载其他版本（包括预发布版本），请直接前往历史发布页面寻找和下载下载 Wheel 安装包（扩展名为.whl的文件）下载完毕后，执行命令：pip install -U /path/to/package.whl如何使用命令行环境简单易用：takiyasha 1.ncm 2.qmcflac 3.mflac 4.mgg ...使用-t, --test，只查看输入文件信息但不解密：takiyasha -vt 1.ncm 2.qmcflac 3.mflac 4.mgg ...使用-f, --try-fallback尝试解密“仅部分支持”的文件：takiyasha -f hell.mflac damn.mgg如果不加其他参数，解密成功的文件将会在当前工作目录（pwd或os.getcwd()的值）下产生。使用-h, --help获取完整的帮助信息，或者参见此处。如果你的终端（Shell/PowerShell/CMD 等）出现了以下报错，或其他类似错误信息：（bash）bash: takiyasha：未找到命令（zsh）zsh: command not found: takiyasha（CMD）'takiyasha' 不是内部或外部命令，也不是可运行的程序或批处理文件。（PowerShell）takiyasha : 无法将“takiyasha”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写，如果包括路径，请确保路径正确，然后再试一次。请尝试改用python -m takiyasha。在其他项目中作为 Python 库导入使用敬请参见Wiki 上的相关页面。常见问题敬请参见Wiki 上的相关页面。碰上了不常见的问题？前往 Issues 页面，查看是否存在相似问题，或者开一个 Issue。
Package: tako
Tako is a distributed key-value data store. It aims to provide highscalability and availability through a shared nothing architecture,
consistent hash based data partitioning, read repair with time
stamping and live migration. An included coordinator server can be
used as a single point of configuration to distribute cluster
configuration to tako nodes in a cluster.Tako includes a http proxy server that can be used to
interface with a tako cluster using normal HTTP GET/POST.Within a cluster, tako nodes communicate using a binary
protocol and the socketless and syncless libraries.Tako makes use of libev/libevent/kqueue/kpoll if present.
Tokyo Cabinet is used for data storage.Project Home:https://github.com/danielnorberg/tako
Package: takoyaki
TakoyakiTakoyaki is a simple tool to create random/burner instant mails and generate registration credentials. It's simply cli version of m.kuku.lu service and a cli frontend to sute-mail-python module.Installation & UsageYou can simply install it from pypipip install takoyakiYou can also download the prebuilt binaries fromreleasesor run the script directly fromtakosymlink after installing dependencies withpip3 install -r requirements.txt.UsageTakoyaki is an interactive burner mail creator and controller.
Usage:
  takoyaki [COMMAND] [ARGS...]
  takoyaki -h | --help

Commands:
  create [-h]               Create new random mail address
  read   [-hal]             Read mails from specified address
  wait   [-ha]              Wait for new mails on specified address
  del    [-ha]              Delete specified mail address
  list   [-h]               List current mail addresses
  gen    [-hwpusac]         Generate registration details
  get    [name]             Get credentials of account you already saved

Options:
  -h, --help                Show extended information about the subcommand
  -a, --address ADDRESS     Specify the mail address
  -l, --last                Select latest mail
  -p, --password            Generate password
  -u, --uname               Generate username
  -w, --Wait                Start listening new mails after generate
  -s, --save NAME           Save generated info to accounts file
  -c, --custom NAME VALUE   Add custom fields when savingExamples:# Create a new random instant mail address
$ tako create
created: penanegya@mirai.re

# List existing addresses
$ tako list
1  misukedo@via.tokyo.jp
2  kyakidokya@eay.jp
3  penanegya@mirai.re

# Let's read mails on the kyakidokya@eay.jp
tako read -a kyaki
> No mails.
# or you can also specify index of address
tako read -a 2
> No mails.

# Let's create a burner account for a gaming site,
# generate a random password and a username,
# save the credentials we generated to .accs file and wait for the verification mail.
tako gen -a1 -puws "some name"
or the long version;
tako gen --address 1 --uname --password --wait --save="some name"
=== Some Name Account ===
Mail: misukedo@via.tokyo.jp
Nick: jturlj74 
Pass: v0OEksf7.maiVdJ 

Waiting new mails for misukedo@via.tokyo.jp
Press Ctrl+C to Abort.
Package: takproto
TAKProto: TAK Protocol Python ModuleTAKProto is a Python module for encoding & decoding TAK Protocol Payloads, for use withTAK Productsincluding ATAK, WinTAK, iTAK, TAKX, TAK Tracker & TAK Server. TAKProto includes functions for converting TAK Protocol Protobuf messages to Python objects, and serializing CoT XML messages as Protobuf.Documentation is available here.LicenseCopyright Sensors & Signals LLChttps://www.snstac.comCopyright 2020 Delta Bravo-15 <deltabravo15ga@gmail.com>Permission 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: takpy
takpyPython wrapper forfast-tak.Create a new game usingtakpy.new_game(size, half_komi).fromtakpyimportnew_game,GameResultgame=new_game(6,4)whilegame.result()==GameResult.Ongoing:moves=game.possible_moves()# pick movegame.play(move)game.possible_moves()gets a list of available moves in the current position.game.play(move)is used to play a move in the game.game.result()calculates the result of the game.There are getters forgame.board,game.to_move,game.white_reserves,game.black_reserves,game.ply, andgame.reversible_plies.
Package: taksman
# TaksmanAssignment management tool for school.## Setup$ git clone git://github.com/mlsteele/taksman.git ~/.taksmanAdd taksman to your `PATH`$ echo "export PATH=\$HOME/.taksman:\$PATH"Install the requirements with$ pip install -r requirements.txtEnable autocompletion by sourcing completion.bash or completion.zsh into your bashrc or zshrc.$ echo "source ~/.taksman/completion.bash" >> ~/.bashrc$ echo "source ~/.taksman/completion.zsh" >> ~/.zshrc# Notes```directories:entry - store entry filesdone - archive done taskstemplate - store task templatesscript options:all - list all entriesdate - list by daycourse - list by coursepriority - list by priorityinfo - show details for tasksupported fields in task files:due - the due datecourse - the course/project to which the task belongspriority - will color the task name red/blue/cyan/white for values 0/1/2/3```
Package: taksonomia
TaksonomiaTaxonomy (Finnish: taksonomia) of a folder tree, guided by conventions.License: MITThird party dependencies are documented in the folderthird-party.DocumentationUser and developerdocumentation of taksonomia.Bug TrackerAny feature requests or bug reports shall go to thetodos of taksonomia.Primary Source repositoryThe main source oftaksonomiais on a mountain in central Switzerland.
We use distributed version control (git).
There is no central hub.
Every clone can become a new source for the benefit of all.
The preferred public clones oftaksonomiaare:on codeberg- a democratic community-driven, non-profit software development platform operated by Codeberg e.V.at sourcehut- a collection of tools useful for software development.ContributionsPlease do not submit "pull requests" (I found no way to disable that "feature" on GitHub).
If you like to share small changes under the repositories license please kindly do so by sending a patchset.
You can either send such a patchset per email usinggit send-emailor
if you are a sourcehut user by selecting "Prepare a patchset" on the summary page of your fork atsourcehut.StatusExperimental.Note: The default branch isdefault.
Package: taktile-auth
Taktile AuthThis package is part of the Taktile ecosystem.Taktile enables data science teams to industrialize, scale, and maintain machine learning models. Our ML development platform makes it easy to create your own end-to-end ML applications:Turn models into auto-scaling APIs in a few lines of codeEasily add model testsCreate and share model explanations through the Taktile UIFind more information in ourdocs.
Package: taktile-cli
Taktile CLITaktile enables data science teams to industrialize, scale, and maintain machine learning models. Our ML development platform makes it easy to create your own end-to-end ML applications:Turn models into auto-scaling APIs in a few lines of codeEasily add model testsCreate and share model explanations through the Taktile UItaktile-clicontains all components required for deploying ML models on the Taktile platform as well as a CLI tool for managing your deployments from your terminal. Find more information in ourdocs.If you only require the Taktile python client, consider installing thestand-alone clientinstead.Setting up Taktile CLITo get started, install Taktile CLI usingpip:pipinstall-Utaktile-cliTo check your Taktile CLI version run:tktlversion
Package: taktile-client
Taktile ClientTaktile enables data science teams to industrialize, scale, and maintain machine learning models. Our ML development platform makes it easy to create your own end-to-end ML applications:Turn models into auto-scaling APIs in a few lines of codeEasily add model testsCreate and share model explanations through the Taktile UItaktile-clientis a stand-alone python client which can be used to make requests to Taktile deployments via REST orArrow Flight. If you require the full Taktile dev tooling, consider installingtaktile-cliinstead. Find more information in ourdocs.To install the REST client only, runpip install taktile-client. For both REST and Arrow, runpip install taktile-client\[arrow].
Package: taktile-profiling
Taktile ProfilingThis package is part of the Taktile ecosystem.Taktile enables data science teams to industrialize, scale, and maintain machine learning models. Our ML development platform makes it easy to create your own end-to-end ML applications:Turn models into auto-scaling APIs in a few lines of codeEasily add model testsCreate and share model explanations through the Taktile UIFind more information in ourdocs.
Package: taku
TakuTaku is a library for easy manipulating pipelined-tasks.  It manages intermediate caching, job depedencies, provide a easy interface to parallel jobs using multiple backends. Also, it supports direct instantiation of a torchDataset, allowing for end-to-end data generation & training experience.Caveat: Tasklib is only beta now, and for now only supports chained dependency (but one/multiple job in a task can be dependent on multiple/one jobs in another task).Example Task ClassfrompathlibimportPathfromtypingimportAny,List,Optionalimporttakufromtaku.taskimportJobData,JobName,JobSpecs,TaskNameclassExampleTask(taku.Task):def__init__(self,name:TaskName,hparams:Any,meta_override_dir:Path|None=None)->None:super().__init__(name,hparams,meta_override_dir)defgather_jobs(self,upstream_job_names:List[JobName])->List[JobSpecs]:returnsuper().gather_jobs(upstream_job_names)defrun(self,job_name:JobName,job_data:JobData,upstream_job_names:List[str],upstream_job_data:List[JobData])->JobData:returnsuper().run(job_name,job_data,upstream_job_names,upstream_job_data)defhas_job_data(self,job_name:str)->bool:returnsuper().has_job_data(job_name)defsave_job_data(self,job_name:str,job_data:JobData)->None:returnsuper().save_job_data(job_name,job_data)defload_job_data(self,job_name:str)->JobData:returnsuper().load_job_data(job_name)Development# Develop locallypythonsetup.pydevelop# Update to PyPIbashbump_and_upload.sh
Package: takumi
This package defines the interfaces for writing Takumi thrift services.InstallpipinstalltakumiExampleTo define a simple app:# app.pyfromtakumiimportTakumiapp=Takumi('TestService')@app.apidefsay_hello(name):return'Hello '+nameTo Run the app, installtakumi-clifirst, then
create the following config:# ping.thriftserviceTestService{stringsay_hello(1:requiredstringname)}# app.yamlapp_name:test_appapp:app:appthrift_file:ping.thriftRun the following command:$takumiserve
Package: takumi-cli
Command line tool for managing Takumi services.Install$pipinstalltakumi-cliUsage$takumi-hRun service$takumiserveDeploy an applicationTo deploy using ansible, extra requirements should be installed:$pipinstalltakumi-cli[deploy]Adddeployentry toapp.yaml:deploy:vars:version:HEADtargets:testing:-localhost-testing.comprod:-app.prodUsing the following command to deploy:$takumideploytesting-tdeployThe deploy command is implemented usingansible.To deploy crontab, add the following config toapp.yamldeploy:crontab:-name:check dirsschedule:"05,2***"job:'ls-alh>/dev/null'-name:say helloschedule:minute:0hour:5,2job:'scripts/say_hello.py'then run:$takumideploy<target>-tcronCron jobs are run under app working directory/srv/{{app_name }}.Start an interactive shellTo start an IPython shell, extra requirements should be installed:$pipinstalltakumi-cli[shell]Start the shell:$takumishell-t<host>--<ipythonargs>