Saravanan666/pypi-org huggingface dataset:
Package: toggl-client
Toggle API Client=======================Um cliente simples para algumas funcionalidades básicas da api da [TOGGL](https://toggl.com)#### Configuração inicialPara o cliente funcionar ele precisa da sua token de acesso, que você encontra nessa [URL](https://toggl.com/app/profile)***TODO - IMAGEM DO SITE***Com a token em mãos digita no terminal:```$: tgc --config```#### ExemploIniciar uma nova tarefa sem nome:```$: tgc```Iniciar uma nova tarefa com nome:```$: tgc 'nome da tarefa'```Iniciar uma nova tarefa com a branch ativa como nome:```$: tgc --branch```Iniciar uma nova tarefa com tags:```$: tgc --tags 'novatag' 'tagtoog'```Finalizar uma tarefa:```$: tgc --finalizar$: tgc --f```#### TODO- [x] Iniciar tarefa- [x] Finalizar tarefa- [x] Tarefa com nome- [x] Branch ativa- [x] tags- [ ] tests- [ ] Cache(Diminuir alguns requests e aumentar o desempenho)* Foi implementado de algumas funcionalidades- [x] Arquivo de configuração em pasta do sistema- [x] SETUP- [x] PIP install
Package: toggldash
Toggl DashboardThis small project helps you run a Dash app on localhost, in which you can see where you time has been used using data from Toggl track. Its just a more comprehensive report of your data.You can see the the project onPYPItoo. In order to run the program, install the package using the code below:pip install toggldashYou can run the dashboard using the python code below:fromtoggldashimportappapp.run()The program then asks you your toggl credentials. It saves them in a file in your current directory called creds.txt. The file will look something like thisemail:yourawesome@email.com
    token:348975634875687ygegy85534653
    workspace_id:5525432Or you can just create a file with the creds in it. The above creds won't work.By default the app will run onhttp://127.0.0.1:8050/
Package: toggle-admin
Toggle Admin (BETA 0.2)Модуль для выдачи прав администратора в беседах ВК.С помощью «Toggle Admin» вы можете выдавать права администратора пользователям, не заходя в браузер.
Это будет полезно для тех, кто большое количество времени сидит в ВК через мобильное устройство.УстановкаНапрямую через GitHub (Архив):pip install https://github.com/zpodushkin/toggle-admin/archive/master.zip --upgradeС помощью установщика pip из PyPi:pip install toggle-adminПример использованияfromvkbottle.userimportUser,typesfromvkbottle.ruleimportVBMLUserRulefromvkbottleimportTaskManagerfromtoggle_adminimportToggleAdmin,ToggleAdminErroruser=User(token="токен_от_вк")admin=ToggleAdmin(login=7943343455,password="Balalaika31")tm=TaskManager(user.loop)@user.on.message_new(VBMLUserRule("!admin <uid:int>",lower=True))asyncdefset_admin(ans:types.Message,uid:int):try:awaitadmin(ans.peer_id,uid,is_admin=True)awaitans("Права администратора выданы!")exceptToggleAdminError:awaitans("Упс, произошла ошибочка...")@user.on.message_new(VBMLUserRule("!unadmin <uid:int>",lower=True))asyncdefunset_admin(ans:types.Message,uid:int):try:awaitadmin(ans.peer_id,uid,is_admin=False)awaitans("Права администратора сняты!")exceptToggleAdminError:awaitans("Упс, произошла ошибочка...")if__name__=='__main__':tm.add_task(user.run())tm.run()Обратите внимание, что модуль не будет работать, если вы не являетесь создателем беседы.ВзаимодействиеДля взаимодействия с модулем, вы можете использовать любую библиотеку ВК.Но я настоятельно рекомендую использовать асинхронные варианты:VKBottleVKWaveContributingПР поддерживаются! Мне приятно видеть ваш вклад в развитие модуля.Задавайте вопросы в блоке Issues и вVK!ЛицензияCopyright © 2019-2020zpodushkin.Этот проект имеетGPL-3.0лицензию.
Package: togglee
MotivationSimple library to separate deployment of features from release time. It uses network accesible files without the need of a server to provide feature toggles.Installationadd it to your project usingpip install toggleeUsagefromtoggleeimportToggleeurl="https://gist.githubusercontent.com/kanekotic/c469f99bef5a5c0634b4a94a4acd6546/raw/b67985d8e3a5112c9be2da47bdadf2cf17edbe44/toggles"refresh_rate_seconds=5default_values=[{"name":"prop","type":"release","value":True}]subject=Togglee(url,refresh_rate_seconds,default_values)ifsubject.is_enabled("prop"):print("do stuff")else:print("dont do stuff")Type of togglesReleaseSimple true/false logical path definition.{"type":"release","value":true,}ContextAllows complex logic to decide the outcome of the logical path (example traffic, users, resources available).{"type":"context","conditions":[{"field":"username","value":"user1","operation":"eq"}]}available operations are:‘eq’: equal (===)‘ne’: not equal (!==)‘gt’: greater than (>)‘ge’: greater equal (>=)‘lt’: lesser than (<)‘le’: lesser qqual (<=)
Package: toggler
TogglerToggler allows to set up feature toggles (flags) on a YAML file and validate whether
specific flag is ON or OFF on specific environment.How to UseConfigure Feature TogglesFeature toggles are configured inyamlfile:---feature1:modes:[prod,stage]date:2023-01-01days_to_expire:10ref:r123feature2:modes:[stage]date:2023-01-01feature3:modes:[other]date:2023-01-01Structure:modes (e.g prod, stage), defines features enabled on specific mode.features (e.g feature1, feature2) are feature names used to identify which
feature is used or not:active: whether feature is enabled or not. If feature is not defined on
specific mode, it is implicitly treated as disabled. This is the only required field.ref: reference to feature or ticket (for convenience).date: when feature flag was added.days_to_expire: how many days feature flag is to stay. Warning logs will
be written after deadline.Define mode and config file pathYou can either explicitly initializeTogglerwith its optional arguments,modeandpath(orstream) or you can use environment variablesTOGGLER_MODEandTOGGLER_CFG.For example:TOGGLER_MODE=prod TOGGLER_CFG=/path/to/tog.yml my-appInitializeTogglerand check features activityfromtoggler.togglerimportTogglertog=Toggler()# expecting specified env variablesiftog.is_active("feature1"):# feature1 logic...else:# old logic...Using toggler in testsYou can force toggle feature to make it easier to test.fromtoggler.services.envimporttoggle_featuredeftest_feature1_on():withtoggle_feature("feature1",True):# Force enable# test if feature1 logic works as expected...deftest_feature1_off():withtoggle_feature("feature1",False):# Force disable# test if logic without feature1 works as expected...
Package: toggl-python
Toggl Python APIToggl Python APIBased on open Toggl API documentation:https://github.com/toggl/toggl_api_docs/blob/master/toggl_api.mdFree software: MIT licenseDocumentation:https://toggl-python.readthedocs.io.Installationpip install toggl-pythonor usepoetrypoetry add toggl-pythonFeaturesGet TimeEntries.fromtoggl_pythonimportTokenAuth,TimeEntriesif__name__=="__main__":auth=TokenAuth('AUTH_TOKEN')print(TimeEntries(auth=auth).list())TODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.
Package: toggl-report
Script to generate pdf report for GULP (Leistungsnachweis)Motivation: Those, who work together withGulp, need to provide report at the end of the month with performance records.
In case,Toggltracker is used, the report generation can be automated using current script.Local installInstall PipenvProject usePipenvas package manager.>pipinstallpipenvCreate virtual environment>pipenv--python3.8Install dependencies>pipenvinstallGenerate detailed reportLocal run>./cli.py\--api-key{KEY}\--workspaceTest\--year5\--month-number5\--name"Max Mustermann"\--project-numberTest\--client-name"Muster GmbH"\--order-no123456Run with docker>makerun\api_key={KEY}\workspace=Test\month_number=5\year=5\name="Max Mustermann"\project_number="Test"\client_name="Muster GmbH"\order_no=123456ResultDevelopmentLint>makelintTests>maketest
Package: toggl-reporter
Toggl reporterI need to write work report every evening. To make this routine simpler I created this CLI reporter.How to usetoggl_reporter--token=YOUR_TOKEN--date=2020-10-20Script will ask you details if needed. By default date is today if you not specify it.ReportREPORT for 2020-10-20
total time 7:00:00

my-cool-project 4:00:00
- create github repo
- write code
- test code

study-python 3:00:00
- do my homework
- watch lectionHot to installYou need a Python 3.pipinstalltoggl-reporter
Package: togglreports
TogglReportsTogglReports is a Python library for creating time entry reports from Toggl's detailed report data.InstallationUse the package managerpipto install TogglReports.pipinstalltogglreportsUsageTogglReports comes by default with only one type of report (sgu). To create a sgu report, run the following script:togglReportsbuildsguThe first time you run the script, you will be prompted to configure your installation. Follow each step to configure the core application and each report type installed.To reset and redo the configuration script, run the script:togglReportsconfigArgumentsYou can specify the start and end times used for a report with the tags-p(-period),-s(--start), and-e(--end).The--periodtag can be used to build reports with common start and end times. Possible values are:today: entries for todaythisweek: entries from the last sunday to the next saturdaylastweek: entries from past week, from sunday to saturdaythismonth: entries from the first day to the last day of this monthThe--startand--endtags can be used to define a specific time frame. The generated report will contain entries from the specified--startdate, to the specified--enddate.The--endtag is optional. If not specified, today's date will be used.Default:If no argument is specified, the report will contain only this week's time entries (Same behaviour as using-p thisweek).Report: SGU - Expected Toggl Data StructureTime entry:The name and duration of the sgu task;Project:The sgu project;Tag:The sgu category (if multiple, only one is used);While configuring the report, you can define a specific tag to indicate that a time entry should be ignored while creating a report.FAQ1. How to locate the Toggl API Token?Your personal Toggl api token can be found followingthese instructions.2. How to create other report types?Included in this repository is an example report type containing the basic files structure and required configuration for a report type.Thesrc\togglreports\plugins\example.pyfile is where the report is built: where the data is manipulated from the information extracted from the Toggl API and where the output file is created.Thedata\reports_example.jsonfile is where you define the report required configuration parameters.ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: toggl-standup
Stand Up for TogglThis tool helps generate my daily Geekbot stand up report in an format which I may copy and paste into Slack.Usage$exportTOGGL_API_KEY='PASTE_YOUR_KEY_HERE'$standup--help

Usage:standup[OPTIONS]SLANG_DATEStanduptooltohelpwithToggl

Arguments:SLANG_DATE[required]Options:--api-keyTEXT[default:]--show-duration/--no-show-duration[default:False]--show-time/--no-show-time[default:False]--timezoneTEXT[default:US/Central]--version--install-completionInstallcompletionforthecurrentshell.--show-completionShowcompletionforthecurrentshell,tocopyitorcustomizetheinstallation.--helpShowthismessageandexit.To generate a report for yesterday$standupyesterday
Package: toggl-to-redmine
Toggl to RedmineEssa aplicaÃ§Ã£o Ã© umforkdo projeto "Automatic Toggl Import" feito pelo Rodrigo Marques. Seu intuito Ã© oferecer uma versÃ£o em linha de comando para o lanÃ§amento automatizado de horas do Toggl para o Redmine.InstalaÃ§Ã£oCom o Python instalado, rode o seguinte comando no PowerShell:pip install --upgrade toggl_to_redmine.ApÃ³s a instalaÃ§Ã£o feita pelo pip, Ã© exibido umwarningsobre adicionar o caminho para o executÃ¡vel nopath. Copie esse caminho, vÃ¡ atÃ© as variÃ¡veis de ambiente de sua conta e adicione aopathesse caminho. Basta pesquisar "variÃ¡veis de ambiente" no Windows para encontrar a configuraÃ§Ã£o.Abra uma nova instÃ¢ncia do PowerShell e executetoggl_to_redmine --help. Se aparecer a mensagem de ajuda, a instalaÃ§Ã£o foi bem sucedida.Como UsarBasta rodar o comandotoggl_to_redmineque as horas do dia atual registradas no Toggl serÃ£o importadas para o Redmine. Na primeira vez, o programa pede os dados de configuraÃ§Ã£o para o usuÃ¡rio, que ficam armazenados em"$HOME\.config\toggl-to-redmine.txt". Ã‰ possÃ­vel utilizar opÃ§Ãµes (--since,--until) para determinar o lanÃ§amento de horas de um intervalo de dias.ArquiteturaTodo o cÃ³digo fonte relacionado aoimportde horas foi desacoplado da plataforma na qual o usuÃ¡rio estÃ¡ interagindo. No projeto Toggl-to-redmine-core encontra-se toda a lÃ³gica da aplicaÃ§Ã£o, enquanto que nesse repositÃ³rio hÃ¡ a ferramenta CLI que interage com o usuÃ¡rio.TODOAdicionaroptionpara solicitarresetde configuraÃ§Ã£o?
Package: toggl-to-sqlite
toggl-to-sqliteCreate a SQLite database containing data from yourTogglaccount.How to install$ pip install toggl-to-sqliteUsageYou will need to first obtain a valid API token for your toggl account. You can do this by running theauthcommand and following the prompts:$ toggl-to-sqlite auth
You will need to get your API Token from this page

https://track.toggl.com/profile

Once you have your API Token enter it at the command line.

Authentication tokens written to auth.jsonNow you can fetch all of your items from toggl like this:$ toggl-to-sqlite fetch toggl.dbNB!By defaulttoggl-to-sqliteonly fetches data from the 25 previous days. As an alternative you can specify to get time_entries since a specific date. You do this by specifying thesinceoption:$ toggl-to-sqlite fetch -s 2021-03-13You can choose to get onlytime_entries,projects, orworkspacesby speciying a type in the argument like this.To get ONLY your workspaces:$ toggl-to-sqlite fetch -t workspaces toggl.dbTo get your workspaces and projects:$ toggl-to-sqlite fetch -t workspaces -t projects toggl.dbThe default is to get all three oftime_entries,projects, andworkspacestoggl-to-sqlite --helpUsage: toggl-to-sqlite [OPTIONS] COMMAND [ARGS]...

  Save Toggl data to a SQLite database

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  auth   Save authentication credentials to a JSON file
  fetch  Save Toggl data to a SQLite databaseUsing with DatasetteThe SQLite database produced by this tool is designed to be browsed usingDatasette. Use thedatasette-render-timestampsplugin to improve the display of the timestamp values.
Package: togglwrapper
Python library to easily interface with Toggl’s API.Implements all of Toggl’s main API. The Reports API is not yet supported (coming soon).Works in Python 2.7+ and Python 3+, and usesrequests.TogglTogglis free time tracking software.FeaturesHandles authentication for you: only need to provide your API token onceThe most complete Python wrapper: implements all of v8 API.Convenient install from PyPIEasy to make requests to custom URLsPython2 and Python3 compatibleInstall$pipinstalltogglwrapperQuickstart>>>fromtogglwrapperimportToggl>>>toggl=Toggl('your_api_token')>>>toggl.User.get(){u'data':{u'achievements_enabled':True,u'api_token':u'your_api_token',u'email':u'your_email@domain.com',u'fullname':u'Your Name',...}}>>>toggl.Clients.get()[{u'at':u'2015-07-02T14:27:59+00:00',u'id':12031893,u'name':u'Client Name',u'wid':3928}]>>>toggl.Workspaces.get()[{u'admin':True,u'api_token':u'your_api_token',u'id':1234,u'name':u"Your workspace",...}]>>>toggl.Clients.create({"client":{"name":"Very Big Company","wid":1234}}){u'data':{u'id':294021,u'name':u'Very Big Company',u'wid':1234}}Custom RequestLet’s pretend that a new endpoint is released, for a new Toggl object: Addresses. This hypothetical endpoint is located athttps://www.toggl.com/api/v8/addresses. We can GET all addresses, GET a specific address by ID, or POST to create a new address.We can use the methods on the Toggl client, so we don’t have to wait for a new version of togglwrapper that supports the new endpoint:>>>fromtogglwrapperimportToggl>>>toggl=Toggl('your_api_token')>>>toggl.get('/addresses')...>>>toggl.get('/addresses/{address_id}')...>>>toggl.post('/addresses',data={"address":{"name":"Billing Address 1","address":"123 Main St."}})...toggl.putandtoggl.deleteare also available.DocumentationFind the full documentation here:http://togglwrapper.readthedocs.org/en/latest/API Endpoints DocumentationFor full details on what fields are required, and what endpoints are available, see theToggl API docsRunning tests locallyUsingvirtualenv+virtualenvwrapperto keep the environment isolated:Create a testing virtualenvInstall the test requirementspython tests.pySample command line output:$mkvirtualenvtwtests# if creating the virtualenv for the first timeRunningvirtualenv[...](twtest)$pipinstall-rtest_requirements.txtCollecting[...](twtest)$pythontests.py.......................................................----------------------------------------------------------------------Ran55testsin0.414sOK(twtest)$deactivate$
Package: togif
togifCommand Line Tool to Convert a Video to GIF.Installationpipinstallgit+https://github.com/wkentaro/togif.gitUsage$togif--help
usage:togif[-h][--fpsFPS][--speedSPEED][--durationDURATION][--resizeRESIZE]input_file

positionalarguments:input_fileinputvideo

optionalarguments:-h,--helpshowthishelpmessageandexit--fpsFPSfps(default:1)--speedSPEEDspeed(default:1)--durationDURATIONduration(default:None)--resizeRESIZEresize(default:1)Exampletogifdata/2018-11-02_14-44-14.mp4--resize0.2--speed12
Package: toha-nearest-neighbor
toha_nearest_neighborSerial and parallel bindings to brute force and kd-tree methods for low dimensional (<16)
nearest neighbor problems in pythondocumentationBenchmarksSome basic benchmarks have been carried out againstsklearn.neighborsto show the relative performance
of this library. These preliminary results show better performance and better scaling in every function.
However, keep in mind thatsklearnhandles a generic n-dimensional space while this package
has been simplified to work with 2D data. Moreover,sklearnalso has an additional algorithmball_treethat
scales to higher dimensions (N > 15) much better than kd-trees.
Package: tohe
tohetohe - the TODO list helperInstallpip3installtoheUsageGeneral usage informationTagsTags can be supplied via-t TAG1 TAG2.
Operations that add tags also expect tags in the form-t TAG1 TAG2.
Operations that remove tags work similar, but expect the flag-r, like-r REMOVETAG1 REMOVETAG2.Supported operations:addtoheadd[-tTAG[TAG...]][CONTENT]IfCONTENTis not provided,$EDITORwill be opened to get content for the entry.listtohelist[-tTAG[TAG...]]Not supported yet: Tag filteringedittoheedit[-tTAGS[TAGS...]][-rRTAGS[RTAGS...]]IDsearchtohesearch[-w]TERM-w|--wildcardenables the use of*and?wildcardsdeletetohedeleteIDDevelopmentSetuppoetryinstallUnit testspoetryrunpytest--cov=tohe/tests/# orpoetryrunpython-mpytest--cov=tohe/tests/mypypoetryrunmypytohe/# orpoetryrunpython-mmypytohe/TODOAdd support for currently unsupported options like-dband--loglevel.Add Bash and Zsh completionAdd docstringsMaybe enable tag editing in the editor (i.e.tags: main,todo,test)Build a web server around it for easier reading and editingAdd fzf support for searchingAdd ncurses TUI
Package: tohu
[![PyPI version](https://badge.fury.io/py/tohu.svg)](https://badge.fury.io/py/tohu) [![CircleCI](https://circleci.com/gh/maxalbert/tohu.svg?style=shield)](https://circleci.com/gh/maxalbert/tohu)<img src=”./docs/img/logo.png” alt=”Tohu Logo” width=”70px”>tohu: Your friendly synthetic data generatorOverviewTODOGet it now`bash $ pip install tohu `DocumentationFull documentation is available athttps://maxalbert.github.io/tohu/RequirementsPython >= 3.6Tohu requires Python 3.6 or greater. There is no intention to support earlier versions.LicenseSee [LICENSE](./LICENSE)AttributionsThe tohu logo is [“Chaos”](https://thenounproject.com/madeirah/uploads/?i=1893477), created by [Anna Sophie](https://thenounproject.com/madeirah/) from the [Noun Project](https://thenounproject.com/) (licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/legalcode))
Package: tohydamogml
1. Data and method descriptionPython package to generate GML files in NHI HyDAMO format from a DAMO database. This can be used as input for the NHI HyDAMO database or D-Hydamo modelgenerator.This toolbox is developed for Waterschap Vallei en Veluwe by Royal HaskoningDHV.It has been further improved for Waterschap Brabantse Delta.Free software: MIT License2. Installation in anacondaSave thetohydamogmlfolder on your hard disk.Open Anaconda prompt and navigate to thetohydamogmlfolder which contains the environment.yml file.Execute the following commands:conda env create -f environment.yml

activate modelgeneratorThe new python environmentmodelgeneratoris created. Activate this environment each time you want to use thetohydamogmltool.You can use the python package by adding the root folder of the package to the system path. In your python script you can add the folder with the following command:sys.path.append(r'path/to/tohydamogml')3. UsageDocumentationThe usage is explained in a jupyter notebook.Open Anaconda prompt,activatethe modelworkflow environment and navigate to the 'parent' folder of the downloaded examples.Start jupyter notebook with the following command:jupyter notebooknavigate toexamples/wvv_notebook/Tutorial ToHyDAMOgml.ipynbLet's start!4. Contributersjeroen.winkelhorst[@]rhdhv.comlisa.weijers[@]rhdhv.com
Package: toil-batch-system-tes
Toil TES Batch SystemThis package contains the TES batch system implementation that was removed from
Toil after version 5.12. It allows theToil workflow engineto run workflows on servers that implementthe GA4GH Task Execution Schemas API.If you intall it, newer versions of Toil will pick up that it is installed, import it, and allow you to use it with--batchSystem tes.InstallationCreate and enter a Python environment with Toil >5.12 installed. Note that as of this writing no release newer than 5.12 exists; you may need to install Toil from source.Clone this repository.Enter the directory you cloned the repository to.Runpip install ..UsageTo use the TES batch system, run a workflow with--batchSystem tes, and
configure a username and passowrd or a bearer token for authentication (see
below). You might also need to use the AWS job store, or another job store
accessible over the network.This plugin adds the following options to Toil:--tesEndpoint TES_ENDPOINT
                        The http(s) URL of the TES server.
                        (default: http://<leader IP>:8000)
  --tesUser TES_USER    User name to use for basic authentication to TES server.
  --tesPassword TES_PASSWORD
                        Password to use for basic authentication to TES server.
  --tesBearerToken TES_BEARER_TOKEN
                        Bearer token to use for authentication to TES server.They can be configured using the following environment variables:+----------------------------------+----------------------------------------------------+
| TOIL_TES_ENDPOINT                | URL to the TES server to run against when using    |
|                                  | the ``tes`` batch system.                          |
+----------------------------------+----------------------------------------------------+
| TOIL_TES_USER                    | Username to use with HTTP Basic Authentication to  |
|                                  | log into the TES server.                           |
+----------------------------------+----------------------------------------------------+
| TOIL_TES_PASSWORD                | Password to use with HTTP Basic Authentication to  |
|                                  | log into the TES server.                           |
+----------------------------------+----------------------------------------------------+
| TOIL_TES_BEARER_TOKEN            | Token to use to authenticate to the TES server.    |
+----------------------------------+----------------------------------------------------+