Saravanan666/pypi-org huggingface dataset:
Package: tap-krow
tap-krowtap-krowis a Singer tap for the KROW API.Built with the MeltanoSDKfor Singer Taps.Entity relationship diagram is available athttps://dbdiagram.io/d/60b954d1b29a09603d17e3b3Installationpipxinstalltap-krowConfigurationAccepted Config OptionsA full list of supported settings and capabilities for this
tap is available by running:tap-krow--aboutapi_key
: The KROW API key. This value is used to authenticate with the API by passing it to the headerAuthentication: Bearer <api_key>api_url_base
: The KROW API base URL. Defaults tohttps://industry-staging.herokuapp.com/v1Source Authentication and AuthorizationYou can get an API key by contacting KROWUsageYou can easily runtap-krowby itself or in a pipeline usingMeltano.Executing the Tap Directlytap-krow--version
tap-krow--help
tap-krow--configCONFIG--discover>./catalog.jsonDeveloper ResourcesInitialize your Development Environmentpipxinstallpoetry
poetryinstallCreate and Run TestsCreate tests within thetap_krow/testssubfolder and
then run:poetryrunpytestYou can also test thetap-krowCLI interface directly usingpoetry run:poetryruntap-krow--helpManual test runCreate a config file that contains aapi_keyproperty, then runpoetryruntap-krow--configconfig.jsonRelease new versionWorkflows in the.githubwill create a new version number using Semantic Release.Any commit that starts withfeat: ...will create a new minor version (and any comment that starts withfix: ...will create a new minor version) when the commit is finally merged to main after a PR is approved and merged.Then the new version is published to PyPI, available athttps://pypi.org/project/tap-krow/.Testing withMeltanoNote:This tap will work in any Singer environment and does not require Meltano.
Examples here are for convenience and to streamline end-to-end orchestration scenarios.Your project comes with a custommeltano.ymlproject file already created. Open themeltano.ymland follow any"TODO"items listed in
the file.Next, install Meltano (if you haven't already) and any needed plugins:# Install meltanopipxinstallmeltano# Initialize meltano within this directorycdtap-krow
meltanoinstallCreate a file.envwith the contents:export TAP_KROW_API_KEY=<api_key value here>Now you can test and orchestrate using Meltano:# Test invocation:meltanoinvoketap-krow--version# OR run a test `elt` pipeline:meltanoelttap-krowtarget-jsonlSDK Dev GuideSee thedev guidefor more instructions on how to use the SDK to
develop your own taps and targets.
Package: tapmap
TapMapGenerate high-quality, customizable keyboard heatmaps with a single command.Installation:Usepip install tapmapto install the package.Usage:tapmap --helpwill produce the following help message:usage: tapmap [-h] [-d D] [-c C] input_file output_file

Generate a keyboard heatmap from a text file.

positional arguments:
  input_file   the name of the file to process
  output_file  the name of the .png file to output

optional arguments:
  -h, --help   show this help message and exit
  -d D         dpi of the output image (defaults to 600)
  -c C         matplotlib cmap argument:
               https://matplotlib.org/users/colormaps.html (defaults to
               "viridis")To generate a keyboard heatmapmap.pngfrom an input fileinput.txt, use:tapmap input.txt map.pngTapMap also supports all matplotlib colormaps:tapmap input.txt map.png -c winterThere are 79 colormaps to choose from, take your pick fromthe matplotlib reference.
