Metadata-Version: 2.4
Name: stapel-hubspot
Version: 0.1.0
Summary: HubSpot for Stapel: notes on CRM records from Markdown, connection provider
License: MIT
Project-URL: Homepage, https://github.com/usestapel/stapel-hubspot
Project-URL: Repository, https://github.com/usestapel/stapel-hubspot
Project-URL: Documentation, https://github.com/usestapel/stapel-hubspot#readme
Project-URL: Changelog, https://github.com/usestapel/stapel-hubspot/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/usestapel/stapel-hubspot/issues
Keywords: django,stapel,hubspot
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: stapel-core<1.0,>=0.99.5
Requires-Dist: stapel-integrations-core<1.0,>=0.1.0
Requires-Dist: drf-spectacular>=0.27
Provides-Extra: all
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-django; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Dynamic: license-file

# stapel-hubspot

HubSpot for Stapel: attach notes written in Markdown to contacts, companies and deals, with a `hubspot` connection provider.

## Install

```bash
pip install stapel-hubspot
```
Add `stapel_integrations_core` and `stapel_hubspot` to `INSTALLED_APPS`, mount `path("hubspot/", include("stapel_hubspot.urls"))`.

## Use

```python
from stapel_hubspot import HubSpotClient, StapelHubSpotIntegration, new_marker, parse_record_link

hubspot = StapelHubSpotIntegration(HubSpotClient(access_token))
ref = parse_record_link("https://app.hubspot.com/contacts/123/deal/456")
note_id = hubspot.create_note(ref, "## Summary\n- next step agreed", marker=new_marker("export:42"))
```

See `MODULE.md` for the contract, `CONFIG.MD` for settings, `llms.txt` for agents.

MIT licensed.
