Skip to main content

ClikUpShift

ClickUp is a cloud based project management / ToDo environment. (url: https://clickup.com/?noRedirect=true).

This Python package adds some functionality that is currently not present.

It allows you to:

  • shift tasks (by a number of days),
  • score tasks (by using 4 custom fields),
  • based on the score give them a priority.

Reference to those custom fields have been hard coded. Therefore, scoring will not work out of the box, shifting tasks should work.

When you add the following fields the code could work, although the field references have been hard coded.

drawing

Install

pip install ClickUpShiftScore

How to use

Load the module and add your API code when you create an instance of CU.

from ClickUpShiftScore.core import *


test = CU("pk_42327425_81VOC277FIDWOA3R8AF8SZ0LH354CP2A")


test.updatetasks("score", 1)
Achter computer of buro
score updated for: 
Python webscrape magister
'value'
Python Development
'value'
Feestje pepijn
Huis
'value'
koffie kalk
score updated for: 
Fix hue
Op pad / Naar Winkel
Gezinsplanning
Projecten

Documentation

Please view this documentation to see the documentation for all modules and functions.

sequenceDiagram
    autonumber
    actor User    
    participant test as test #58; CU
    participant updatetasks as updatetasks #58; test
    participant urlrequest as urlrequest #58; helper 
    participant updatescore as updatescore #58; helper
    participant shiftstartandduedate as shiftstartandduedate #58; helper
    participant updatepriority as updatepriority #58; helper
    User->>test:Init (with API key)
    Note over User, test: User folders stored during init.
    User->>updatetasks: updatetasks("score", 1)
    
    loop folders
        Note over updatetasks, urlrequest: Loop over folders to get the lists
        updatetasks->>urlrequest: urlrequest(folderid)        
        urlrequest->>updatetasks: listdata
        
        loop lists
        Note over updatetasks, urlrequest: Loop over lists to get the tasks
        updatetasks->>urlrequest: urlrequest(listid)
        urlrequest->>updatetasks: taskdata
        Note over updatetasks, updatepriority: for each task in a list one of following options is run [score, shift, priority] 
        autonumber 7
        alt is score
            updatetasks->>updatescore: updatescore(field, task, score)
        autonumber 7
        else is shift
            updatetasks->>shiftstartandduedate: shiftstartandduedate(task, startdate, duedate, dagen, apikey)
        autonumber 7
        else is priority
            updatetasks->>updatepriority: updatepriority(task, score, apikey)
        
            
        end
        
        end
    end
    

Metadata

Release files for ClickUpShiftScore 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ClickUpShiftScore 0.0.1
File Size Uploaded
ClickUpShiftScore-0.0.1.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ClickUpShiftScore 0.0.1
File Interpreter ABI Platform
ClickUpShiftScore-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 21.1 kB

Release files / ClickUpShiftScore-0.0.1.tar.gz

Download URL ClickUpShiftScore-0.0.1.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
33b3300d79f6af8bf50f6e574aba0b3f85bf71b446a470416d5dbc893c3ecf7a
BLAKE2b-256 checksum
How to use checksums
fb66d6a46a31a7ffae0e20fdca25d9d0d10d7c468e137042b1e6c7e073012586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.5

Release files / ClickUpShiftScore-0.0.1-py3-none-any.whl

Download URL ClickUpShiftScore-0.0.1-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f42e945f0088af73015d3233ec77eb689df17d7c1b88ea18818eed4631f22b2
BLAKE2b-256 checksum
How to use checksums
4dd7b13da45c97831d0e6931f137aa4edaa46b58607cd1051dcb70c5ca31a54c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page