Skip to main content

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

  1. Clone the Repository:

    git clone <core-repo-url>
    cd hubspot_integration_core
    
  2. Install Dependencies:

    pip install -r requirements.txt
    
  3. Set Up Environment Variables:

Define environment configurations in a .env file.

  1. Run Database Migrations:

    python -m app.init_db
    
  2. 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


Download files

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

Source Distribution

hubspot_integration_server-0.1.1.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

hubspot_integration_server-0.1.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file hubspot_integration_server-0.1.1.tar.gz.

File metadata

File hashes

Hashes for hubspot_integration_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 08cb3b2004dd61009f3a5c3243b2295ed6c19f5c9a771f7cef07bc561a29401c
MD5 691da825eeac6b37512debc663262a33
BLAKE2b-256 2e730a1f372767109d4deae67c082d3f045d477e6f5ae84acc642a8ce8db4dc6

See more details on using hashes here.

File details

Details for the file hubspot_integration_server-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hubspot_integration_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93ce1be67c805fd2884625e2c4d2d8cdb990bddbc3032148f43a45933a3ed338
MD5 921e81636ec027899230d27747f78ad9
BLAKE2b-256 ecf2035bc53dabc1fdc29970d6f019c925a90deb3251a05051b08790236f9cd0

See more details on using hashes here.

Supported by

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