Saravanan666/pypi-org huggingface dataset:
Package: toga-falcon
AFalconbackend for theToga widget toolkit.Toga requires Python 3THIS IS A PLACEHOLDER PROJECTAt present, it has no functionality - it exists purely to reserve the PyPI namespace.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterThebeeware/generalchannel on Gitter.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-flask
A Flask backend for theToga widget toolkit.Toga requires Python 3THIS IS A PLACEHOLDER PROJECTAt present, it has no functionality - it exists purely to reserve the PyPI namespace.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterThepybee/generalchannel on Gitter.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-gtk
A GTK backend for theToga widget toolkit.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For platform requirements, see theLinux platform documentation.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@beeware@fosstodon.org on MastodonDiscordThe TogaGithub Discussions forumWe foster a welcoming and respectful community as described in ourBeeWare Community Code of Conduct.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: togai-client
togai-clientTogaiis an end to end pricing infrastructure that enable you with metering, aggregating, pricing and billing for your application.This is an official Typescript client library for usingTogai APIs.API version: 1.0Package version: 1.0.2
For more information, please visithttps://docs.togai.comRequirements.Python >=3.6Installation & Usagepip installpipinstalltogai-client(you may need to runpipwith root permission:sudo pip install togai-client)Then import the package:importtogai_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importtogai_clientGetting StartedPlease follow theinstallation procedureand then run the following:
You will need a API_TOKEN to use the API. You can get one from your Togai Accountimporttimeimporttogai_clientfrompprintimportpprintfromtogai_client.apiimportaccounts_apifromtogai_client.model.accountimportAccountfromtogai_client.model.account_paginated_responseimportAccountPaginatedResponsefromtogai_client.model.add_account_aliases_requestimportAddAccountAliasesRequestfromtogai_client.model.associate_price_plan_requestimportAssociatePricePlanRequestfromtogai_client.model.associate_price_plan_responseimportAssociatePricePlanResponsefromtogai_client.model.base_success_responseimportBaseSuccessResponsefromtogai_client.model.create_account_requestimportCreateAccountRequestfromtogai_client.model.error_responseimportErrorResponsefromtogai_client.model.remove_account_aliases_requestimportRemoveAccountAliasesRequestfromtogai_client.model.update_account_requestimportUpdateAccountRequest# Defining the host is optional and defaults to https://sandbox-api.togai.com# See configuration.py for a list of all supported configuration parameters.configuration=togai_client.Configuration(host="https://sandbox-api.togai.com")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure Bearer authorization (Bearer <credential>): bearerAuthconfiguration=togai_client.Configuration(access_token='YOUR_BEARER_TOKEN')# Enter a context with an instance of the API clientwithtogai_client.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=accounts_api.AccountsApi(api_client)customer_id=# str |account_id=# str |add_account_aliases_request=AddAccountAliasesRequest(aliases=["aliases_example",],)# AddAccountAliasesRequest | Payload to add aliases to accounttry:# Add Aliases to accountapi_response=api_instance.add_aliases(customer_id,account_id,add_account_aliases_request)pprint(api_response)excepttogai_client.ApiExceptionase:print("Exception when calling AccountsApi->add_aliases:%s\n"%e)You can get a detailed step-by-step guide for a sample ingestion and metering atexamples directoryFor a more detailed documentation for every api and models, please refer to thedocs directoryAuthorengg@togai.com
Package: toga-iOS
An iOS backend for theToga widget toolkit.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For platform requirements, see theiOS platform documentation.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@beeware@fosstodon.org on MastodonDiscordThe TogaGithub Discussions forumWe foster a welcoming and respectful community as described in ourBeeWare Community Code of Conduct.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-layout-builder
Toga Layout BuilderThe purpose of this project is to create user interfaces easily with a yaml document.
This is an unofficial tool for Toga GUI Toolkit.Installpip install toga-layout-builderUseCreate Toga App inapp.pyimporttogafromtoga_layoutimportLayoutimportmyeventsimportmystylesdefmain():layout=Layout()layout.events=[myevents]layout.styles=[mystyles]widgets=layout.load('layout.yaml')returntoga.App('Example Layout App','org.ignaciocabeza.example_layout_app',startup=widgets)if__name__=='__main__':main().main_loop()Create app layout inlayout.yamlmain_box:type:Boxstyle:["padding_10","column_dir"]widgets:-box_row_1:type:Boxstyle:padding_bottom_5widgets:-label_info:type:Labelstyle:['padding_top_5','flex1']args:['Insertyournamehere:']-text_name:type:TextInputstyle:'flex1'-btn_greetings:type:Buttonstyle:"padding_bottom_5"on_press:handle_greetingsargs:["Greetings"]-response_greetings:type:Labelstyle:flex1args:[""]Create events file inmyevents.pyfromtoga_layoutimportLayout,get_widget_by_iddefhandle_greetings(Button):response_greetings=get_widget_by_id(Button.window,'response_greetings')txt_name=get_widget_by_id(Button.window,'text_name')response_greetings.text=f'Hello{txt_name.value}!'Create styles file inmystyles.pyfromtoga.style.packimportPack,COLUMN,ROWpadding_10=Pack(padding=10)padding_bottom_5=Pack(padding_bottom=5)padding_top_5=Pack(padding_top=5)column_dir=Pack(direction=COLUMN)flex1=Pack(flex=1)Run apppython app.pyMore examples at:https://github.com/ignaciocabeza/toga-layout-builder/tree/master/example.
Package: toga-mfc
A Microsoft Foundation Classes backend for theToga widget toolkit.Toga requires Python 3THIS IS A PLACEHOLDER PROJECTAt present, it has no functionality - it exists purely to reserve the PyPI namespace.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterThepybee/generalchannel on Gitter.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-pyramid
A Pyramid backend for theToga widget toolkit.Toga requires Python 3THIS IS A PLACEHOLDER PROJECTAt present, it has no functionality - it exists purely to reserve the PyPI namespace.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterThepybee/generalchannel on Gitter.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-qt
A Qt backend for theToga widget toolkit.THIS IS A PLACEHOLDER PROJECTAt present, it has no functionality - it exists purely to reserve the PyPI namespace.This package isn’t much use by itself; it needs to be combined withtoga-core.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterTheBeeWare Users Mailing list, for questions about how to use the BeeWare suite.TheBeeWare Developers Mailing list, for discussing the development of new features in the BeeWare suite, and ideas for new tools for the suite.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-starlette
AStarlettebackend for theToga widget toolkit.Toga requires Python 3THIS IS A PLACEHOLDER PROJECTAt present, it has no functionality - it exists purely to reserve the PyPI namespace.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterThebeeware/generalchannel on Gitter.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-textual
A Textual backend for theToga widget toolkit.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For platform requirements, see theTerminal platform documentation.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@beeware@fosstodon.org on MastodonDiscordThe TogaGithub Discussions forumWe foster a welcoming and respectful community as described in ourBeeWare Community Code of Conduct.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-tornado
ATornadobackend for theToga widget toolkit.Toga requires Python 3THIS IS A PLACEHOLDER PROJECTAt present, it has no functionality - it exists purely to reserve the PyPI namespace.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterThebeeware/generalchannel on Gitter.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-tvOS
An Apple tvOS backend for theToga widget toolkit.Toga requires Python 3THIS IS A PLACEHOLDER PROJECTAt present, it has no functionality - it exists purely to reserve the PyPI namespace.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterThepybee/generalchannel on Gitter.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-uwp
A Universal Windows Platform backend for theToga widget toolkit.Toga requires Python 3THIS IS A PLACEHOLDER PROJECTAt present, it has no functionality - it exists purely to reserve the PyPI namespace.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterThepybee/generalchannel on Gitter.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-watchOS
An Apple watchOS backend for theToga widget toolkit.Toga requires Python 3THIS IS A PLACEHOLDER PROJECTAt present, it has no functionality - it exists purely to reserve the PyPI namespace.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterThepybee/generalchannel on Gitter.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-web
A backend for theToga widget toolkiton web platforms.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For platform requirements, see theWeb platform documentation.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@beeware@fosstodon.org on MastodonDiscordThe TogaGithub Discussions forumWe foster a welcoming and respectful community as described in ourBeeWare Community Code of Conduct.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-win32
A Win32 (Microsoft Windows) backend for theToga widget toolkit.THIS MODULE IS A PRE-ALPHA- it does not yet have all the widgets needed to
run the Toga demonstration program.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterTheBeeWare Users Mailing list, for questions about how to use the BeeWare suite.TheBeeWare Developers Mailing list, for discussing the development of new features in the BeeWare suite, and ideas for new tools for the suite.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-winforms
A Microsoft .NET backend for theToga widget toolkitutilizing the WinForms API.This package isn’t much use by itself; it needs to be combined withthe core Toga library.For platform requirements, see theWindows platform documentation.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@beeware@fosstodon.org on MastodonDiscordThe TogaGithub Discussions forumWe foster a welcoming and respectful community as described in ourBeeWare Community Code of Conduct.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: toga-winrt
A WinRT backend for theToga widget toolkit.THIS IS A PLACEHOLDER PROJECTAt present, it has no functionality - it exists purely to reserve the PyPI namespace.This package isn’t much use by itself; it needs to be combined withtoga-core.For more details, see theToga project on Github.CommunityToga is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterTheBeeWare Users Mailing list, for questions about how to use the BeeWare suite.TheBeeWare Developers Mailing list, for discussing the development of new features in the BeeWare suite, and ideas for new tools for the suite.ContributingIf you experience problems with this backend,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: togeojsontiles
Create geojson-tiles from gpx, mbtiles or geojson files.togeojsontiles is a Python 3 package with bindings fortippecanoe(C++) andtogeojson(javascript) that
allows to create geojson vector tiles,tiles/{z}/{x}/{y}.geojson,
from gpx, mbtiles or geojson files.The tiles allow to display large amounts of vector data on interactive
maps without losing performance.The generated tiles can be shown on interactive slippy map likeOpenLayersandLeaflet.Installationtogeojsontiles is compatible with Python 3.3, 3.4, 3.5. It is listed
on PyPi as ‘togeojsonfiles’.The recommended way to install is via pip,$ pip install togeojsontilesDependenciesThis package provides Python bindings for tippecanoe (C++) to create the
tiles, and togeojson (javascript) to convert gpx to geojson. These
libraries do all the work and are required.tippecanoeSeetippecanoefor
installation instructions. It has a few system level dependencies, but
is rather easy to build.togoejsonTo install togoejson (javascript) in your path,$ npm install -g togeojsonUsagegpx to geojsonimporttogeojsontilestogeojsontiles.gpx_to_geojson(file_gpx='test.gpx',file_geojson='test.geojson')geojson to mbtilesimporttogeojsontilesTIPPECANOE_DIR='/usr/local/bin/'togeojsontiles.geojson_to_mbtiles(filepaths=['./data/test1.geojson','./data/test2.geojson'],tippecanoe_dir=TIPPECANOE_DIR,mbtiles_file='out.mbtiles',maxzoom=14)mbtiles to geojson-tilesimporttogeojsontilesTIPPECANOE_DIR='/usr/local/bin/'togeojsontiles.mbtiles_to_geojsontiles(tippecanoe_dir=TIPPECANOE_DIR,tile_dir='project/data/tiles/',mbtiles_file='out.mbtiles')
Package: together-web3
@togethercomputer/together-web3.pyfromtogether_web3.computerimportLanguageModelInferenceRequestfromtogether_web3.togetherimportTogetherWeb3together_web3=TogetherWeb3()result=awaittogether_web3.language_model_inference(from_dict(data_class=LanguageModelInferenceRequest,data={"model":"gpt2","prompt":"Alan Turing was",}),)print("result",result)Seeexamples/example.pyGenerate an imagepython examples/example.py "Rainbow unicorn" "StableDiffusion" \| grep image_base64 | cut -d\" -f4 | base64 -d > x.jpg && open x.jpgPublish to PyPiGitHub repo > Releases > Draft a new Release > Choose a tag > Create new tag on publish >Name the tag using the current version from pyproject.toml with a "v" e.g.v1.0.9.Publish ReleaseIn the repo toolbar select > ActionsVerify the publish workflow is running and completes successfully
Package: together-worker
together-workerExamplecat examples/echo.pyfromtogether_worker.fast_inferenceimportFastInferenceInterfaceclassEcho(FastInferenceInterface):defsetup(self,args):self.message=" to you too."defdispatch_request(self,args,env):prompt=args[0]["prompt"]return{"choices":[{"text":prompt+self.message}],}Test with local REST serverpip install --upgrade together-workerpython -m together_worker.serving examples.echo Echocurl -X POST http://127.0.0.1:5001/ -d '{ "prompt": "test123" }'{"choices": [{"text": "test123 to you too."}]}Setup devmake installPublish to PyPiGitHub repo > Releases > Draft a new Release > Choose a tag > Create new tag on publish >Name the tag using the current version from pyproject.toml with a "v" e.g.v1.0.9.Publish ReleaseIn the repo toolbar select > ActionsVerify the publish workflow is running and completes successfully
Package: toggl
Automate your TogglingNo longer fear the moment when Eva asks you to update toggle. Simply type:$ toggl fixAnd be done with it.Installation$ pip install togglConfigurationCreate a.togglefile in your home directory with the following content:[API]
key = <your api key> # Can be obtained at: FIXME
workspace = 566021 # Your deault workspace[LOCATION]
timezone = europe/amsterdam[PROJECTS]
default = 10128232 # Your default project[SCHEDULE]
monday = 8:30-12:30,13:00-17:30
tuesday = 8:30-12:30,13:00-17:30
wednesday = 8:30-12:30,13:00-17:30
friday = 8:30-12:30,13:00-17:30
Package: toggl2moneybird
toggl2moneybirdA user-friendly command-line tool for synchronizing time entries fromToggl TracktoMoneybird.Installationpip install toggl2moneybirdRunningUsing the tool is self-explanatory.  On first-time use, a browser window will
open asking you to authorize the tool to access your Moneybird administration.
It will also ask you for your Toggl Track email address and password as needed,
but you may alternatively enter the API token listed at the bottom of yourprofile page.To start the synchronization, type the following command.  The tool will always
ask you to confirm any changes, so you do not need to worry about the tool
automatically making changes to your administration.toggl2moneybird syncYou can also automatically create a draft invoice for a particular contact and
period using the following command:toggl2moneybird invoiceLimitationsThe Toggl Track API only allows accessing the last three months worth of data.
It is highly advised to run the sync at least once every month!Currently, there is no mapping done between users - all time entries will be
logged under the same user (you will be asked which one if there are multiple).It's not likely that you'll hit the rate limit of the Moneybird API using this
tool, but if you do, the tool does not handle it gracefully and will quit with
an exception.  Simply try again at a later time if you encounter this issue.If you encounter any problems, please do not hesitate to report them in theissue tracker.
Package: toggl2webcal
toggl2calMy tool that exports toggl as webcal file that I serve from my server.Install:$ pip3 install toggl2webcal --userReadmeusage: toggl2webcal [-h] [-d DAYS] [--no-import] [--no-export] [-o OUT]
                    token database

