Saravanan666/pypi-org huggingface dataset:
Package: things-cli
Things Python CLIA simple Python 3 CLI to read yourThings appdata using thethings.py API.Table of ContentsInstallExamplesScreenshotsInstall$pip3installthings-cli# or$gitclonehttps://github.com/thingsapi/things-cli&&cdthings-cli&&makeinstallExamples%things-cliinbox-To-DoinInboxwithChecklistItems(Inbox)-To-DoinInbox(Inbox)%things-cli--recursiveareas
-Area3()-TodoinArea3(Area3)-Area2()-Area1()-ProjectinArea1(Area1)-TodoinArea1(ProjectinArea1)-Heading(ProjectinArea1)-To-DoinHeading(Heading)-To-DoinArea1(Area1)%things-cli--jsontoday|jq[{"uuid":"5pUx6PESj3ctFYbgth1PXY","type":"to-do","title":"To-Do in Today","status":"incomplete","notes":"With\nNotes","start":"Anytime","start_date":"2021-03-28","deadline":null,"stop_date":null,"created":"2021-03-28 21:11:22","modified":"2021-03-28 21:11:30"}]%things-cli--csv--recursiveall>all.csv&&openall.csv

%things-cli--opml--recursiveall>all.opml&&openall.opml

%things-cli--gantt--recursiveall>all.mmd&&mmdc-iall.mmd-oall.png&&openall.png

%things-cli-h
usage:cli.py[-h][-pFILTER_PROJECT][-aFILTER_AREA][-tFILTER_TAG][-e][-o][-j][-c][-g][-r][-dDATABASE][--version]command...

Simpleread-onlyThing3CLI.

positionalarguments:commandinboxShowsinboxtaskstodayShowstodaystasksupcomingShowsupcomingtasksanytimeShowsanytimetaskscompletedShowscompletedtaskssomedayShowssomedaytaskscanceledShowscanceledtaskstrashShowstrashedtaskstodosShowsalltodosallShowsalltasksareasShowsallareasprojectsShowsallprojectslogbookShowscompletedtaskslogtodayShowstaskscompletedtodaytagsShowsalltagsorderedbytheirusagedeadlinesShowstaskswithduedatesfeedbackGivefeedbacksearchSearchesforaspecifictask

