Skip to main content

lineSdk

read and write product information in real time

Install

pip install linesdk

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'])

Invoke slack

Metadata

Release files for linesdk 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for linesdk 0.0.10
File Size Uploaded
linesdk-0.0.10.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for linesdk 0.0.10
File Interpreter ABI Platform
linesdk-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 20.3 kB

Release files / linesdk-0.0.10.tar.gz

Download URL linesdk-0.0.10.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f4f6edcd6e2efebda7805bf5f18d29f27625f3f36f8d1b5d26b1ad28ecce328d
BLAKE2b-256 checksum
How to use checksums
2f882567232c86bd563aa99b0c25a55e582d7133a262c755035cf09daeda8559
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/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / linesdk-0.0.10-py3-none-any.whl

Download URL linesdk-0.0.10-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d2170fe418a5f0e98babe2ae2155cf882e05cfbfd0555a6e4f34ea95d0ad5d2
BLAKE2b-256 checksum
How to use checksums
cf09abcebde28c9557e4f5367176940f0c9bd5f67dfa454ece7bf4e20742f7bb
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/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release history Release notifications | RSS feed

0.0.11

2 release files

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page