Export toggl data to webcal file

positional arguments:
  token                 Toggl token
  database              SQL alchemy database connector

optional arguments:
  -h, --help            show this help message and exit
  -d DAYS, --days DAYS  number of days to look back
  --no-import           Don't run import from toggl
  --no-export           Don't run export to webcal
  -o OUT, --out OUT     output path for the webcal fileExampletoggl2webcal TOGGL_TOKEN sqlite:///time.sqlite 
 toggl2webcal TOGGL_TOKEN postgresql://myself@localhost
Package: togglCli
Toggl CLICommand line tool and set of Python wrapper classes for interacting with toggl's APIInstallEasiest way to install this package is through PyPi:$pipinstalltogglCliUsageFor full overview of Toggl CLI capabilities please seefull documentation.CLI toolWith first run of the command you will be asked several questions to bootstrap default config file
(only UNIX-like system are supported; for Window's users there is created dummy config file, which you have to setup manually).To get overview of all commands and options please use--helpoption. Check out also help pages of the subcommands!Several examples of commands:# Starts tracking new time entry$togglstart# Displays/enable modifications of currently running time entry$togglnow# Lists all projects$togglprojectslsAPI wrappersToggl CLI comes with set of Python's class wrappers which follow similar pattern like Django ORM.The wrappers depends on config object which if not provided, the default config file (eq.~/.togglrc) is used.Toggl CLI usespendulumfor datetime management, but it is compatible with Python's native datetime, so you can use that if you want to.fromtogglimportapi,utilsimportpendulumnew_entry=api.TimeEntry(description='Some new time entry',start=pendulum.now()-pendulum.duration(minutes=15),stop=pendulum.now())new_entry.save()list_of_all_entries=api.TimeEntry.objects.all()current_time_entry=api.TimeEntry.objects.current()# Custom config from existing fileconfig=utils.Config.factory('./some.config')# Custom config without relying on any existing config fileconfig=utils.Config.factory(None)# Without None it will load the default config fileconfig.api_token='your token'config.timezone='utc'# Custom timezoneproject=api.Project.object.get(123,config=config)project.name='Some new name'project.save()ContributingFeel free to dive in, contributions are welcomed!Open an issueor submit PRs.For PRs please seecontribution guideline.LicenseMIT ©  Adam Uhlir & D. Robert Adams