A server for integrating with HubSpot using Flask and Celery
Project description
HubSpot Integration Core
Overview
The HubSpot Integration Core serves as the foundational framework for building modular, reusable integrations with HubSpot and potentially other platforms, such as PlaceholderSyncTarget. This core handles essential functionalities like OAuth authentication, database connectivity, and webhook processing, allowing specific integrations to focus on custom logic and business-specific requirements.
Design Philosophy
- Modularity: The structure promotes separation of concerns, where core functionalities are encapsulated within this core, reducing redundancy across specific integrations.
- Scalability: By abstracting common logic to a core library, new integrations can be quickly developed and deployed.
- Extensibility: Designed to be extended for additional services or webhook handling, allowing developers to customize and build upon the existing core.
Features
- OAuth Authentication: Simplifies handling authentication processes with HubSpot and stores tokens securely.
- Database Management: Uses SQLAlchemy for ORM, facilitating database interactions and migrations.
- Webhook Handlers: Provides base handlers for managing incoming requests from HubSpot, expandable for other services.
Installation and Setup
-
Clone the Repository:
git clone <core-repo-url> cd hubspot_integration_core
-
Install Dependencies:
pip install -r requirements.txt
-
Set Up Environment Variables:
Define environment configurations in a .env file.
-
Run Database Migrations:
python -m app.init_db -
Start the Application:
Launch the application using Docker Compose:
```bash
docker-compose up --build
```
Usage Notes
This core is intended to be used in tandem with specific integrations that implement additional service-specific logic. Developers should structure their integration following a similar modular design, utilizing this core for widespread reusable components.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hubspot_integration_server-0.1.1.tar.gz.
File metadata
- Download URL: hubspot_integration_server-0.1.1.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08cb3b2004dd61009f3a5c3243b2295ed6c19f5c9a771f7cef07bc561a29401c
|
|
| MD5 |
691da825eeac6b37512debc663262a33
|
|
| BLAKE2b-256 |
2e730a1f372767109d4deae67c082d3f045d477e6f5ae84acc642a8ce8db4dc6
|
File details
Details for the file hubspot_integration_server-0.1.1-py3-none-any.whl.
File metadata
- Download URL: hubspot_integration_server-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93ce1be67c805fd2884625e2c4d2d8cdb990bddbc3032148f43a45933a3ed338
|
|
| MD5 |
921e81636ec027899230d27747f78ad9
|
|
| BLAKE2b-256 |
ecf2035bc53dabc1fdc29970d6f019c925a90deb3251a05051b08790236f9cd0
|