__ __ __
.--.--.--|__.-----| |--| |--.-----.-----.-----.
| | | | |__ --| | _ | _ | | -__|
|________|__|_____|__|__|_____|_____|__|__|_____|
version 2.1.2
Build composable event pipeline servers with minimal effort.
==================
wishbone.input.tcp
==================
Version: 1.0.0
Receive data over a TCP socket.
-------------------------------
Receive data over a TCP socket.
Parameters:
- address(str)("0.0.0.0")
| The address to bind to.
- port(int)(19283)
| The port to bind to.
- delimiter(str)("\n")
| The delimiter which separates multiple
| messages in a stream of data.
- max_connections(int)(0)
| The maximum number of simultaneous
| connections. 0 means "unlimited".
- reuse_port(bool)(False)
| Whether or not to set the SO_REUSEPORT
| socket option. Interesting when starting
| multiple instances and allow them to bind
| to the same port.
| Requires Linux kernel >= 3.9
Queues:
- outbox
| Data coming from the outside world.
**delimiter**
When no delimiter is defined, all incoming data between connect and
disconnect is considered to be 1 event. When a delimiter is defined,
multiple events are extracted out of a data stream using the defined
delimiter. The module will check each line of data whether it ends with
the delimiter. If not the line will be added to an internal buffer. If
so, the delimiter will be stripped of and when there is data left, it will
be added to the buffer after which the buffer will be flushed as one
Wishbone message/event. The advantage is that a client can stay connected
and stream data.
Choosing "\n" as a delimiter, which is the default, each new line is a new event.
Metadata
Release files for wishbone_input_tcp 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wishbone_input_tcp-1.0.0.tar.gz | 4.2 kB | Without provenance | Details for wishbone_input_tcp-1.0.0.tar.gz |
Release files / wishbone_input_tcp-1.0.0.tar.gz
| Download URL | wishbone_input_tcp-1.0.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f55f79267720f60101779e57f7b11a0bb05ef42deaf7f8aa325e09e80b5a8d8f
|
|
BLAKE2b-256 checksum How to use checksums |
12596385f1b5d1f7f4dd06885b0776d894d070834d276749aaebf0d805174479
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for wishbone_input_tcp 1.0.0
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.