Aids users in publishing data to a Record Evolution Datapod
Project description
reswarm-py
About
Makes publishing data to a Record Evolution Datapod incredibly easy!
Usage
from asyncio.events import get_event_loop
from reswarm import Reswarm
async def main():
rw = Reswarm(serial_number="7652ee0b-c2cb-466a-b8ee-fec4167bf7ce")
result = await rw.publish('re.meetup.data', {"temperature": 20})
print(result)
if __name__ == "__main__":
get_event_loop().run_until_complete(main())
Options
The Reswarm __init__ function can be configured with the following options:
{
serial_number: string;
}
serial_number: Used to set the serial_number of the device if the DEVICE_SERIAL_NUMBER environment variable does not exist. It can also be used if the user wishes to authenticate as another device.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reswarm-0.0.11.tar.gz.
File metadata
- Download URL: reswarm-0.0.11.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa5490fb5eae9c474c42e9f748596e2e233c220e895d071378655da8a62f1708
|
|
| MD5 |
d97c041c6e69f3fb1e3b4bf1bd1493bf
|
|
| BLAKE2b-256 |
66b5ff7c97295c9f6ab8d20dd46326408f0085902acc855ca99f915068a11327
|
File details
Details for the file reswarm-0.0.11-py3-none-any.whl.
File metadata
- Download URL: reswarm-0.0.11-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23b9794de78cd29faa135f07604dc621a614b528c54e7e82cc3d05f2a445819f
|
|
| MD5 |
2db62ebad451fe2c9fda7ab69bc85c90
|
|
| BLAKE2b-256 |
23ce35c4a3b497adda181e9f1c232fcc4a235b172cf436a3558802e906d2db73
|