Package: tap-messagebird
tap-messagebirdMessagebird tap class.Built with theMeltano Singer SDK.Capabilitiescatalogstatediscoveraboutstream-mapsschema-flatteningSettingsSettingRequiredDefaultDescriptionapi_keyTrueNoneThe token to authenticate against the API service. Test keys are not supported for Conversations seehttps://support.messagebird.com/hc/en-us/articles/360000670709-What-is-the-difference-between-a-live-key-and-a-test-key-start_dateFalsenow -3 yearsWhen to pull records starting at what date. ISO8601 format of date, defaults to 3 years ago.stream_mapsFalseNoneConfig object for stream maps capability. For more information check outStream Maps.stream_map_configFalseNoneUser-defined config values to be used within map expressions.flattening_enabledFalseNone'True' to enable schema flattening and automatically expand nested properties.flattening_max_depthFalseNoneThe max depth to flatten schemas.A full list of supported settings and capabilities is available by running:tap-messagebird --aboutInstallationInstall from PyPi:pipxinstalltap-messagebirdConfigure using environment variablesThis Singer tap will automatically import any environment variables within the working directory's.envif the--config=ENVis provided, such that config values will be considered if a matching
environment variable is set either in the terminal context or in the.envfile.Source Authentication and AuthorizationNote that Conversations do not work without a Production API keyUsageYou can easily runtap-messagebirdby itself or in a pipeline usingMeltano.Executing the Tap Directlytap-messagebird--version
tap-messagebird--help
tap-messagebird--configCONFIG--discover>./catalog.jsonDeveloper ResourcesFollow these instructions to contribute to this project.Initialize your Development Environmentpipxinstallpoetry
poetryinstallCreate and Run TestsCreate tests within thetap_messagebird/testssubfolder and
then run:poetryrunpytestYou can also test thetap-messagebirdCLI interface directly usingpoetry run:poetryruntap-messagebird--helpTesting withMeltanoNote:This tap will work in any Singer environment and does not require Meltano.
Examples here are for convenience and to streamline end-to-end orchestration scenarios.Next, install Meltano (if you haven't already) and any needed plugins:# Install meltanopipxinstallmeltano# Initialize meltano within this directorycdtap-messagebird
meltanoinstallNow you can test and orchestrate using Meltano:# Test invocation:meltanoinvoketap-messagebird--version# OR run a test `elt` pipeline:meltanoelttap-messagebirdtarget-jsonlSDK Dev GuideSee thedev guidefor more instructions on how to use the SDK to
develop your own taps and targets.
Package: tap-neon
tap-neonSinger tap for Neon Serverless Postgres.Built with theMeltano Singer SDK.Capabilitiescatalogstatediscoveraboutstream-mapsschema-flatteningSettingsSettingRequiredDefaultDescriptionapi_keyTrueNoneAPI Key for Neon Serverless Postgresstart_dateFalseNoneEarliest datetime to get data fromstream_mapsFalseNoneConfig object for stream maps capability. For more information check outStream Maps.stream_map_configFalseNoneUser-defined config values to be used within map expressions.flattening_enabledFalseNone'True' to enable schema flattening and automatically expand nested properties.flattening_max_depthFalseNoneThe max depth to flatten schemas.A full list of supported settings and capabilities is available by running:tap-neon --aboutSource Authentication and AuthorizationRead thedocsto learn how to generate an API key.UsageYou can easily runtap-neonby itself or in a pipeline usingMeltano.Executing the Tap Directlytap-neon--version
tap-neon--help
tap-neon--configCONFIG--discover>./catalog.jsonDeveloper ResourcesInitialize your Development EnvironmentpipxinstallhatchCreate and Run TestsRun integration tests:hatchruntest:integrationYou can also test thetap-neonCLI interface directly:hatchrunsync:console----about--format=jsonTesting withMeltanoNote:This tap will work in any Singer environment and does not require Meltano.
Examples here are for convenience and to streamline end-to-end orchestration scenarios.Your project comes with a custommeltano.ymlproject file already created. Go ahead andinstall Meltanoif you haven't already.Install all pluginsmeltanoinstallCheck that the extractor is working properlymeltanoinvoketap-neon--versionExecute an ELT pipelinemeltanoruntap-neontarget-jsonl
Package: tap-norwaycitybikeapi
tap-norwaycitybikeapitap-norwaycitybikeapiis a Singer tap for theTrondheim,OsloandBergenCity Bike APIs.Built with theMeltano Tap SDKfor Singer Taps.NoteThe City Bike APIs are published under theNorwegian Licence for Open Government Data (NLOD) 2.0.Capabilitiescatalogstatediscoveraboutstream-mapsschema-flatteningInstallationInstall from PyPi:pipxinstalltap-norwaycitybikeapiInstall from GitHub:pipxinstallgit+https://github.com/andrejakobsen/tap-norwaycitybikeapi.git@mainConfigurationThere are two important configurations that need to be set to use this extractor:client_identifierandcity_nameThis can be done with the commandsmeltanoconfigtap-norwaycitybikeapisetclient_identifier[value]andmeltanoconfigtap-norwaycitybikeapisetcity_name[value]Accepted Config OptionsSettingRequiredDefaultDescriptionclient_identifierTrueNoneThe value should contain your company/organization name, follwed by a dash and the application's name.city_nameTrueosloName of Norwegian city having City Bikes. Currently only available for Trondheim, Oslo and Bergen.stream_mapsFalseNoneConfig object for stream maps capability. For more information check outStream Maps.stream_map_configFalseNoneUser-defined config values to be used within map expressions.flattening_enabledFalseNone'True' to enable schema flattening and automatically expand nested properties.flattening_max_depthFalseNoneThe max depth to flatten schemas.A full list of supported settings and capabilities for this
tap is available by running:tap-norwaycitybikeapi--aboutConfigure using environment variablesThis Singer tap will automatically import any environment variables within the working directory's.envif the--config=ENVis provided, such that config values will be considered if a matching
environment variable is set either in the terminal context or in the.envfile.UsageYou can easily runtap-norwaycitybikeapiby itself or in a pipeline usingMeltano.Executing the Tap Directlytap-norwaycitybikeapi--version
tap-norwaycitybikeapi--help
tap-norwaycitybikeapi--configCONFIG--discover>./catalog.jsonDeveloper ResourcesFollow these instructions to contribute to this project.Initialize your Development Environmentpipxinstallpoetry
poetryinstallCreate and Run TestsCreate tests within thetestssubfolder and
then run:poetryrunpytestYou can also test thetap-norwaycitybikeapiCLI interface directly usingpoetry run:poetryruntap-norwaycitybikeapi--helpTesting withMeltanoNote:This tap will work in any Singer environment and does not require Meltano.
Examples here are for convenience and to streamline end-to-end orchestration scenarios.Next, install Meltano (if you haven't already) and any needed plugins:# Install meltanopipxinstallmeltano# Initialize meltano within this directorycdtap-norwaycitybikeapi
meltanoinstallNow you can test and orchestrate using Meltano:# Test invocation:meltanoinvoketap-norwaycitybikeapi--version# OR run a test `elt` pipeline:meltanoelttap-norwaycitybikeapitarget-jsonlSDK Dev GuideSee thedev guidefor more instructions on how to use the SDK to
develop your own taps and targets.
Package: tapo
TapoUnofficial Tapo API Client. Works with TP-Link Tapo smart devices. Tested with light bulbs (L510, L520, L530, L610, L630), light strips (L900, L920, L930), plugs (P100, P105, P110, P115), hubs (H100), switches (S200B) and sensors (KE100, T100, T110, T300, T310, T315).Device support✓ - Rust only✅ - Rust and PythonFeatureGenericDeviceL510, L520, L610L530, L630, L900L920, L930P100, P105P110, P115device_reset✅✅✓✅✅get_current_power✅get_device_info✅✅✅✓✅✅get_device_info_json✅✅✅✓✅✅get_device_usage✅✅✓✅✅get_energy_data✅get_energy_usage✅off✅✅✅✓✅✅on✅✅✅✓✅✅set_brightness✅✅✓set_color✅✓set_color_temperature✅✓set_hue_saturation✅✓set_lighting_effect✓set() API *✅✓* Theset()API allows multiple properties to be set in a single request.Hub (H100) SupportFeatureKE100S200BT100T110T300T310, T315get_device_info *✓✓✓✓✓✓get_device_info_json✓✓✓✓✓✓get_temperature_humidity_records✓get_trigger_logs✓✓✓✓set_child_protection✓set_frost_protection✓set_max_control_temperature✓set_min_control_temperature✓set_target_temperature✓set_temperature_offset✓* Obtained by callingget_child_device_liston the hub device orget_device_infoon a child handler.RustUsageCargo.toml[dependencies]tapo="0.7"main.rsletdevice=ApiClient::new("<tapo-username>","tapo-password")?.p110("<device ip address>").await?;device.on().await?;ExamplesexportTAPO_USERNAME=exportTAPO_PASSWORD=exportIP_ADDRESS=cargorun--exampletapo_l530See all examples in/tapo/examples.Wrapper REST APItapo-restis a REST wrapper of this library that can be deployed as a service or serve as an advanced example.PythonUsagepipinstalltapoclient=ApiClient("<tapo-username>","tapo-password")device=awaitclient.p110("<device ip address>")awaitdevice.on()Examplescdtapo-py
poetryinstall
poetryshellexportTAPO_USERNAME=exportTAPO_PASSWORD=exportIP_ADDRESS=pythonexamples/tapo_p110.pySee all examples in/tapo-py/examples.ContributingContributions are welcome and encouraged! See/CONTRIBUTING.md.Troubleshooting1. Installing openssl on WindowsWith chocolateychocoinstallopenssl[System.Environment]::SetEnvironmentVariable('OPENSSL_DIR',$Env:Programfiles+"\OpenSSL-Win64","User")or with vcpkggitclonegit@github.com:microsoft/vcpkg.gitcdvcpkg./bootstrap-vcpkg.bat./vcpkg.exeinstallopenssl-windows:x64-windows./vcpkg.exeinstallopenssl:x64-windows-static./vcpkg.exeintegrateinstall[System.Environment]::SetEnvironmentVariable('OPENSSL_DIR',(Get-Location).Path+"\installed\x64-windows-static","User")CreditsInspired bypetretiandrea/plugp100.
Package: tapo-forky
Plug P100This is a fork of original work of@K4CZP3RThe purpose of this fork is to provide the library as PyPi package.How to installpip install plugp100Code exampleimportasyncioimportosfromplugp100.api.light_effect_presetimportLightEffectPresetfromplugp100.api.tapo_clientimportTapoClientfromplugp100.common.credentialsimportAuthCredentialfromplugp100.discovery.arp_lookupimportArpLookupfromplugp100.discovery.tapo_discoveryimportTapoDiscoveryasyncdefmain():# print("Scanning network...")# discovered_devices = list(TapoDiscovery.scan(5))# for x in discovered_devices:#     print(x)# if len(discovered_devices) > 0:#     print("Trying to lookup with mac address")#     lookup = await ArpLookup.lookup(#         discovered_devices[0].mac.replace("-", ":"),#         "192.168.1.0/24",#         allow_promiscuous=False,#     )#     print(lookup)# create generic tapo apiusername=os.getenv("USERNAME","<tapo_email>")password=os.getenv("PASSWORD","<tapo_password>")credentials=AuthCredential(username,password)client=TapoClient.create(credentials,"<tapo_device_ip>")print(awaitclient.get_device_info())print(awaitclient.get_energy_usage())print(awaitclient.get_current_power())print(awaitclient.get_child_device_list())print(awaitclient.get_child_device_component_list())print(awaitclient.set_lighting_effect(LightEffectPreset.Aurora.to_effect()))# plug = PlugDevice(TapoClient(username, password), "<tapo_device_ip>")# light = LightDevice(TapoClient(username, password), "<tapo_device_ip>")# ledstrip = LedStripDevice(TapoClient(username, password), "<tapo_device_ip>")# - hub example# hub = HubDevice(client)# print(await hub.get_children())# print(await hub.get_state_as_json())if__name__=="__main__":loop=asyncio.new_event_loop()loop.run_until_complete(main())loop.run_until_complete(asyncio.sleep(0.1))loop.close()
Package: tap-openexchangerates
tap-openexchangeratestap-openexchangeratesis a Singer tap for openexchangerates.Built with theMeltano Tap SDKfor Singer Taps.ConfigurationAccepted Config OptionsA full list of supported settings and capabilities for this
tap is available by running:tap-openexchangerates--aboutConfigure using environment variablesThis Singer tap will automatically import any environment variables within the working directory's.envif the--config=ENVis provided, such that config values will be considered if a matching
environment variable is set either in the terminal context or in the.envfile.Source Authentication and AuthorizationUsageYou can easily runtap-openexchangeratesby itself or in a pipeline usingMeltano.Executing the Tap Directlytap-openexchangerates--version
tap-openexchangerates--help
tap-openexchangerates--configCONFIG--discover>./catalog.jsonDeveloper ResourcesFollow these instructions to contribute to this project.Initialize your Development Environmentpipxinstallpoetry
poetryinstallCreate and Run TestsCreate tests within thetestssubfolder and
then run:poetryrunpytestYou can also test thetap-openexchangeratesCLI interface directly usingpoetry run:poetryruntap-openexchangerates--helpTesting withMeltanoNote:This tap will work in any Singer environment and does not require Meltano.
Examples here are for convenience and to streamline end-to-end orchestration scenarios.Next, install Meltano (if you haven't already) and any needed plugins:# Install meltanopipxinstallmeltano# Initialize meltano within this directorycdtap-openexchangerates
meltanoinstallNow you can test and orchestrate using Meltano:# Test invocation:meltanoinvoketap-openexchangerates--version# OR run a test `elt` pipeline:meltanoelttap-openexchangeratestarget-jsonlSDK Dev GuideSee thedev guidefor more instructions on how to use the SDK to
develop your own taps and targets.
Package: tap-ordway
tap-ordwayThis is aSingertap that produces JSON-formatted data
following theSinger
spec.This tap:Pulls raw data fromOrdwayLabsExtracts the following resources:billing_runsbilling_scheduleschargeschart_of_accountscontactscouponscreditscustomer_notescustomersinvoicesorderspayment_methodspayment_runspaymentsplansproductsrefundsrevenue_rulesrevenue_schedulesstatementssubscriptionsusageswebhooksOutputs the schema for each resourceIncrementally pulls data based on the input stateInstallationRequirementsPython 3.6+mkvirtualenvpipStepsRun following commands on terminal from the project directorypython3-mvenv~/.virtualenvs/tap-ordwaysource~/.virtualenvs/tap-ordway/bin/activate
pipinstall-e.To Run$ source ~/.virtualenvs/tap-ordway/bin/activate$ tap-ordway -c config.json --catalog catalog.json -s state.jsonYou can generate the catalog.json by following command:$ tap-ordway -c config.json --discover > catalog.jsonThe sample config JSON is format is given below:{"company":"Rocky","user_email":"me@example.com","user_token":"123usertoken","api_key":"123secret","start_date":"2019-12-01"}Thestart_dateindicates the data at which the tap should start syncing data when no bookmark exists in the state for that particular stream.The following configuration keys are optional:staging- Whether or not to use the staging environment (staging.ordwaylabs.com)api_version- Which Ordwaylabs API version to use (e.g. "v1")api_url- An alternative URL to which the API requests will be made (e.g. "https://localhost:3000/v1/"). When specified, it will take precendence overstagingandapi_version.rate_limit_rps- The amount of requests to allow per second (defaults tonull, disabling rate limiting)The State JSON should be passed by user.
The Tap will be printing the STATE message, the last state message should send when running next time.Sample JSON:{"currently_syncing":"credits","bookmarks":{"credits":{"updated_date":"2020-11-14T05:59:48.842000Z"}}}TestingInstall the dev extra requirementspipinstall.[dev]Execute tox with the default environments:py36,py37,py38, andtype(for static type checking via mypy)toxAdditionally, you can generate aCoveragereport by using thecoverageenvironment:tox-ecoverageFor more information on tox, please refer to itsdocumentation.Testing with singer-check-tapsinger-check-tapis a tool for testing whether or not a tap adheres to the Singer specification. For more information, please review itsdocumentation.Install thesinger-toolspackagepipinstallsinger-toolsExecute singer-check-tapsinger-check-tap--taptap-ordway--configconfig.jsonIn this mode, singer-check-tap will execute the tap itself, run it in discover mode to generate a catalog, perform a stateless run and a stateful run, and validate the tap's output.If you need to test with a modified catalog, you can do so by piping the tap's output directly into singer-check-tap like so:tap-ordway--configconfig.json--catalogcatalog.json|singer-check-tapCopyright © 2020 Stitch
Package: taposockets
TaposocketsA python library for accessing Tapo smart socketsInstall required librariespipinstalltaposocketRequired plugin for pre-commit hookpre-commitinstall--hook-typepre-commit--hook-typepre-pushTest the codepytest-s-vtest.pyOther required toolsdockeranddocker-composeUsageimportosfromdotenvimportload_dotenvfromtaposocketsimportP100,P115if__name__=="__main__":load_dotenv()p100=P100(os.environ.get("address"),os.environ.get("user"),os.environ.get("password"))p115=P115(os.environ.get("address"),os.environ.get("user"),os.environ.get("password"))p100.turn_on()p100.turn_off()p100.toggle_state()p100.turn_on_with_delay(10)p100.turn_off_with_delay(10)print(p100.get_device_info())print(p100.get_device_name())print(p115.get_energy_usage())Start metrics services (Prometheus + Grafana + custom metrics server)cdmetrics&&docker-composeupExample of IP and Port for used serviceshttp://192.168.2.169:3010# Grafanahttp://192.168.2.169:9090# Prometheushttp://192.168.2.169:8989# Custom Prometheus MetricsFig.1 - Set prometheus as datasourceFig.2 - Import dashboard jsonFig.3 - Check promethues for metricsFig.4 - Example prometheus custom metricsFig.5 - Dashboard
Package: tapp
tappAsyncio library for creating applications for
handling events from the user.Documentation:EnglishQuick startInstall:pipinstalltappExample:# !/usr/bin/python# content examples/some.pyimportasynciofromtappimportTAppapp=TApp()@app.route(method="method")asyncdefmethod_handler(message:str,version:str)->None:print(message,version)asyncdefmain()->None:awaitapp("method","message",version="version")if__name__=="__main__":asyncio.run(main())
Package: tap-partnerize
tap-partnerizetap-partnerizeis a Singer tap for Partnerize.Built with theMeltano Tap SDKfor Singer Taps.ConfigurationAccepted Config OptionsA full list of supported settings and capabilities for this
tap is available by running:tap-partnerize--aboutConfigure using environment variablesThis Singer tap will automatically import any environment variables within the working directory's.envif the--config=ENVis provided, such that config values will be considered if a matching
environment variable is set either in the terminal context or in the.envfile.Source Authentication and AuthorizationUsageYou can easily runtap-partnerizeby itself or in a pipeline usingMeltano.Executing the Tap Directlytap-partnerize--version
tap-partnerize--help
tap-partnerize--configCONFIG--discover>./catalog.jsonDeveloper ResourcesFollow these instructions to contribute to this project.Initialize your Development Environmentpipxinstallpoetry
poetryinstallCreate and Run TestsCreate tests within thetap_partnerize/testssubfolder and
then run:poetryrunpytestYou can also test thetap-partnerizeCLI interface directly usingpoetry run:poetryruntap-partnerize--helpTesting withMeltanoNote:This tap will work in any Singer environment and does not require Meltano.
Examples here are for convenience and to streamline end-to-end orchestration scenarios.Next, install Meltano (if you haven't already) and any needed plugins:# Install meltanopipxinstallmeltano# Initialize meltano within this directorycdtap-partnerize
meltanoinstallNow you can test and orchestrate using Meltano:# Test invocation:meltanoinvoketap-partnerize--version# OR run a test `elt` pipeline:meltanoelttap-partnerizetarget-jsonlSDK Dev GuideSee thedev guidefor more instructions on how to use the SDK to
develop your own taps and targets.