Name | async-httpd-data-collector JSON |
Version |
0.2.2
JSON |
| download |
home_page | None |
Summary | Gateway facilitating asyncronous communication between sensory data-emitting devices, InfluxDB and the user. |
upload_time | 2024-07-04 13:49:42 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT License Copyright (c) 2021 InfluxData Permission 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. |
keywords |
arduino
async
collector
data
http
influxdb
json
nodemcu
sensors
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# influx-cli
CLI for managing resources in InfluxDB v2
## Motivation
This repository decouples the `influx` CLI from the OSS `influxdb` codebase. Our goals are to:
1. Make it easier to keep the CLI up-to-date with InfluxDB Cloud API changes
2. Enable faster turn-around on fixes/features that only affect the CLI
3. Allow the CLI to be built & released for a wider range of platforms than the server can support
## Building the CLI
Follow these steps to build the CLI. If you're updating your CLI build, see *Updating openapi* below.
1. Clone this repo (influx-cli) and change to your _influx-cli_ directory.
```
git clone git@github.com:influxdata/influx-cli.git
cd influx-cli
```
2. Build the CLI. The `make` and `make influx` commands write the new binary to `bin/$(GOOS)/influx`.
```
make
```
### Updating openapi
If you change or update your branch, you may also need to update `influx-cli/openapi` and regenerate the client code.
`influx-cli/openapi` is a Git submodule that contains the underlying API contracts and client used by the CLI.
We use [`OpenAPITools/openapi-generator`](https://github.com/OpenAPITools/openapi-generator) to generate
the HTTP client.
To update, run the following commands in your `influx-cli` repo:
1. Update the _openapi_ Git submodule. The following command pulls the latest commits for the branch and all submodules.
`git pull --recurse-submodules`
2. With [Docker](https://docs.docker.com/get-docker/) running locally, regenerate _openapi_.
`make openapi`
3. Rebuild the CLI
`make`
## Running the CLI
After building, use `influx -h` to see the list of available commands.
### Enabling Completions
The CLI supports generating completions for `bash`, `zsh`, and `powershell`. To enable completions for a
single shell session, run one of these commands:
```
# For bash:
source <(influx completion bash)
# For zsh:
source <(influx completion zsh)
# For pwsh:
Invoke-Expression ((influx completion powershell) -join "`n`")
```
To enable completions across sessions, add the appropriate line to your shell's login profile (i.e. `~/.bash_profile`).
## Testing
Run `make test` to run unit tests.
Raw data
{
"_id": null,
"home_page": null,
"name": "async-httpd-data-collector",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "arduino, async, collector, data, http, influxdb, json, nodemcu, sensors",
"author": null,
"author_email": "Piotr Krzysztof Lis <piotrlis555@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/ec/a3/921263861f571ab8da973c09416134b4de19d9aeab5960c95a8749796df2/async_httpd_data_collector-0.2.2.tar.gz",
"platform": null,
"description": "# influx-cli\n\nCLI for managing resources in InfluxDB v2\n\n## Motivation\n\nThis repository decouples the `influx` CLI from the OSS `influxdb` codebase. Our goals are to:\n1. Make it easier to keep the CLI up-to-date with InfluxDB Cloud API changes\n2. Enable faster turn-around on fixes/features that only affect the CLI\n3. Allow the CLI to be built & released for a wider range of platforms than the server can support\n\n## Building the CLI\n\nFollow these steps to build the CLI. If you're updating your CLI build, see *Updating openapi* below.\n1. Clone this repo (influx-cli) and change to your _influx-cli_ directory.\n\n ```\n git clone git@github.com:influxdata/influx-cli.git\n cd influx-cli\n ```\n \n2. Build the CLI. The `make` and `make influx` commands write the new binary to `bin/$(GOOS)/influx`.\n \n ```\n make\n ```\n \n### Updating openapi\n\nIf you change or update your branch, you may also need to update `influx-cli/openapi` and regenerate the client code.\n`influx-cli/openapi` is a Git submodule that contains the underlying API contracts and client used by the CLI.\nWe use [`OpenAPITools/openapi-generator`](https://github.com/OpenAPITools/openapi-generator) to generate\nthe HTTP client.\n\nTo update, run the following commands in your `influx-cli` repo:\n\n1. Update the _openapi_ Git submodule. The following command pulls the latest commits for the branch and all submodules.\n\n `git pull --recurse-submodules`\n \n2. With [Docker](https://docs.docker.com/get-docker/) running locally, regenerate _openapi_.\n\n `make openapi`\n \n3. Rebuild the CLI\n\n `make`\n \n## Running the CLI\n\nAfter building, use `influx -h` to see the list of available commands.\n\n### Enabling Completions\n\nThe CLI supports generating completions for `bash`, `zsh`, and `powershell`. To enable completions for a\nsingle shell session, run one of these commands:\n```\n# For bash:\nsource <(influx completion bash)\n# For zsh:\nsource <(influx completion zsh)\n# For pwsh:\nInvoke-Expression ((influx completion powershell) -join \"`n`\")\n```\nTo enable completions across sessions, add the appropriate line to your shell's login profile (i.e. `~/.bash_profile`).\n\n## Testing\n\nRun `make test` to run unit tests.\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2021 InfluxData Permission 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.",
"summary": "Gateway facilitating asyncronous communication between sensory data-emitting devices, InfluxDB and the user.",
"version": "0.2.2",
"project_urls": {
"Issues": "https://github.com/straightchlorine/async-httpd-data-collector/issues",
"Repository": "https://github.com/straightchlorine/async-httpd-data-collector"
},
"split_keywords": [
"arduino",
" async",
" collector",
" data",
" http",
" influxdb",
" json",
" nodemcu",
" sensors"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ee7c5b6ade2200f9acaa1869ebc3914760b2028d60f469be83f86e54e96fa0f9",
"md5": "153d4f34d9e31fe8c14c9f7b43fbb4d9",
"sha256": "5dac0a9bf159ff1b2def5118328d296589c2d26905544571278c1ee19e23958c"
},
"downloads": -1,
"filename": "async_httpd_data_collector-0.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "153d4f34d9e31fe8c14c9f7b43fbb4d9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 10988,
"upload_time": "2024-07-04T13:49:40",
"upload_time_iso_8601": "2024-07-04T13:49:40.351126Z",
"url": "https://files.pythonhosted.org/packages/ee/7c/5b6ade2200f9acaa1869ebc3914760b2028d60f469be83f86e54e96fa0f9/async_httpd_data_collector-0.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "eca3921263861f571ab8da973c09416134b4de19d9aeab5960c95a8749796df2",
"md5": "23e9fb80c394320ab7d48edc15db2f4d",
"sha256": "7c384b19e7647618bf12567422a299d1fc6f5fdb05b8d7f7cff727b4ead14580"
},
"downloads": -1,
"filename": "async_httpd_data_collector-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "23e9fb80c394320ab7d48edc15db2f4d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 23245293,
"upload_time": "2024-07-04T13:49:42",
"upload_time_iso_8601": "2024-07-04T13:49:42.016163Z",
"url": "https://files.pythonhosted.org/packages/ec/a3/921263861f571ab8da973c09416134b4de19d9aeab5960c95a8749796df2/async_httpd_data_collector-0.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-04 13:49:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "straightchlorine",
"github_project": "async-httpd-data-collector",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "async-httpd-data-collector"
}