optionalarguments:-h,--helpshowthishelpmessageandexit-pFILTER_PROJECT,--filter-projectFILTER_PROJECTfilterbyproject-aFILTER_AREA,--filter-areaFILTER_AREAfilterbyarea-tFILTER_TAG,--filtertagFILTER_TAGfilterbytag-e,--only-projectsexportonlyprojects-o,--opmloutputasOPML-j,--jsonoutputasJSON-c,--csvoutputasCSV-g,--ganttoutputasmermaid-jsGANTT-r,--recursivein-depthoutput-dDATABASE,--databaseDATABASEsetpathtodatabase--version,-vshowprogram'sversionnumberandexitScreenshotsMindmapExcelGANTT
Package: thingspeak
master:develop:ThingSpeak is an open source “Internet of Things” application and API to store and retrieve data from things using HTTP over the Internet or via a Local Area Network. With ThingSpeak, you can create sensor logging applications, location tracking applications, and a social network of things with status updates.https://thingspeak.comhttps://github.com/iobridge/ThingSpeakThis repository is contains Python module that helps in talking to ThingSpeak API.Full documentation is underhttp://thingspeak.readthedocs.io/en/latest/Install using:pip install thingspeakWarningThis is a complete redesign of the library as compared to v0.1.1.
Previous version is available inhttps://github.com/bergey/thingspeakand is no longer maintained.To install old version you can still use:pip install thingspeak==0.1.1
Package: things.py
Things Python APIthings.pyis a simple Python 3 library to read data from yourThings app.Table of ContentsInstallExamplesDocumentationBackgroundThings URL SchemeUsed ByInstall$pip3installthings.py# or$gitclonehttps://github.com/thingsapi/things.py&&cdthings.py&&makeinstallExamples>>>importthings>>>things.todos()[{'uuid':'2Ukg8I2nLukhyEM7wYiBeb','type':'to-do','title':'Make reservation for dinner','project':'bNj6TPdKYhY6fScvXWVRDX',...},{'uuid':'RLZroza3jz0XPs3uAlynS7','type':'to-do','title':'Buy a whiteboard and accessories','project':'w8oSP1HjWstPin8RMaJOtB','notes':"Something around 4' x 3' that's free-standing, two-sided, and magnetic.",'checklist':True,...>>>things.todos('RLZroza3jz0XPs3uAlynS7'){'uuid':'RLZroza3jz0XPs3uAlynS7','type':'to-do','title':'Buy a whiteboard and accessories',...'checklist':[{'title':'Cleaning Spray','status':'completed',...},{'title':'Magnetic Eraser','status':'incomplete',...},{'title':'Round magnets','status':'incomplete',...}]...}>>>things.projects()[{'uuid':'bNj6TPdKYhY6fScvXWVRDX','type':'project','title':'Throw Birthday Party','area':'bNj6TPdKYhY6fScvXWVRDX',...},{'uuid':'w8oSP1HjWstPin8RMaJOtB','type':'project','title':'Set Up Home Office','area':'Gw9QefIdgR6nPEoY5hBNSh',...>>>things.areas()[{'uuid':'ToLxnnBrWkfHC3tkx4vxdV','type':'area','title':'Family',...},{'uuid':'Gw9QefIdgR6nPEoY5hBNSh','type':'area','title':'Apartment',...>>>things.tags()[{'uuid':'CKILg3kKF2jlCRisNFcqOj','type':'tag','title':'Home','shortcut':None},{'uuid':'gfmpz8zxnyfqMDvRi3E8vo','type':'tag','title':'Office','shortcut':None},...>>>things.get('CKILg3kKF2jlCRisNFcqOj'){'uuid':'CKILg3kKF2jlCRisNFcqOj','type':'tag','title':'Home','shortcut':None}BackgroundThe task management app Things stores all your to-dos in a SQLite database file (detailshere). This format is intended to be machine-readable, not human-readable. The aim of this project is to let you access all your Things data in a human-readable way. We thereby stay as true to the database as possible while doing SQL joins and transformations to aid understanding of the data. Note that you can print the SQL used by adding the parameterprint_sql=Trueto most API calls.If any aspect of the API seems overly complex or doesn't meet your needs, please don't hesitate to add a new issuehere.TerminologyHere are the core technical terms used involving the database:areatagtasktype'to-do': can have checklists;'project': can have to-dos and headings;'heading':  part of a project; groups to-dos.status:'incomplete','canceled', or'completed'trashed:TrueorFalsestart:'Inbox','Anytime', or'Someday'checklist item (contained within a to-do)DocumentationThe full documentation for this library can be found here:https://thingsapi.github.io/things.py/things/api.htmlThings URL SchemeYou can make good use of theuuidto link to to-dos, areas, tags, and more from other apps. Also updates are possible. Read an introductionhereand see the documentationhere.Used ByThe following open-source projects make use of this library:KanbanViewThings CLIThingsStatsThings3 to Notionthings-to-orgThings to CSV
Package: thingtalk
Project thingTalkThing as a ServiceWhat isthingTalk?thingTalkis a web of things implementation, currently supporting a dialect protocol called webthings.Project Vision:To provide a communication layer for spatial computing, and make iot interoperable with xr.The key features are:Layered design -- Provide services such as rule engines on top of the core protocol layer.Scalability -- Can be based on MQTT to achieve distributed deployment.Standards-based -- Compatibility with community standards[WoT].Fast: Very high performance, on par with NodeJS and Go (thanks to FastAPI).Robust: Get production-ready code. With automatic interactive documentation.Fast to code: Increase the speed to develop features by about 200% to 300%. *Installationthingtalk can be installed via pip, as such:$ pip install thingtalk
Package: thingy52
=========Thingy:52=========.. image:: https://img.shields.io/pypi/v/thingy52.svg:target: https://pypi.python.org/pypi/thingy52.. image:: https://img.shields.io/travis/SebastianRoll/thingy52.svg:target: https://travis-ci.org/SebastianRoll/thingy52.. image:: https://readthedocs.org/projects/thingy52/badge/?version=latest:target: https://thingy52.readthedocs.io/en/latest/?badge=latest:alt: Documentation Status.. image:: https://pyup.io/repos/github/SebastianRoll/thingy52/shield.svg:target: https://pyup.io/repos/github/SebastianRoll/thingy52/:alt: UpdatesPython interface to Thingy:52.. image:: demos/demo_camera_udp.gif* Free software: MIT license* Documentation: https://thingy52.readthedocs.io. <- coming soonThis package is an implementation of a Python interface for the Thingy:52 ble IoT Sensor Kit.More information about Thingy:52 is found here: https://www.nordicsemi.com/eng/Products/Nordic-Thingy-52Full disclosure: A reference implementation for thingy:52 already exists in the popular bluepy package:https://github.com/IanHarvey/bluepyInstall-------Python 2 support <- coming soon.Python 3:.. highlight:: bash$ sudo apt-get install libglib2.0-dev$ pip3 install thingy52If you find bluepy-helper isn't being built, please try:.. highlight:: bash$ pip install --no-binary :all: thingy52To use the recording demo (/demo/record.py) you will need the PyAudio package (https://people.csail.mit.edu/hubert/pyaudio/).Features--------* CLI interface using Click* Data conversion functions for all sensors (not yet fully complete)* Some fun demos to get you startedBUGS----The first connection attempt after turning on the thingy:52 usually fails, but it works after that.TODO----- [ ] Python 2.X- [X] Python 3.X- [ ] Implementation- [X] Toggle notify- [ ] Notification frequency- [X] Read/Write- [X] Services- [X] Environment- [X] Motion- [X] User Interface- [ ] Audio- [ ] Documentation- [ ] Installation- [ ] Usage- [ ] Convert docs to markdown- [ ] Badges (CI, Readthedocs)- [ ] Photo of thingy:52- [ ] Gif of demo (controlling Picam)- [ ] Distribution- [ ] Conda package (conda-forge)- [X] Pypi packageMore information----------------* https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/firmware_architecture.html* https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.rds%2Fdita%2Frds%2Fdesigns%2Fthingy%2Fhw_description%2Fhw_descr.html&cp=9_0_6Credits---------This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template... _Cookiecutter: https://github.com/audreyr/cookiecutter.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage=======History=======0.1.0 (2017-08-26)------------------* First release on PyPI.
Package: thinhpf
Thin wrapper for HPFThin Python wrapper for the non-parametric Hochbaum Pseudoflow (HPF) min-cut/max-flow algorithm. The original source code by Bala Chandran and Dorit S. Hochbaum is availbablehere. The C++ code used in this wrapper has been refractored by Patrick M. Jensen and publishedhere.InstallationInstall from repository (requiresCython):git clone https://github.com/Skielex/thinhpf
cd thinhpf
pip install .Package will be made available on PyPI later.Tiny exampleimportthinhpfhpf=thinhpf.hpf()# Add s and t.next_node_id=hpf.add_node(2)defoffset(n):return2+ns=0t=1hpf.set_source(0)hpf.set_sink(1)# Number of nodes to add.nodes_to_add=2# Add two nodes.next_node_id=hpf.add_node(nodes_to_add)# Add edges.hpf.add_edge(s,offset(0),5)# s     --5->   n(0)hpf.add_edge(offset(0),t,1)# n(0)  --1->   thpf.add_edge(offset(1),t,3)# n(1)  --3->   thpf.add_edge(offset(0),offset(1),2)# n(0)  --2->   n(1)hpf.add_edge(offset(1),offset(0),1)# n(1)  --1->   n(0)# Find maxflow/cut hpf.hpf.mincut()flow=hpf.compute_maxflow()forninrange(nodes_to_add):segment=hpf.what_label(n)print('Node%dhas label%d.'%(n,segment))# Node 0 has label 0.# Node 1 has label 1.print('Flow:%s'%flow)# Maximum flow: 3Related repositoriesHochbaum Groupon GitHubOriginal sourcewebsiteslgbuilderPython package (CVPR 2020)shrdrPython package (ICCV 2021)thinqpboPython packagethinmaxflowPython packageC++ implementationsof max-flow/min-cut algorithmsLicenseThe original C code by Bala Chandran and Dorit S. Hochbaum and thereby the content ofhpf.h(previouslypseudo.c) is published under an academic license (see LICENSE file). More information on theoriginal website.
Package: think
Are you executing a process that takes a long time?  Do you want to know that it’s
still working while you are in another terminal/making coffee?  Do you have a
favorite game show tune to play while doing something?If yes:thinkis just for you.InstallationYou can installthinkfrom PyPI (withpip install think). Arch Linux
users can install thethinkpackage from the AUR.ConfigurationCreate a file named~/.config/think.conf(or wherever yourXDG_CONFIG_HOMEis) with the following four lines:[Think]
command = play
file = /home/kwpolska/Dropbox/Media/Wielka Gra.mp3
behavior = waitcommandis the command of the player that will be executed.  You can useplay(fromsox) or any other fast CLI music player.fileis the filename that will be given as the sole argument to the play command. No escaping is necessary. I’m using theWielka Gratheme, Americans might wantJeopardy! Think Music(also the namesake for this command), Brits might want theCountdown theme.behaviorcan be one of:return— return control to the terminal as soon as the program finishes, without stopping the musicwait— wait until music stops before returning controlstop— stop the music and return control immediatelyUsagePrependthinkbefore the command that takes too long to execute:think sleep 120
Package: thinkcell
thinkcell 📊thinkcell is a simple unofficial python library that helps you generate presentations in a quick and automated way.In order to use it you will need a valid and workingthink-cell license and installation.Installationthinkcell is available on PyPi.$pipinstallthinkcellTutorial and usageLet us say you have generated a template according tothink-cell's automation guidelinescalledsimple-template.pptxwith the following chart calledChart1:The thinkcell library helps you generate a.ppttcfile so that you can generate presentations based on that template using python:fromthinkcellimportThinkcelltemplate_name="simple-template.pptx"categories=["Ads","Revenue","Losses"]chart_name="Chart1"field_name="chart_caption"text="Some relevant KPIs"filename="simple-example.ppttc"data=[["Amazon",1,11,14],["Slack",8,2,15],["Ford",1,2,12]]tc=Thinkcell()# create thinkcell objecttc.add_template(template_name)# add your templatetc.add_textfield(template_name=template_name,field_name=field_name,text=text,)# add your text fieldtc.add_chart(template_name=template_name,chart_name=chart_name,categories=categories,data=data,)# add you categories and datatc.save_ppttc(filename=filename)Once done, go ahead and double click the generatedsimple-example.ppttcfile, and your chart will open. Save it and you are done!You can also derive your chart from a Pandas dataframe.Make sure you have pandas installed (e.g.,pip install pandas)fromthinkcellimportThinkcellimportpandastemplate_name="simple-template.pptx"chart_name="Chart1"filename="simple-example.ppttc"dataframe=pandas.DataFrame(columns=["Company","Ads","Revenue","Losses"],data=[["Amazon",1,11,14],["Slack",8,2,15],["Ford",1,2,12]],)tc=Thinkcell()# create thinkcell objecttc.add_template(template_name)# add your templatetc.add_chart_from_dataframe(template_name=template_name,chart_name=chart_name,dataframe=dataframe,)# add your dataframetc.save_ppttc(filename=filename)Visit theexamples folderfor more examples and source files.If you wish to learn more about this process, visit the think-cellautomation documentation.ContributingStart by forking this repo.Install the development dependencies (you probably want to do this in avirtual environment):$pipinstall-rrequirements-dev.txtMake sure the tests run:$pytestThen you can create a branch and submit a pull request.To-dosCreate docstrings.Handle duplicate template names.Produce documentation.Pandas dataframe support.Note: This project is in no way affiliated with think-cell Sales GmbH & Co. KG. I just wanted to make my (and hopefully your) life easier.
Package: thinkedgecan
This plugin adds support for the ThinkEdge SE50's CAN-bus controller to thepython-canlibrary.
Specifically, the ThinkEdge SE50 provides a CAN-bus connection via a SUNIX Industry card.System requirementsHardware: ThinkEdge SE50Operating system: Ubuntu 20.04 GAInstallationDownload and unzip the drivers fromLenovoThis folder contains a PDF with the name "SDC Expansion Board SDK Document1.0.2-linux.pdf". Follow the instructions inside the PDF to install the driver and to check the driver status. You can disregard all instructions that come after.Runpip install path/to/thinkedgecan.UsageRefer to thedocumentation ofpython-canfor general usage.Create theBusobject with the following code:fromcanimportThreadSafeBuswithThreadSafeBus(interface="sunix",baudrate=500)asbus:...For the baudrate, you can choose one of 125, 250, 500 and 1000 kbit/s. All devices on a CAN-bus must use the same baudrate.
Package: thinkgisdump
thinkgisdumpCommand line tool for scraping GeoJSON fromThinkGISsites. Based onpyesridump.InstallYou can installthinkgisdumpusing pip with the following command:pipinstallthinkgisdumpThis will add the scriptthinkgis2geojsonto your path.Usageusage:thinkgis2geojson[-h][-lLAYER_ID][-oOUTPUT][-qQUIET]url

