villaProductSdk
read and write product information in real time
Install
pip install villaProductSdk
view Documentation
How to use
Uploading a large amount of data using s3
generate dummy data for testing
#Dummy Data
sampleInput = {
"message": "helloWorld",
"roomId": 'C9ba1d024ed36979222a2a2a8f67cfc9a' ,
"accessKey": accessKey
}
Create main class object
from linesdk.linesdk import Line
line = Line(accessKey = sampleInput['accessKey'] )
send message
%%time
line.send(roomId = sampleInput['roomId'] ,message = sampleInput['message'])
CPU times: user 17.3 ms, sys: 5.13 ms, total: 22.4 ms
Wall time: 352 ms
True
LambdaFunction
%%time
line.lambdaSend(sampleInput, _)
CPU times: user 12.8 ms, sys: 1.92 ms, total: 14.7 ms
Wall time: 409 ms
Call a deployed lambda function
%%time
lineLambda = LineLambda(USER, PW)
lineLambda.send(message='hello', roomId = sampleInput['roomId'])
Metadata
Release files for linesdk 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linesdk-0.0.6.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| linesdk-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.8 kB
Release files / linesdk-0.0.6.tar.gz
| Download URL | linesdk-0.0.6.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd77ea2b35f959d24859982b489e44a92dd27640b28ca4786539c4be9b8a62b2
|
|
BLAKE2b-256 checksum How to use checksums |
3841f8cbb4994163a2a264fdd1be9de5654bd0caf67397dbac5f7c7a93e724e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.1.post20200323 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1
|
Release files / linesdk-0.0.6-py3-none-any.whl
| Download URL | linesdk-0.0.6-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
feaf5cc1579905fd8bd0ae0881fd13e1f30003c737d24f7ef937f7605f3551ab
|
|
BLAKE2b-256 checksum How to use checksums |
6c3279aaa36b4aae95fc35b14aeef5d6d4621f9ea05fa8c60ddc4850ab5f8427
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.1.post20200323 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1
|