An open-source Python library is designed to simplify the process of migrating data to HubSpot, a powerful customer relationship management (CRM) platform. Whether you're moving contacts, companies, deals, or any other data to HubSpot, this library provides an easy-to-use interface for managing your migration tasks.
Project description
🦆 hubmigrate
A Python library for migrating data to HubSpot.
Installation
pip install hubmigrate
Usage
Steps
- Import the
MigrationClientclass from thehubmigrate.clientmodule. - Create an instance of the
MigrationClientclass with the name of the config file and the name of the HubSpot portal. - Import the JSON data file to migrate.
- Call the
migrate_<object>method on theMigrationClientinstance with the object to migrate.
from hubmigrate import HubMigrate
from hubmigrate.client import MigrationClient
import json
client = MigrationClient('config', 'hubspot')
def post_company():
# Create a test contact
with open('hubmigrate/classes/sample_company.json') as f:
company = json.load(f)
# Migrate the contact to HubSpot
response = client.migrate_company({'properties': company})
post_company()
This project is licensed under the MIT License - see the LICENSE file for details.
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 hubmigrate-1.0.1.tar.gz.
File metadata
- Download URL: hubmigrate-1.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b6c0277192b56ada191eef17a2a0e1cc05cfbc5e85ac7769dae318b6a4ef6b8
|
|
| MD5 |
6ab5f161997863c4438a68accbeda24e
|
|
| BLAKE2b-256 |
5e7b817b9c5a5c30b0072fad3066ee206936a4b33a17b83a1289a82dd9837628
|
File details
Details for the file hubmigrate-1.0.1-py3-none-any.whl.
File metadata
- Download URL: hubmigrate-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed70d22b2d00b0c8bb4a8b5be28149a0c4f3d833dc8c59fbb6d71c3b120e402e
|
|
| MD5 |
72c1267d7561a1ce48ce4d549e78c183
|
|
| BLAKE2b-256 |
24e50edc508f4c3f7c6d3262bc2649665f499a64a52f8699a10fabd4c2e1571e
|