Saravanan666/pypi-org huggingface dataset:
Package: totui
totui (Trade Ogre TUI)A textual user interface (TUI) for the popular TradeOgre exchangeHas the ability to:Place Buy OrdersPlace Sell OrdersList Order Books, Tickers, and Action HistoryWithdraw to address for most coinsLocate Deposit address& more!DependenciesLatest Chrome Browser (stable)Install (pip)pip3installtotuiConfigure~/.totui/config.ini(see below), then runtotuiInstall (Source)From git sourcegitclonehttps://github.com/protomens/totuicdtotuiBuild & Installpython3setup.pyinstallConfigureTotui now prompts you at the start for your API keys.Run:totuiNote:Your terminal size must be at least 178x62 otherwise you will get an error when trying to run this.UsageFollow the menus and read the details. Read the on-screen instructions.DisclaimerI am in no way responsible for your actions with this app. I am not liable for any erroneous buy/sell orders you may place using totui. Instead, be cautious and double check your orders before submitting them. This is good practice in general.It is recommended that you verify all deposit and withdraw addresses before proceeding. Your errors or errors of the program are not my responsibility. It is advised to make sure you know what you are doing when it comes to finances.It is helpful to open a second tab in the Chrome browser to verify all addresses are correct and any transactions do go through.LicenseGPL v3.0TipjarIf you feel so inclined as to leave a tip this app will cotinue in development and issues raised will be handled in a timely manner. Programming costs time and money and donating helps the cause of open source and app development.XMR: 82iYCRic1nQHb8RkU1T8ZYgebv7mzuxRJXiZ8fQ1crNoMtPqZRy4Rr1aJ9ND7RMd5uHTR9z8GbugGMSokmEq5JYsEuKtwHPDERO: dero1qyxctkgzee00jh3md4etc8kxkr8x4hh7cckezrhn7de39kj4xaf9xqqa6xetaBTC: bc1q70qdes2xrxyc03fgwekmmt8j2rds0fmg3dehth
Package: totvsecm
API para acesso aos Webservices do TOTVS ECM.Highlights:Compatível com Python 2.7, 3.5, 3.6, 3.7.Compatível com a versão 48-EP12 82 do ECM.InstalaçãopipinstalltotvsecmUsofromtotvsecmimportBaseServiceservico=BaseService(url_servidor='https://jedi_ecm_server',usuario='quigonjinn',senha='maytheforcebewithyou',usuario_responsavel='quigonjinn',id_processo='selecao_jedi')Para iniciar um processo use:servico.iniciar_solicitacao(dados_formulario=dict(nome='Anakin',sobrenome='Skywalker'),ids_destinatarios=['yoda'],comentarios='He is the chosen one')
Package: totype
Data converterInstallpoetry add totypeorpip install totypeExamplesTransform valuefromtotype.fieldsimportFieldvalue="1"field=Field(transform_funcs=[int,lambdax:x*100,str])valid,new_value=field(value)assertvalidassertnew_value=="100"Transform rowsimportdatetimeasdtfromtotypeimportfields,RowTransformtransform=RowTransform(fields=[fields.TextField(),fields.IntField(),fields.UIntField(),fields.FloatField(),fields.ArrayField(),fields.JSONField(),fields.DateTimeField(),fields.DateField(),],skip_error_rows=False,store_rows_with_errors=False,)newrow=transform((1,"20","-100","500","[[100]]",'{"100": 100}',"2021-01-01","2021-01-01"))assertnewrow==("1",20,0,500.0,[[100]],{"100":100},dt.datetime(2021,1,1),dt.date(2021,1,1))
Package: totypes
totypes - Custom types for topology optimizationv0.6.3OverviewThetotypespackage defines custom jax-compatible datatypes for use in a topology optimization, inverse design, or AI-guided design context. The custom types are pytree nodes consisting of standard jax arrays along with metadata that describe the desired characteristics of the arrays.BoundedArray, an array with optional lower and/or upper bounds, used e.g. for representing layer thicknesses.Density2DArray, an array with lower and upper bounds and characteristics such as fixed pixels, minimum feature size, or symmetry, used for representing layer density as is common in topology optimization.Custom types do not modify the underlying arrays to ensure that e.g. bounds are obeyed. Instead, it is intended that any scheme for generating arrays be aware of and respect the metadata. For example, a topology optimization scheme could read the minimum width and spacing of layers, and use these quantities to construct an appropriate filtering scheme.Several related utilities are also provided. Thejson_utilsmodule provides functions for serializing and deserializing pytrees containing the custom types. And, thesymmetrymodule provides functions that symmetrize arrays; the allowed symmetries of theDensity2DArrayare restricted to those implemented in thesymmetrymodule.Installpip install totypes
Package: toucan-client
Installationpip install toucan_clientUsage# Initialize clientauth=('<username>','<password>')client=ToucanClient('https://api.some.project.com/my_small_app',auth=auth)# Retrieve ETL configetl_config=client.config.etl.get()# -> GET 'https://api.some.project.com/config/etl'client.config.etl.get(stage='staging')# -> GET 'https://api.some.project.com/config/etl?stage=staging'# Operations control, start a preprocessclient.data.preprocess.post(stage='staging',json={'async':True})# Operations control, release to prodclient.data.release.post(stage='staging')DevelopmentYou need to installpoetryeither globally or in a virtualenv.
Then runmake install
Package: toucan-data-sdk
Toucan Data SDKDevelop your Toucan Toco data pipeline from the confort of your favorite environment.InstallationFor usage:pip install toucan_data_sdkFor dev:Install the module in editable mode and with test requirements:pip install -e '.[test]'UsageGet data sourcesimportgetpassfromtoucan_data_sdkimportToucanDataSdkinstance_url='https://api-demo.toucantoco.com'auth=('<username>',getpass.getpass())sdk=ToucanDataSdk(instance_url,small_app='demo',auth=auth,enable_cache=True)dfs=sdk.get_dfs()APIToucanDataSdk classToucanDataSdk.sdkproperty,uses the client to send a request to the back end to send the data sources
as DataFrames,uses an internal cache.ToucanDataSdk.invalidate_cache()Invalidates the cache. Next time you will access to the sdk property, a
request will be sent to the client.Utilscf.https://docs.toucantoco.com/concepteur/data-sources/00-generalities.html#utility-functionsFor example:fromtoucan_data_sdk.utilsimportadd_missing_rowDevelopmentMakefileUse the makefile totest,build...$maketestDevelopmentYou need to installpoetryeither globally or in a virtualenv.
Then runmake install
Package: toucans
Toucans is a streamlined library designed for agile and flexible prompt engineering, leveraging jinja2 for dynamic prompt templating and litellm to seamlessly connect with a wide range of language model providers.Getting StartedInstallationpip install toucansInitialize Prompt FunctionTo initialize a PromptFunction:fromtoucansimportPromptFunctionqa_func=PromptFunction(model="gpt-4",temperature=0.7,messages=[{"role":"system","content":"You are a helpful {{ role }}."},{"role":"user","content":"Answer the following question: {{ question }}"},],)Generate CompletionGenerate a completion by calling the PromptFunction with the desired role and question:completion=qa_func(role="Software Developer",question="What is clean code?")Save Prompt FunctionTo save the initialized PromptFunction to a directory or thetoucans hub:# Push to dir (not implemented yet)qa_func.push_to_dir("./qa/")# Push to toucans hubqa_func.push_to_hub("juunge/qa")Load Saved Prompt FunctionTo load a saved PromptFunction from a directory or thetoucans hub:# Load from dir (not implemented yet)qa_func=PromptFunction.from_dir("./qa/")# Load from toucans hubqa_func=PromptFunction.from_hub("juunge/qa")Loading fromToucans Hubrequires that you run a hub and connect to it by setting the HUB_API_URL environment variable.
Package: touchable-component
touchable componenttouchable component is a Dash component library.
Component to acquire coordinates and movements for smartphones.Installation$ pip install touchable_componentPropertieschildren (dash component)id (string)className (string)n_clicks (int)direction (string; readonly)Flick-swipe direction.updownleftrightflick (float; readonly)Timestamp at end of flick operation.swipe (float; readonly)Timestamp at end of swipe operation.long_tap (float; readonly)Timestamp of the start of the long press.long_tap_end (float; readonly)Timestamp of the end of the long press.long_swipe (float; readonly)Timestamp when swiped after long press.start_timestamp (float; readonly)Timestamp of the start of the touch.end_timestamp (float; readonly)Timestamp of the end of the touch.touches (list[dict]; readonly)
List of coordinate information.x
x-coordinate in component.y
y-coordinate in component.clientX
Relative x-coordinates, not including the scroll offset from the viewport of the touch points.clientY
Relative y-coordinates, not including the scroll offset from the viewport of the touch points.top
Relative position of the upper left corner of the browser's display area as a base point.left
Relative position of the upper left corner of the browser's display area as a base point.
Package: touchbar-lyric
Synced Lyric on TouchBar:warning: I no longer have a macbook with TouchBar, so I won't be able to update this project as often.Show synced lyric in the touch-bar with BetterTouchTool and NetEase/QQ Music APIs. Based on the idea ofKashi.FeaturesSynced lyricsfrom QQ Music and NetEase Music APIs;SupportSpotify(Recommended) &Music(Only songs in your playlists);Support forEnglish/Spanish/Chinese(Simplified/Traditional)/Japaneseand more;InstructionIf you are not familiar with command line, python ecosystem or having problems understanding this tutorial, find a friend to help you. Issues/DMs are not actively monitored for this project.1. Installationpip3installtouchbar_lyric--upgrade2. Configuration in BetterTouchToolSame as Kashi:Copy&paste the content inlyric.jsoninMeun Bar > Touch Bar;Change the python path$PYTHONPATHto your own python path in the script area;$PYTHONPATH-mtouchbar_lyric--appMusicor use Spotify(default)$PYTHONPATH-mtouchbar_lyric--appSpotifyShow Traditional Chinese lyrics$PYTHONPATH-mtouchbar_lyric--appSpotify--traditionalBe careful with typing double hyphens in BTT. It automatically change it to an em slash. Use copy & paste instead!AcknowledgementInspired byKashibyJim Ho.Supported by wonderful projects likeqq-music-apibyRain120andspotifylyricsbySimonIT.DisclaimerThis project is not affiliated with Apple, Spotify, QQ Music, NetEase Music, BetterTouchTool or any other third party. This project is not intended to violate any terms of service of the aforementioned parties. This project is for educational purposes only.
Package: touchberrypi
A sample project that exists as an aid to thePython Packaging User Guide’sTutorial on Packaging and Distributing
Projects.This projects does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.This is the README file for the project.The file should use UTF-8 encoding and be written usingreStructuredText. It
will be used to generate the project webpage on PyPI and will be displayed as
the project homepage on common code-hosting services, and should be written for
that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not
a good idea, although a simple “What’s New” section for the most recent version
may be appropriate.
Package: touch-callable
Touch-CallableThe web framework for less serious application.Automatically generate a Web UI for Python function using type annotations.English |简体中文Support platformsmacOSUbuntuWindowsInstallationOnly support Python 3.6!pip install -U touch-callableSupported parameter value typesstrintfloatbooldatetime.datetimedatetime.datedatetime.timeenum.Enumio.BytesIOtyping.BinaryIOSupported return value typesAll objects that can bejson.dumpsopen('filename.xxx', 'rb'), return values' annotation should beio.BufferedReaderCommandLine args--hostDefault is 127.0.0.1, you can only visit it on your computer.If you want to listen all networks：$ touch-callable example.py --host 0.0.0.0--portDefault is 6789.--debugenable Flask debug feature(not recommend)Default is False, if you want to enable it$ touch-callable example.py --debug TrueScreenshotcallablesExamplesAll support types# example.pyfromdatetimeimportdatetime,date,timefromenumimportEnumimportioimporttypingclassLanguages(Enum):Python='Python'PHP='PHP'Java='Java'defdemo(int_:int,str_:str,float_:float,bool_:bool,enum_:Languages,datetime_:datetime=datetime.now(),date_:date=date.today(),time_:time=time(1,2,3),bytes_io:io.BytesIO=None,binary_io:typing.BinaryIO=None):pass$ touch-callable example.pyReturn fileimportiodefreturn_file()->io.BufferedReader:returnopen('filename','rb')Stargazers
Package: touchdb
touchdbtouchdb is a simple document based nosql database built entirely on python. This save the data input which is in python dictionary into a JSON data in a .db file.
There are only limited number of functionalities that are implemented in the engine but they are more than sufficient to handle normal database queries.Find MeGitHubPyPIWebsiteInstallationEasy to install in your projects using pip.pip install touchdbUsage>>>fromtouchdbimportDatabase>>>db=Database.Connector('./record.db',True)>>>print(db.getByAttribute(record_type='sickness',patient_id='usr1'))List of functionsload(location, auto_dump): Force the database to load the database from the database file into the memory.dump(): Dump the data in the memory into the database file.insert(**kwargs): Insert the python dictionary data into the database.key - optionalparameter which provide the key for the value to be inserted.valueis pythondictto be inserted into the database.get(key): Get the data from the database using the key.getAll(): Get all the data in the database as JSON format(python dictionary).getByAttribute(**kwargs): Attribute of the record will be checked with the provided values and return the list of mapping data in the database.exists(key): Check if a key exists in the database.remove(key): Remove a particular data mapping to the key in the database.removeByAttribute(**kwargs): Remove all data records in the database which correlate to the attribute value.totalkeys(key=None): If the parameter key is not provided return the total number of keys in the database, but if the key is provided return the number of data records 11. inside that particular dictionary.add(key, value:dict): Add a new key-value pair to the existing data record with key as provided.extend(datas: dict): Extend the database with the provided dictionary data.deldb(): Delete the database from both memory and file.Sample DataA sample data record file is given below for testing purpose.{"894a9a5d-46e8-11ed-b600-b526d12bcc50":{"patient_id":"usr1","patient_name":"James","record_type":"sickness","sens_level":4,"data":"<THIS IS THE ACTUAL DATA TO BE STORED IN THE DATABASE>"},"69840102-479e-11ed-97ec-b526d12bcc50":{"patient_id":"usr6","patient_name":"Kabilan","record_type":"sickness","sens_level":3,"data":"THIS IS A DUMMY SICKNESS DATA FOR NEW USER"},"4e4f3d76-47b0-11ed-8752-b526d12bcc50":{"patient_id":"usr7","patient_name":"Levi Ackerman","record_type":"drug_prescription","sens_level":3,"data":"THIS IS A DUMMY DRUG PRESCRIPTION DATA RECORD FOR TESTING"}}A few example codefromtouchdbimportDatabasedb=Database.Connector('./record.db',True)db.insert(value={'test_id':"test123"})print(db.get(key='cf9a67ed-4bf6-11ed-9284-b72b6fa7f086'))print(db.getAll())print(db.getByAttribute(record_type='sickness'))print(db.exists(key='cf9a67ed-4bf6-11ed-9284-b72b6fa7f086'))print(db.remove(key='cf9a67ed-4bf6-11ed-9284-b72b6fa7f086'))print(db.removeByAttribute(record_type='sickness'))print(db.totalkeys())print(db.totalkeys(key='69840102-479e-11ed-97ec-b526d12bcc50'))print(db.add('4e4f3d76-47b0-11ed-8752-b526d12bcc50',{'address':'Eldian Kingdom','Kill count':'inf+'}))
Package: touch-designer-yolo-detection
YOLO video detection in the TouchDesignerDescriptionThis project demonstrate how to use custom ML model in the TouchDesigner. The solution consists from two components:Script TOP in the TouchDesigner.External process to process data.sequenceDiagram
    participant T as TouchDesigner
    participant S as Shared memory
    participant P as Python external process
    T->>S: Send frame to shared memory
    S->>P: Read frame from shared memory
    P->>S: Process frame and write to shared memory
    S->>T: Read processed frame from shared memoryRequirementsPython 3.9 or higher. It is more preferable to have same version as in the TouchDesigner.How to runInstall prebuild package from PyPiFrom sourceInstall dependenciesFor GPU:pip install -r. /requirements.gpu.txtFor CPU:pip install -r. /requirements.cpu.txtFor development:pip install -r ./requirements.dev.txtCompile Cython extensionYou need C compilerto compile extension.Develop modepip install -e .Binary distributionTo compile binary distribution:python -m cibuildwheel --platform <your_platform>Install binary distribution:pip install ./dist/*.whlUsecasesVideo detectionRun:python ./main.py -c <checkpoint_path> -i <video_path> -o <video_path>With TouchDesignerRun server processing:python ./processing.py -p <path_to_model>Opentouch_designer.pyin the TouchDesigner as script TOP.
Package: touchdown
Touchdown is a service orchestration framework for python. It provides a python
“DSL” for declaring complicated cloud infrastructures and provisioning those
blueprints in an idempotent way.You can find us in #yaybu on irc.oftc.net.Here is an exampleTouchdownfile:aws = workspace.add_aws(
    region='eu-west-1',
)

vpc = aws.add_virtual_private_cloud(name='example')
vpc.add_internet_gateway(name="internet")

example = vpc.add_subnet(
    name='application',
    cidr_block='192.168.0.0/24',
)

asg = aws.add_autoscaling_group(
    name='example',
    launch_configuration=aws.add_launch_configuration(
        name="example",
        ami='ami-62366',
        subnets=[example],
    ),
)You can then apply this configuration with:touchdown apply
Package: touchphat
https://shop.pimoroni.com/products/touch-phatTouch pHAT is a simple add-on for your Pi or Pi Zero that includes 6 touch sensitive pads. Use it to add touch control to your projects.InstallingFull install (recommended):We've created an easy installation script that will install all pre-requisites and get your Touch pHAT
up and running with minimal efforts. To run it, fire up Terminal which you'll find in Menu -> Accessories -> Terminal
on your Raspberry Pi desktop, as illustrated below:In the new terminal window type the command exactly as it appears below (check for typos) and follow the on-screen instructions:curlhttps://get.pimoroni.com/touchphat|bashAlternatively, on Raspbian, you can download thepimoroni-dashboardand install your product by browsing to the relevant entry:sudoapt-getinstallpimoroni(you will find the Dashboard under 'Accessories' too, in the Pi menu - or just runpimoroni-dashboardat the command line)If you choose to download examples you'll find them in/home/pi/Pimoroni/touchphat/.Manual install:You'll need to enable i2c:sudo raspi-config nonint do_i2c 0Library install for Python 3:sudopython3-mpipinstalltouchphatLibrary install for Python 2:sudopython2-mpipinstalltouchphatDevelopment:If you want to contribute, or like living on the edge of your seat by having the latest code, you should clone this repository,cdto the library directory, and run:sudopython3setup.pyinstall(orsudo python3 setup.py installwhichever your primary Python environment may be)In all cases you will have to enable the i2c bus.Documentation & SupportGuides and tutorials -https://learn.pimoroni.com/touch-phatFunction reference -http://docs.pimoroni.com/touchphat/GPIO Pinout -https://pinout.xyz/pinout/touch_phatGet help -http://forums.pimoroni.com/c/supportChangelog0.0.2Enhancement: Migrate to setup.cfg, linting and tidyupEnhancement: Defer setup to avoid import side-effectsBugFix: ValueError now returned on invalid pad number or name, instead of TypeError0.0.1Initial release
Package: touchpoint
Copyright (c) 2020 Zappos PizzaPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Description: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Package: touch-sdk
Touch SDK pyConnects to Doublepoint Touch SDK compatible Bluetooth devices – likethis Wear OS app.There is also aweb SDKand aUnity SDK.Seedoublepoint.com/productfor more info.Installationpipinstalltouch-sdkExample usagefromtouch_sdkimportWatchclassMyWatch(Watch):defon_tap(self):print('Tap')watch=MyWatch()watch.start()UsageAll callback functions should be methods in the class that inheritsWatch, like in the example above.An optional name string in the constructor will search only for devices with that name (case insensitive).watch=MyWatch('fvaf')Tap gesturedefon_tap(self):print('tap')Sensorsdefon_sensors(self,sensors):print(sensors.acceleration)# (x, y, z)print(sensors.gravity)# (x, y, z)print(sensors.angular_velocity)# (x, y, z)print(sensors.orientation)# (x, y, z, w)print(sensors.magnetic_field)# (x, y, z), or None if unavailableprint(sensors.magnetic_field_calibration)# (x, y, z), or None if unavailableTouch screendefon_touch_down(self,x,y):print('touch down',x,y)defon_touch_up(self,x,y):print('touch up',x,y)defon_touch_move(self,x,y):print('touch move',x,y)defon_touch_cancel(self,x,y):print('touch cancel',x,y)Rotary dialdefon_rotary(self,direction):print('rotary',direction)Outputs +1 for clockwise and -1 for counter-clockwise.Back buttondefon_back_button(self):print('back button')Called when the back button is pressed and released. Wear OS does not support separate button down and button up events for the back button.HapticsThetrigger_haptics(intensity, length)method can be used to initiate one-shot haptic effects on the watch. For example, to drive the haptics motor for 300 ms at 100% intensity onwatch, callwatch.trigger_haptics(1.0, 300).Unexplainable bugsSometimes turning your device's Bluetooth off and on again fixes problems – this has been observed on Linux, Mac and Windows. This is unideal, but those error states are hard to reproduce and thus hard to fix.Pylintpython3-mpylintsrc--rcfile=.pylintrcAdding pylint to pre-commitecho'python3 -m pylint src --rcfile=.pylintrc -sn'>.git/hooks/pre-commit
chmod+x.git/hooks/pre-commit