Skip to main content

A description of your project

Project description

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
    

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

ClickUpShiftScore-0.0.1.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

ClickUpShiftScore-0.0.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file ClickUpShiftScore-0.0.1.tar.gz.

File metadata

  • Download URL: ClickUpShiftScore-0.0.1.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.5

File hashes

Hashes for ClickUpShiftScore-0.0.1.tar.gz
Algorithm Hash digest
SHA256 33b3300d79f6af8bf50f6e574aba0b3f85bf71b446a470416d5dbc893c3ecf7a
MD5 d011f681f357bb1c3ac663f898403af2
BLAKE2b-256 fb66d6a46a31a7ffae0e20fdca25d9d0d10d7c468e137042b1e6c7e073012586

See more details on using hashes here.

File details

Details for the file ClickUpShiftScore-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ClickUpShiftScore-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f42e945f0088af73015d3233ec77eb689df17d7c1b88ea18818eed4631f22b2
MD5 60ee6d6f913133870bc7fdc84080525e
BLAKE2b-256 4dd7b13da45c97831d0e6931f137aa4edaa46b58607cd1051dcb70c5ca31a54c

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