Skip to main content

Defijn's package providing integrations for various third-party APIs such as Everhour, GitLab and Clickup.

Project description

defijn-integrations

defijn-integrations is a Python package providing convenient integrations with several third-party services including GitLab, Everhour, and ClickUp. This package simplifies the process of interacting with these services by wrapping their APIs into easy-to-use Python functions.

Features

  • GitLab Integration: Manage and interact with GitLab resources like users, groups, and projects directly from your Python code.
  • Everhour Integration: Track time, manage tasks, and retrieve project details seamlessly.
  • ClickUp Integration: Interface with ClickUp to manage tasks, spaces, and more.

Installation

Install defijn-integrations using pip:

pip install defijn-integrations

If using Poetry:

poetry add defijn-integrations

Usage

from defijn_integrations.gitlabint import *
from defijn_integrations.everhourint import *
from defijn_integrations.clickupint import *

Building and Publishing

To build and publish defijn-integrations to PyPI, follow these steps using Poetry:

Building the Package

  1. Navigate to the root directory of the project.

  2. Run the following command to build your package:

    poetry build
    

    This command will generate the distribution package in the dist directory.

Publishing the Package

  1. Setting up Authentication for PyPI

    Before you can publish packages to PyPI, you need to authenticate your package upload requests. You can do this by creating a .pypirc file in your home directory with the following content:

    [distutils]
    index-servers =
      pypi
    
    [pypi]
    repository = https://upload.pypi.org/legacy/
    username = __token__
    password = <your-token>
    

    Replace <your-token> with your PyPI token.

  2. Run the following command to publish your package:

     twine upload dist/*
    

    This command will publish your package to PyPI.

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

defijn_integrations-0.1.2.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

defijn_integrations-0.1.2-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

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