Skip to main content

Replicate ClickUp Database to a SQL Table.

Project description

ClickUp to SQL

DeepSource DeepSource

Replicate ClickUp Database to a SQL Table.

Developed by Dipan Nanda (c) 2023

Example of Usage

from clickuptosql import Migrate2Sql
from etl_encrypt import get_clickup_api_key
from sqlalchemy.types import NVARCHAR

spaces = None
attributes = None 
# None selects every attribute by default
# spaces = [<-- LIST OF SPACE_ID'S -->]
# attributes = [<-- LIST OF ATTRIBUTES -->]

api_key = '<-- YOUR API KEY -->'
server = '<-- SERVER NAME -->'  
database = '<-- DATABASE NAME -->'
username = '<-- YOUR USERNAME -->'
password = '<-- YOUR PASSWORD -->'
driver = '<-- SQL DRIVER -->'
sql_string = f'{username}:{password}@{server}/{database}?driver={driver}'
dtype = {'id': NVARCHAR(length=50)}

helper = Migrate2Sql(clickup_api_token=api_key, spaces=spaces, optimise=True, 
                     attribute_values=attributes, sql_connection=sql_string, dtype=dtype)
helper.start()

Changelog

Go here to checkout the complete changelog.

License

This is under GNU GPL v3.0 License

License: GPL v3

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

clickuptosql-1.1.0.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

clickuptosql-1.1.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file clickuptosql-1.1.0.tar.gz.

File metadata

  • Download URL: clickuptosql-1.1.0.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for clickuptosql-1.1.0.tar.gz
Algorithm Hash digest
SHA256 626c061d5532555aeccb6e58122abbb402546a1827b21a3ec6c2ac47cd6d877b
MD5 aa64a42119a6310a6b1eae547ee59326
BLAKE2b-256 5448d0c11abbe1a31c0ba2b292d9e27004cf2a3668c0ad055baa6275744a2b12

See more details on using hashes here.

File details

Details for the file clickuptosql-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for clickuptosql-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48190851355fea35e1d3ab0c662dce2ff4873f662c3987315e015e161fc2263a
MD5 d8386ec82adbd243d825c4eb463abb84
BLAKE2b-256 d57b5c733e22305f9e961b6a5fe859caa2faedc4f81fd693d61c8864aff03841

See more details on using hashes here.

Supported by

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