Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Clean beautiful customer data. Now in Slack.

https://raw.githubusercontent.com/15five/clearbit-slack-python/master/docs/_static/img/example.png

Installation

Add to your application’s requirements.txt file…

clearbit-slack-python

Or pip install…

$ pip install clearbit-slack-python

Configuration

To use, instantiate a Notifier object with your Slack token, channel, and data dict built from part of the body of the POST request sent by Clearbit.

import json

from clearbit_slack import Notifier


slack_token = 'xoxp-1234567890-6789012345-5432109876-12ab34'
slack_channel = '#signups'
body_data = json.loads(request_body)
attrs = body_data.get('body', {})

notifier = Notifier(slack_token, slack_channel, attrs=attrs)
notifier.notify()

Contributing

  1. Fork it (https://github.com/15five/clearbit-slack-python/fork)

  2. Create your feature branch (git checkout -b my-new-feature)

  3. Commit your changes (git commit -am ‘Add some feature’)

  4. Push to the branch (git push origin my-new-feature)

  5. Create a new Pull Request

Release files for clearbit-slack-python 0.1.1

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

Source distribution (sdist)

Source distribution for clearbit-slack-python 0.1.1
File Size Uploaded
clearbit-slack-python-0.1.1.tar.gz 486.6 kB Details

Release files / clearbit-slack-python-0.1.1.tar.gz

Download URL clearbit-slack-python-0.1.1.tar.gz
Size 486.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d80a0a860121a7cabf9f381c0156debc6be7e918e0a0820f3b8f1371fbaf845a
BLAKE2b-256 checksum
How to use checksums
c2da759c11ede6e436e81fede7599af505575599b9cf803605d31039d3152880
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

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