Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

kite-string(凧糸) is Python(2.6-3.4) command-line HTTP request wrapper for takosan .

Installing

For Users

from PyPI

$ pip install kite-string

from Github

$ pip install git+https://github.com/laughk/kite-string.git

Usage

$ kite -h
Usage: kite [OPTIONS] TAKOSAN_URL

Options:
  --version           show the version and exit
  --channel TEXT      Name of notice channel, or id (e.g. #example, @id)
                      [required]
  --name TEXT         set botname
  --color TEXT        set color border along the left side of the message
                      attachment [good|warning|danger|<hex color code>]  (e.g.
                      #439FE0)
  --message TEXT      Simple post messages
  --icon TEXT         set image url or emoji (e.g. :shachikun:)
  --pretext TEXT      This is optional text that appears above the message
                      attachment block
  --author-name TEXT  Small text used to display the author's name
  --author-icon TEXT  A valid URL that displays a small 16x16px image to the
                      left of the author_name text. Will only work if
                      author_name is present
  --author-link TEXT  A valid URL that will hyperlink the `author_name` text
                      mentioned above. Will only work if `author_name` is
                      present
  --title TEXT        The title is displayed as larger, bold text near the top
                      of a message attachment
  --title-link TEXT   By passing a valid URL. the `title` text will be
                      hyperlinked
  --text TEXT         This is the main text in a message attachment, and can
                      contain standard message markup
  --image-url TEXT    A valid URL to an image file that will be displayed
                      inside a message attachment (Slack currently support the
                      following formats: GIF, JPEG, PNG, and BMP.)
  -h, --help          Show this message and exit.

example

Simple Post

$ kite \
> --name 'laugh_k' \
> --icon 'https://pbs.twimg.com/profile_images/498392311491883010/If0DOLYq.jpeg' \
> --channel '@laughk' \
> --text 'hello' \
> http://takosan.example.com:4979

Multi channel Post

$ kite \
> --name 'laugh_k' \
> --icon 'https://pbs.twimg.com/profile_images/498392311491883010/If0DOLYq.jpeg' \
> --channel '#notice_channel1' \
> --channel '#notice_channel2' \
> --text 'hello' \
> http://takosan.example.com:4979

Metadata

Release files for kite-string 0.0.0.dev5

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

Source distribution (sdist)

Source distribution for kite-string 0.0.0.dev5
File Size Uploaded Provenance
kite-string-0.0.0.dev5.tar.gz 3.3 kB Without provenance Details

Release files / kite-string-0.0.0.dev5.tar.gz

Download URL kite-string-0.0.0.dev5.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
228c1d8ea7e72493bfa8a6bd800ae0aadf15cebbeb644acb7b666433d243ddc8
BLAKE2b-256 checksum
How to use checksums
cc9a20704e9b87baba36c170cbb12087f10a826a0af211a04e7ce7dde8d528cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for kite-string 0.0.0.dev5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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