ScrapeGeoJSONfromThinkGISsites

positionalarguments:urlThinkGISserverURL,layerIDwillbeparsedfromthedsidqueryparamifpresent

optionalarguments:-h,--helpshowthishelpmessageandexit-lLAYER_ID,--layer-idLAYER_IDLayerID(inthedsidqueryparam)tobescraped-oOUTPUT,--outputOUTPUTOutputfilename,defaultstostdout-qQUIET,--quietQUIETSuppressloggingoffeaturerequestsBecause of the defaults and setting the layer ID based on query params, the following two command are equivalent.thinkgis2geojsonhttps://richlandil.wthgis.com--layer-id1283-orichland-precincts.geojson
thinkgis2geojson'https://richlandil.wthgis.com?dsid=1283'>richland-precincts.geojsonNotesTo get the parameters you'll need to scrape a given ThinkGIS layer, you can open the "Index" section on a map page. On the map index panel that opens up, you can open developer tools to see the full URL of the link for the layer you're interested in. The layer ID will be in thedsidparameter. You can also use this full URL including the query parameter in theurlargument and it will be used without supplying--layer-idseparately.ThinkGIS returns point and multipoint geometries as polygon circles. When these are encountered, the mean point of the circle is used to create a point or multipoint GeoJSON geometry. Line shapes are also returned as polygons, and currently these are returned as polygons without further transformation.
Package: thinkific
Thinkific Python SDKThis is a Python SDK to interact with theThinkific LMSAPI. The official documentation for the API can be foundhere.InstallationpipinstallthinkificUsageInitializeImport the libraryfromthinkificimportThinkificCreate an object with the Auth token and subdomain namethinkific=Thinkific("<auth_token>","<subdomain>")EndpointsThe following endpoints are currently supported:BundlesChaptersContentsCouponsCourse reviews (course_reviews)CoursesEnrollmentsOrdersProductsPromotionsUsersWebhooksEach endpoint can be initialized in the following way:users=thinkific.userscourses=thinkific.coursesMethodsThe methods can be accessed as belowthinkific=Thinkific("<auth_token>","<subdomain>")thinkific.courses.list()thinkific.webhooks.list()The python methods corresponding to each API contents will be listed below:BundlesContentFunctionRetrieve A Bundleretrieve_bundle()Retrieve the Courses Within A Bundleretrieve_courses_in_bundle()Create an Enrollment in a Bundle of Coursescreate_enrollment_in_bundle()Get Enrollments in a Bundleget_enrollments_in_bundle()Update Enrollments in a Bundleupdate_enrollments_in_bundle()ChaptersContentFunctionRetrieve A Chapterretrieve_chapter()Retrieve the Contents of a Chapterretrieve_contents_of_chapter()ContentsContentFunctionRetrieve A Contentretrieve_content()CouponsContentFunctionRetrieve a list of Couponslist()Retrieve a Couponretrieve_coupon()Create a Couponcreate_coupon()Bulk Create Couponsbulk_create_coupons()Update a Couponupdate_coupon()Delete a Coupondelete_coupon()Course ReviewsContentFunctionRetrieve a list of Reviews for a Courselist()Create a Course Reviewcreate_course_review()Retrieve a Course Reviewretrieve_course_review()CoursesContentFunctionRetrieve a list of Courseslist()Retrieve a Courseretrieve_course()Retrieve the Chapters of a Courseretrieve_chapters()EnrollmentsContentFunctionRetrieve a list of Enrollmentslist()Retrieve an Enrollmentretrieve_enrollment()Create an Enrollmentcreate_enrollment()Update an Enrollmentupdate_enrollment()OrdersContentFunctionRetrieve a list of Orderslist()Retrieve an Orderretrieve_order()ProductsContentFunctionRetrieve a list of Productslist()Retrieve a Productretrieve_product()Retrieve a list of Products related to another Productretrieve_product_related()PromotionsContentFunctionRetrieve a list of Promotionslist()Retrieve a Promotionretrieve_promotion()Create a Promotioncreate_promotion()Update a Promotionupdate_promotion()Delete a Promotiondelete_promotion()Find a Promotion by Coupon Code and Productfind_promotion_with_coupon_and_product()UsersContentFunctionRetrieve a list of Userslist()Retrieve a Userretrieve_user()Create a Usercreate_user()Update a Userupdate_user()Delete a Userdelete_user()WebhooksContentFunctionRetrieve a list of Webhookslist()Retrieve a Webhookretrieve_webhook()Create a Usercreate_webhook()Update a Webhookupdate_webhook()Delete a Webhookdelete_webhook()For more details, please look at theThinkific API Docs.TODO:Add the remaining API endpoints
Package: thinkindicator
ThinkIndicatorHas automatic fan control of your ThinkPad made your knees flame and bodily fluids boil?Maybe you're fine with your laptop running hot but you want to quickly switch it to full fan speed, get to bed with it and get no burns?Look no further!This little indicator (taskbar widget) will let you change the fan speed with just a scroll over it.RequirementsPython>3.6Linux with acpi_thinkpad module (if you don't know what it is, you have it)pygobjectlibappindicatorRoot access (if you know how to bypass that, let me know)Obviously, an IBM/Lenovo ThinkPadEnabling fan controlCheck if you have/proc/acpi/ibm/fanfile in your system. If not, try loading acpi_thinkpad module with commandmodprobe acpi_thinkpad.The next step is enabling manual control over the fans. Create file/etc/modprobe.d/50-thinkfan.confwith contentoptions thinkpad_acpi fan_control=1.Reboot and you're all set.pygobjectAn appropriate package is called python3-gobject in SUSE and Fedora, python3-gi in Debian and Ubuntu, python-gobject in Arch btw.libappindicatorAn appropriate package is called libappindicator3-1 in most distros, libappindicator-gtk3 in Arch.Installation & UsageThinkIndicator can be installed fromPyPIwith commandpip install thinkindicator. You can then run it with commandthinkindicator.You can also download it from git:gitclonehttps://github.com/przemub/thinkindicatorcdthinkindicator
./start.shStart ThinkIndicator using your preferred method. You should see a number or letter signifying the current fan status in your taskbar. Click on it to change the mode. If you are in a manual mode (signified by a number) then you can scroll on the indicator to change the speed level.If shit hits the fan (haha) let me know via the Issues tab.DisclaimerTHIS SOFTWARE IS DISTRIBUTED UNDER NO RESPONSIBILITY ACCEPTED FOR THE RESULTS OF ITS USAGE, INCLUDING BUT NOT LIMITED TO FRYING YOUR LAPTOP, TESTICLES OR OVARIES.