Saravanan666/pypi-org huggingface dataset:
Package: tudou
# 说明1. 基于bert的中文自然语言处理工具2. 包括情感分析、中文分词、词性标注、以及命名实体识别功能3. 提供了训练接口，通过指定输入输出以及谷歌提供的下载好的预训练模型即可进行自己的模型的训练，训练任务有task_name参数决定，目前提供的任务主要包括句子匹配、文本分类、命名实体识别、序列标注任务4. 使用`pip install tudou`安装使用5. 需要下载预先训练好的模型，模型地址在底部# 使用示例在predict_test.ipynb中有预测代码的演示，可以看到效果比绝大多数开源中文nlp库要好，但是速度较慢（时间主要浪费在加载模型参数上了），**所以推荐一次性输入多个语句的文本列表进行使用**# 依赖项## 依赖项`python >=3.6tensorflow >= 1.12.0`## 硬件1. 预测与使用在普通cpu机器上既可以运行2. 训练接口需要在GPU机器上进行，当内存不够用时，推荐减少batch_size而不是max_sequence_len,对精度影响较小# 功能简介提供了三个接口，包括预测，常用工具以及利用bert训练模型的接口# 使用说明1. 在使用前要先下载模型，模型下载地址附在最后，根据不同的任务下载不同的模型1. 同时也可以使用自己训练好的模型1. 训练模型需要预先下载谷歌提供的bert预训练模型（该项目也提供：位于pre_trained_model下## train函数新建一个实例`trainer=tudouNLP.models.train.train(*params)`### helptrain函数的说明函数，包括一些参数及文件格式的说明`trainer.help()`### 训练`trainer()`### 预测`results=trainer.predict()`#### 说明1. 训练的时候没有返回值，根据参数中task_name开始不同的训练任务1. 包括文本分类，序列标注以及句子匹配任务的训练1. 预测时要注意与训练时参数要相同（主要是`label_list、label_dict`），同时输出目录也要相同1. 参数简介```:param task_name:任务名：目前包括实体识别ner，序列标注tag，句子分类classify，句子配对pair:param label_list: 任务的标签列表，在序列标注任务中要加入【CLS】,[SEP]:param label_dict: 序列标注任务中标签与ID对应的字典名:param data_dir: 数据文件:param model_dir: 模型文件:param output_dir: 输出文件:param eval: 是否进行验证:param max_seq_length::param learning_rate::param batch_size:```1. 提供的文件格式说明```1. 序列标注任务文件格式为 word tag2. 文本分类任务文件格式为 sentence label3. 句子配对任务文件格式为 index text1 text2 label  ，其中index为不必要的列，中间分隔符为\t4. 文件在data_dir中，训练文件命名为train.txt，验证集文件命名为dev.txt```## predict**使用时要创建一个实例**### sentence函数`predictor=tudouNLP.models.predict.sentence(model_dir）# 参数为模型所在文件夹`#### 情感分析`result=predictor.sentiment(document,full_msg)`1. 返回情感分析结果，当full_msg参数为True时，返回全部的分析结果1. document为要分析的句子列表1. **注意：即使是单个句子，也要以列表或元组的形式输入**#### 句子匹配`result=predictor.pair(document,full_msg,model_name)`同情感分析### tagger函数`predictor=tudouNLP.models.predict.tagger(model_dir)`#### 分词`result=predictor.cut(document,mode='cut')`1. 返回分词结果列表1. document为要分析的句子列表1. 注意：即使是单个句子，也要以列表或元组的形式输入#### 词性标注`result=predictor.cut(document,mode='posseg')`同分词，不过返回分词结果列表## utils函数**使用时要创建一个实例**`tool=tudouNLP.tools.utils.tools()`#### 序列标注数据集转换`tool.posseg_data(input_dir,output_file)`1. 将序列标注的数据集转换为bert模型可以识别的模式#### 模型压缩`tool.compress_model(input_file,output_file)`将训练后的模型参数进行压缩# 模型下载链接: https://pan.baidu.com/s/1_dBX3-mjY3-Dedm96XNY2g     提取码: tjqe
Package: tudu
tudutuduis a simple command line tool with a tui mode for managing your to-do listsInstallationpip#pip3installtudulocallyYou will need to haveSQLAlchemyandplyerpackages installed$ git clone https://github.com/lubczanska/tudu
$ cd tudu
$ python3 tudu.pyUsage$tudu--helpusage: tudu [-h] [--quiet]{add,rm,edit,check,uncheck,sticky,ls,show} ...A simple to-do list appoptions:-h, --help            show this help message and exit--quiet, -q           run tui without triggering notificationscommands:{add,rm,edit,check,uncheck,sticky,ls,show}add                 add new list or tasksrm                  remove list or tasksedit                edit list/task detailscheck               mark task as completeduncheck             mark task as not completedsticky              add task to startup listls                  display all tasks in a list in tui modeshow                display task detailsIf no command is specified tui mode will be opened. In tui modepress ':' to enter commandsEXAMPLESAdd a weekly reminder to water plants by sunday$tuduadd"My list""Water plants"--deadlinesunday--priority1--repeat7Edit a typo in task name$tuduedit"My list""Task with a tpyo in name"--name"Task with no typo in name"Remove "My list"$tudurm"My list"TUI modeWARNINGResizing the terminal may lead to visual bugs, especially when entering characters or viewing help.
In that situation resize the terminal properlyNavigationUse arrow keys orhjklto navigate,EnterorSpaceto check tasks andqto quitOther keybindings::open the command prompt, that supports all cli commands exceptlsandshow. Additionally, when executing commands likeaddyou can use.as name of the currently displayed list or typehelp--helpor-hfor tui-specific helpaStart adding a list or a task to the currently displayed listdStart deleting selected entryeStart editing selected entryiShow more information
Package: tuduam
TU Delft, Urban Air MobilityGithub Actions status:Coverage status:TU DelftUrban Air MobilityThis Python module can be used by the students to assist in the course assignments.DocumentationThe documentation is available on:https://saullocastro.github.io/tuduam/LicenseDistrubuted under the 3-Clause BSD license
(https://raw.github.com/saullocastro/tuduam/master/LICENSE).Contact:S.G.P.Castro@tudelft.nl
Package: tueplots
TUEplots: Extend matplotlib for scientific publicationsWhy?tueplotshelps you to create scientific plots that can be used in papers, presentations, posters, or other publications.tueplotsdoes not try to make your plots as beautiful as possible (who are we to judge your favourite color).
Instead, it makes it effortless to avoid common issues like too-small figures, inappropriate fontsizes, or inconsistencies among figures.
Because good-looking figuresareimportant.For example, consider the style tailored to the ICML2022 template.
(Left: default matplotlib, middle: one line of tueplots-code, right: two lines of tueplots-code)Principlestueplotshas no internal state:It only passes around dictionaries, whose key-value pairs match those that matplotlib uses.
Instead of updating global state, it makes it easy for you to do it yourself!
If you want to globally change settings, pass them tomatplotlib.pyplot.rcParams.update().
If you only need them for specific contexts, pass them tomatpltlib.pyplot.rc_context().tueplotsmakes the change easy, so you can make the easy change. This should maketueplotsnaturally compatible with other matplotlib extensions.
Usage examples are given below.tueplotshas no opinions:It does not tell you what your figures should look like in the end, but helps you to tailor your plots to your own needs.
We like all the colors, frame-styles, markers, or linewidths.
But wedothink that figure sizes should match the text-width in your publication,
and that the font-size in the plot should be readable, and similar to the rest of the paper/presentation/....Getting startedInstallingtueplotsis explainedhere.
Some usage examples are givenat this url.
A more specific tutorial, applyingtueplotsto figures intended for ICML 2022, ison this page.
If something is not working as promised, please refer to thetroubleshootingsite.
For more advanced tutorials, you may refer to the example notebooks.Related packagesThere are similar packages totueplots(with different foci, respectively):Seaborn:https://seaborn.pydata.org/index.htmlProPlot:https://proplot.readthedocs.io/en/latest/cycles.htmlSciencePlots:https://github.com/garrettj403/SciencePlotsMatplotX:https://github.com/nschloe/matplotxThemepy:https://github.com/petermckeeverPerform/themepyThematplotlib third-party plotscontains a more comprehensive list.
If you know of any others, please feel invited to open an issue/PR.Miscellaneoustueplotshas been developed at the University of Tübingen (hence the name).
Package: tuesday
TuesdayYou can easily automize and control most of the functions of system by your voice.
By using this package u can easily build jarvis like programme, irrespective of your knowledge of coding.
Easy voice commands to work with.RequirementsYou have to follow the steps given below before installing package:1: Install Microsoft RedistributableMicrosoftRedistributableselect version according to your system.2: Install visual studio build tools c++ 2015 or abovevisual studio build tools c++ 2015and should have windows 103: Download geckodriver version according to your systemgeckodriver.
Paste and extract file in your python folder or PATH.4: Download chromedriver version according to your systemchromedriver.
Paste and extract file in your python folder or PATH.5: Download wheel version according to your python versionwheel.
Paste this wheel file in your project folder.6: Allow access to less secured appslesssecureapps.
Allow it.InstallationUse the package managerpipto install tuesday.# step 1: Python should be istalled in "C:\Folder" location#step 2: Python interpreter should be installed in "C:\new folder" location#step 3: Project should be located in "C:\name of project" location# step 4: Paste the downloaded file in your project folder and in python interpretor use "pip install nameofthewheelfile"Speakfromtuesdayimportspeechspeech.speak("hello")#speak functionVoice Searchfromtuesdayimportsearchsearch.google()Interactive voice programmeSend a email through gmailyou can send a mail using your voicefromtuesdayimportsendmailsendmail.send()From next update mail can be sent by other email platforms also,
But now it is limited to GMAIL only.Jarvis structureif__name__=='__main__':speech.speak("hello my name is tuesday")speech.intro()whileTrue:comm=speech.takecommand().lower()if"open a website"incomm:websites.Open(".com")#use capital 'Open'elif"google"incomm:search.google()elif"play youtube"incomm:search.youtubeplay()elif"search youtube"incomm:search.youtubesearch()elif"open facebook by mail"incomm:social.facebookemail()elif"open gmail"incomm:social.gmail()elif"send a mail"incomm:sendmail.send()elif"tuesday stop"incomm:sys.exit()More commands are available try to explore them.
Next update will include many more commands.
Thank you.
Package: tufa
tufaA command-line tool for managing TOTP/HOTP credentials using the Mac OS
keychain.InstallationTo install the latest released version from PyPI:pip install -U tufaYou can also check out the repository and install from source:pip install -U .UsageUse theaddcommand to add a new credential. The secret can be passed into
stdin or provided interactively via a terminal prompt.tufa add --name example --totpYou can use theaddurlcommand to add a credential from a URL. This example
usesZBarto extract a URL from a QR code
and store the information using tufa:zbarimg qr.png | tufa addurl --name exampleThegetotpcommand generates a one-time password for a credential:tufa getotp --name exampleTo export a credential you can use thegeturlcommand. This example generates
a QR code for a credential usinglibqrencode.tufa geturl --name example | qrencode -o qr.pngFor full command-line documentation, seetufa --help.ConfigurationYou can set the following environment variables to configure tufa:TUFA_DB_PATH: Path tufa's credential metadata database. The default
location is~/.tufa.sqlite3TUFA_DEFAULT_KEYCHAIN: Keychain to use when adding credentials, if not
specified via command-line flags.
Package: tufw
TufwUfw terminal frontend based on dialogInstallationTufwNEEDSto be installed as root, because it needs to run as root and python won't load the module if it's installed as a normal user.sudopython3-mpipinstalltufw# ORsudopip3installtufwObviously Tufw needsdialog, so install it withsudoaptinstalldialogor whatever you use on your distribution.Whileverminreports minimum python version for Tufw is 3.0, it has been tested only with python 3.5.4 and 3.10. Older versions have not been tested yet.RunningAs ufw, Tufw needs to be run as root.sudotufwI know typing 'sudo' (space included) is always tiring and easy to forget and ufw refuses to work without, so Tufw can self elevate, calling sudo itself if you forget to.You can just type:tufwGive to Caesar what is Caesar'sThis project comes from my need to have a simple frontend for ufw like@costales'gufw, but character based, to install on my headless server, so the code infirewall.pycomes from costales' work, simplified a bit, but still his work.
Package: tugboat
Tugboat is a command line tool for exploring open pull requests on
Github or Github Enterprise, using the Github API.  It generates a
report of all open pull requests for all the repositories it was
requested to examine, sorted by the pull request’s last update time.
Each pull request is listed with a link to the pull request, and an
indicator as to whether the pull request is mergeable.UsageTugboat usescli_tools, and so provides extensive help text,
accessible by using the “–help” argument.  The primary arguments it
needs have to do with authenticating to Github (see the help for
“–username”, “–password”, and “–github-url”; note that tugboat will
prompt for a password if none is provided).Tugboat also must be told which repositories to examine; this is done
by passing one or more of the “–repo”, “–user”, or “–org” options.
(Note that tugboat will generate an empty report if none of these
options are passed.)  Any mix of these options may be used; tugboat
will explore all listed repositories, and all repositories it can see
under the listed users or organizations.
Package: tugboat-cli
tugboatA tool for quickly generating a Docker image from a directory and allowing
the user to interact with that Docker image.InstallationAs tugboat is still very early on in it's development, it can be installed from
TestPyPi with the following:python3-mpipinstall--index-urlhttps://test.pypi.org/simple/tugboat==0.0.6UsageNow, the tugboat cli should be available to use. To get a quick overview, use
theinfocommand:tugboat info
#| ℹ️  Execute `tugboat build` to build a Docker image from a local directory.
#| ℹ️  Execute `tugboat run` to run an existing image created from a directory.
#| ℹ️  Add the `--dryrun` argument to test either `build` or `run` without actually running anything.
#| ℹ️  Execute `tugboat --help` for more details.Turn your directory into a Docker imageThe goal is for this to be as simple for the user as possible. Simply runtugboat buildand it will walk you through all the steps.If you want to get a feel for the user experience without actually building
anything (which can be quite time consuming), runtugboat build --dryrunThis will walk you through the entire process without creating anything, so you
can get a feel for the process.
Package: tugit
TugItTugItis a Python library for installing packages directly from a git repository.How to InstallTo install TugIt just use:pipinstalltugitHow to install a Python package hosted as a Git repoTo use TugIt to install Python packages directly from a git repository use the Installer class:fromtugitimportInstallerinstaller=Installer()installer.tug(package='tugit',url='https://github.com/idin/tugit.git')# optional arguments:#   ignore_if_installed (default: True)#   echo (default: 1)How to get a list of installed packagesprint(installer.installed_packages)
Package: tuichat
TuiChatA simple messaging programTable of ContentsCode of ConductInstallingInstalling (№1) compiled filesInstalling (№2) pipInstalling (№3) from sourcesInstalling (№4) compilation guideUser's manualUser's manual (host)User's manual (client)ConfigurationConfiguration file descriptionOther infoContributingAuthorsToolsVersioningLicenseGetting StartedThese instructions will get you a copy of the project up and running on your local machine for development. See deployment for notes on how to deploy the project on a live system.Installing (№1) compiled filesGo toreleasesDownload archive with files and unzip it to any directoryInstalling (№2) pipRun this command in your shell:pipinstalltuichatInstalling (№3) from sourcesSetup Git and type in git bash:gitclonehttps://github.com/Kukree/tuichatInstallPython 3if not installed or compile program files with your program to compile(Pyinstaller, wheel, etc), the following lines are a program compilation guideInstalling (№4) compilation guideGo to program directoryRun the following commands one at a time in your shell:pipinstallpyinstaller

pyinstaller--onedir--onefileserver.py

pyinstaller--onedir--onefileclient.pyUser's manual (host, or server holder)ConfigureEnter settings intoconfig.jsonfile and save itconfig.jsonNote: If you have problems with configuring, look atconfiguration file descriptionNote 2: If you don't want to useconfig.jsonyou can delete it and configure program at startupRunningRunserver.exe(on info table you will see information about your server, running port, limit of connections, external IP address, TUI graphics, logging and others)Give yourexternal IP addressto clients andconnection port, written in server info tableUser's manual (client)Runclient.exeEnterIP addressof server and pressENTEREnterconnection portof server and pressENTEREnjoy :)Configuration file descriptionmax_connections- Variable used for set a limit of connections to serverport- Port to connect to your server, users will type it in clientenable_log(True/false) - Enable or disable saving logs of messages/connections or disconnections/other things, happened on serverenable_ui(True/false) - Enable or disable special UI symbols, like: logo, lines for highlighting system messages, borders around license blockContributingTo get started...Step 1Option 1🍴 Fork this repo!Option 2👯 Clone this repo to your local machine usinghttps://github.com/Kukree/tuichat.gitStep 2HACK AWAY!🔨🔨🔨Step 3🔃 Create a new pull request usinghttps://github.com/Kukree/tuichat/compare/.Built WithPython- Programming languageVersioningWe useSemVerfor versioning. For the versions available, see thetags on this repository.AuthorsEvgeniy Kuleshov-Initial work-GreenfieldSee also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the GNU GPLv3 - see theLICENSEfile for details
Package: tuicord
TUICordTUICord é uma TUI(Text-based user interface) criada para acessar e utilizar o
Discord diretamente do seu terminal. Com esta ferramenta, você pode interagir
com os servidores e canais.RecursosAcesso ao Discord a partir do terminal.Envio e recebimento de mensagens de texto.Listagem de canais disponíveis.Interface de usuário simples e intuitiva.InstalaçãoVocê pode instalar o TUICord facilmente usando o pip. Abra um terminal e digite
o seguinte comando:pipinstalltuicordCom isso, o TUICord e suas dependências serão instalados no seu ambiente
Python.UsoPara iniciar o TUICord, basta executar o seguinte comando no terminal:tuicordrun--tokenSEU_TOKEN_AQUIOutra opção é definir uma variável de sistema chamada DISCORD_TOKEN com o seu
token do Discord. Após definir essa variável, basta executar o comando
abaixo, e o TUICord utilizará o token fornecido automaticamente, sem a
necessidade de passar o token toda vez que quiser executar:tuicordrunComo definir a variável de sistema DISCORD_TOKEN:No Windows:Abra o Menu Iniciar e pesquise por "Variáveis de Ambiente" e clique em "Editar
as variáveis de ambiente do sistema".
Na janela que abrir, clique no botão "Variáveis de Ambiente..." na parte
inferior direita.
Na seção "Variáveis do Sistema", clique em "Novo...".
Digite "DISCORD_TOKEN" no campo "Nome da variável".
Insira o valor do seu token do Discord no campo "Valor da variável".
Clique em "OK" para salvar a variável.ou vocè pode simplesmente abrir o terminal e usar o
comandosetx DISCORD_TOKEN "SEU_TOKEN_AQUI"No Linux (e outros sistemas baseados em Unix):No terminal, digite o seguinte comando para definir a variável de ambiente
temporariamente:exportDISCORD_TOKEN=SEU_TOKEN_AQUIPara tornar essa definição permanente, você pode adicionar o comando acima ao
seu arquivo de perfil, como ~/.bashrc, ~/.bash_profile, ~/.zshrc, ou outro
arquivo adequado de acordo com a sua configuração do shell.Após definir a variável de sistema ou passar o token como parâmetro, o TUICord
estará pronto para uso!ContribuindoContribuições são bem-vindas! Se você quiser contribuir com este projeto, por favor, siga as etapas abaixo:Fork este repositório para a sua própria conta.Crie um branch para a sua funcionalidade ou correção: git checkout -b minha-funcionalidadeFaça as alterações desejadas e adicione os commits: git commit -m 'Adicionando nova funcionalidade'Empurre as alterações para o repositório no GitHub: git push origin minha-funcionalidadeAbra um Pull Request para que possamos revisar suas alterações.LicençaEste projeto é licenciado sob a licença MIT - veja o arquivo LICENSE para mais detalhes
Package: tuic-tunnel
TUIC plugin for turbo-tunnelWHAT IS TUICTUICis a high performance proxy based on QUIC protocol.INSTALL$pip3installtuic-tunnelHOW TO USESimple Usage$turbo-tunnel-lhttp://127.0.0.1:8888-ttuic://token@proxy.com:8443-ptuic_tunnelproxy.com:8443is theTUICserver domain and udp port,tokenis theTUICtoken.Use With Config Fileversion:1.0listen:-http://127.0.0.1:8888# 配置监听地址plugins:-tuic_tunneltunnels:-id:tuicurl:tuic://token@proxy.com:8443/rules:-id:tuicpriority:99addr:"*.baidu.com"port:80;443;tunnel:tuic$turbo-tunnel-cconfig.yaml
Package: tuido
TuidoSimple todo list implementation using pythoncurses.DescriptionThis actually turned out to be a little more comprehensive than I had originally intended; features include:Subtasks to any depthMarking doneMarking for deletionPermanent deletionScrolling long listsConfiguration spacing, indenting etcA vim-styled command line interfaceUsageAll the functionality oftuidois provided through single character commands, these are:Todo List: top level

    a  :  Add item to current level
    A  :  Add subtask to highlighted item
    c  :  Edit description (^H to backspace)
    C  :  Change description
    d  :  Mark deleted
    D  :  Delete (permanent)
    h  :  Up level
    j  :  Down
    k  :  Up
    l  :  Down level
    m  :  Mark done
    M  :  Mark done (recursive)
    q  :  Write and quit
    r  :  Refresh screen
    w  :  Write
    ?  :  Show (this) help screen
    :  :  Enter commandCommand LineThe command line interface is quite simple, hit ':' and give a character command, followed by a description is relevant, then a sequence of numbers indicating the (sub)task to change, e.g:: A "New Task" 1 2 4This will add a task witht he description "New Task" to subsubtask 4 of subtask 2 of task 1 of the current window/level.TodoThere still are a couple of things I'd like to add, these include:A searching mechanismTags probably through the@symbolConfigurable colors