Skip to main content
PyPI-Server Build Status

Pinkman

To use pinkman, follow the following steps:

  1. Create a python virtual environment or use system wide environment

$ python3 -m venv venv
$ source venv/bin/activate
  1. Install pinkman package with pip.

$ pip install pinkman
  1. Create the config file.

server:
  hostname: localhost
  port: 1025

cache:
  type: sqlite
  path: /tmp/pinkman.db

backend:
  type: http
  method: post
  url: https://pinkman.free.beeceptor.com
  apikey: 5ab99869-f403-4481-bed6-da7c8aad7521
  1. Run the pinkman server.

$ pinkman server run -c /etc/config.pinkman.prod.yml
  1. Run the pinkman worker.

$ pinkman worker run -c /etc/config.pinkman.prod.yml
  1. Forward packets from port 1025 to port 25.

$ iptables -t nat -A PREROUTING -p tcp --dport 1025 -j REDIRECT --to-port 25

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pinkman-0.1.7.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pinkman-0.1.7-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file pinkman-0.1.7.tar.gz.

File metadata

  • Download URL: pinkman-0.1.7.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pinkman-0.1.7.tar.gz
Algorithm Hash digest
SHA256 47e86bc251748f0b8c37c79fa5081849620126a40dec3015dde25a84ac59bf8f
MD5 f032728f753249c2051dd1a94ad0ae02
BLAKE2b-256 540f8fd656293dc6f59b82c6c4c6988251c08a9fdb90f360b986d20e36273c21

See more details on using hashes here.

File details

Details for the file pinkman-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: pinkman-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pinkman-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0100d7da0a5c821a0035b9633bc732e41b40120ab1d8f3efa15296edb7ec0370
MD5 2d0bc6d715071bcc5d0553665f0d38a0
BLAKE2b-256 79e3be88b2db07ef5f67a076d153d2ceb00791e40dd1dc91912a92d8a924b72e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page