Skip to main content

Build

pip install -r requirements.txt
rm -fr dist
python -m build 
python -m twine upload dist/* -u __token__ -p $(PYPI_TOKEN)

configuration

device-name: server992
kafka-config:
  type: 1  # 1 is for default sasl_ssl
  value:
    bootstrap_servers:
      - { host }
    sasl_mechanism: SCRAM-SHA-256
    security_protocol: SASL_SSL
    sasl_plain_username: { username }
    sasl_plain_password: { password }
kafka-config:
   type: 1
   value:
      bootstrap_servers:
         - { host }
      sasl_mechanism: SCRAM-SHA-256
      security_protocol: SASL_SSL
      sasl_plain_username: { username }
      sasl_plain_password: { password }
      consumer:
         group_id: {group-id}
         topic: {topic-name}

Docker

Build

  1. Download the Dockerfile for build
    mkdir sipc
    pushd sipc
    curl https://gist.githubusercontent.com/xh-dev/3359450fd15f843016cc6f0babd8bfc0/raw/Dockerfile -O
    
  2. Create config.yaml base on template in Configuration section.
  3. build the docker image
docker build --no-cache -t sipc:latest .

Execute

push to kafka

docker run --rm -it -v $(pwd)/config.yaml:/app/config.yaml sipc:latest
# or 
# docker run --rm -it -v $(pwd)/config.yaml:/app/config.yaml sipc:latest python -m sipc-xethhung12 --publish

pull from kafka

docker run --rm -it -v $(pwd)/config.yaml:/app/config.yaml sipc:latest python -m sipc-xethhung12 --subscribe

gen env meta file

docker run --rm -it -v $(pwd)/config.yaml:/app/config.yaml sipc:latest python -m sipc-xethhung12 --cast

Metadata

Release files for sipc-xethhung12 0.0.8

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

Source distribution (sdist)

Source distribution for sipc-xethhung12 0.0.8
File Size Uploaded Provenance Actions
sipc_xethhung12-0.0.8.tar.gz 3.0 MB Without provenance Details for sipc_xethhung12-0.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sipc-xethhung12 0.0.8
File Interpreter ABI Platform Actions
sipc_xethhung12-0.0.8-py3-none-any.whl Python 3 none any Details for sipc_xethhung12-0.0.8-py3-none-any.whl

Total release size: 3.0 MB

Release files / sipc_xethhung12-0.0.8.tar.gz

Download URL sipc_xethhung12-0.0.8.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
7b9709cc0ffbde45b1628abf74d20151e402aa1a984790bbe9fac9702fde2622
BLAKE2b-256 checksum
How to use checksums
16dbd1dcefbe00b3dd762e3005d8dc2c37401b8514ffb47bb78b1454b91cfc16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / sipc_xethhung12-0.0.8-py3-none-any.whl

Download URL sipc_xethhung12-0.0.8-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9e098d0e459b4fda029b561ba19e36b6c23771f42bb79d77109d1b7c49230d0
BLAKE2b-256 checksum
How to use checksums
83f6091e880447c51120f2eeb658fb8b4a4942507d3f3824a3a99c735cb9b870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for sipc-xethhung12 0.0.8

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.

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