Pipefy manipulator
Project description
PipefyUts
Installation
pip install pipefyUts
Dependencies
This package requires the following dependencies:
- requests
- python-dateutil
These are automatically installed when you install pipefyUts via pip.
GitHub
https://github.com/ZdekPyPi/PipefyUts
Usage
Authentication
from pipefyUts import Pipefy
ORG_ID = "<your_org_id>"
TOKEN = "<your_token>"
pfy = Pipefy(ORG_ID, TOKEN)
Core methods
List organization members
members = pfy.members()
Upload attachment
attachment_path = pfy.createAttachment(file_path="path/to/file.txt")
Download file
downloaded = pfy.downloadFile(file_path="https://...", destination=".")
Get a card
card = pfy.getCard(card_id="<card_id>")
Get a phase
phase = pfy.getPhase(phase_id="<phase_id>")
Get a pipe
pipe = pfy.getPipe(pipe_id="<pipe_id>")
Pipe operations
pipe = pfy.getPipe(pipe_id="<pipe_id>")
fields = pipe.startFormFields()
cards = pipe.cards()
find_cards = pipe.findCards(field_id="cnpj", field_value="12.123.123/1234-12")
phases = pipe.phases()
labels = pipe.labels()
Phase operations
phase = pfy.getPhase(phase_id="<phase_id>")
cards = phase.cards()
Card manipulation
card = pfy.getCard(card_id="<card_id>")
card.move(phase_id="<phase_id>")
card.delete()
fields = card.fields()
card.updateFieldValue(field_id="<field_id>", value="<new_value>")
comments = card.comments()
comment = card.newComment(text="<comment_text>")
labels = card.labels()
card.addLabels(label_ids=["<label_id1>", "<label_id2>"])
card.removeLabels(label_ids=["<label_id1>", "<label_id2>"])
card.removeAllLabels()
card.refresh()
Example: card fields output
fields = card.fields()
{"field_id_1": "value1", "field_id_2": "value2"}
Create card using NewCard
from pipefyUts import Pipefy, NewCard, CardField
ORG_ID = "<your_org_id>"
TOKEN = "<your_token>"
pfy = Pipefy(ORG_ID, TOKEN)
class MyCard(NewCard):
__pipeid__ = "<my_pipe_id>"
__title__ = "<card_title>"
description = CardField(str)
total_ammount = CardField(float)
owners = CardField(list)
files = CardField(list, is_file_path=True)
my_new_card = MyCard(
description="AdtPro",
total_ammount=123.46,
owners=["<owner_id>"],
files=[r".\Doc1.pdf", r".\Doc2.txt"]
)
created = pfy.createCard(card=my_new_card)
print(created)
Example output
Card<My_Card_Title>
CardField helpers
CardField(str)for text fieldsCardField(int)for integer fieldsCardField(float)for numeric fieldsCardField(list)for list valuesCardField(list, is_file_path=True)for list of file paths to upload
Change Log
1.1.7 (2026-04-07)
- Fixed circular import issue between models.py and card.py
- Added python-dateutil as a dependency
- Removed unused import from typing_extensions
1.0.9 (2024-07-25)
- File spaces upload adjustment
1.0.0 (2024-04-26)
- First Release
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 pipefyuts-1.3.4.tar.gz.
File metadata
- Download URL: pipefyuts-1.3.4.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74287bccf4a3624630ba70020d1623677e61af9cf68048b33ff5f91a339b5a85
|
|
| MD5 |
a4c93157c99b2949168701f1d021f232
|
|
| BLAKE2b-256 |
b5894b480d0c0e8854cdd9818fe95899886c834b99f6c76d13f9b50b21eec84d
|
Provenance
The following attestation bundles were made for pipefyuts-1.3.4.tar.gz:
Publisher:
deploy.yml on ZdekPyPi/PipefyUts
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pipefyuts-1.3.4.tar.gz -
Subject digest:
74287bccf4a3624630ba70020d1623677e61af9cf68048b33ff5f91a339b5a85 - Sigstore transparency entry: 1829808320
- Sigstore integration time:
-
Permalink:
ZdekPyPi/PipefyUts@083fc368fc9cd240f9e8b6eb6fd943ecd4620185 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ZdekPyPi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@083fc368fc9cd240f9e8b6eb6fd943ecd4620185 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pipefyuts-1.3.4-py3-none-any.whl.
File metadata
- Download URL: pipefyuts-1.3.4-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
930378b97619495d5e3e21f9a856a33d7d9c445e692331b67241c9ceb606b0dc
|
|
| MD5 |
4727808a93b0b72d2e3c2b94375539ef
|
|
| BLAKE2b-256 |
ee26a292005f68a5c712688acd7e6788765800bf4f9a897d50ccb8156508bc62
|
Provenance
The following attestation bundles were made for pipefyuts-1.3.4-py3-none-any.whl:
Publisher:
deploy.yml on ZdekPyPi/PipefyUts
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pipefyuts-1.3.4-py3-none-any.whl -
Subject digest:
930378b97619495d5e3e21f9a856a33d7d9c445e692331b67241c9ceb606b0dc - Sigstore transparency entry: 1829808509
- Sigstore integration time:
-
Permalink:
ZdekPyPi/PipefyUts@083fc368fc9cd240f9e8b6eb6fd943ecd4620185 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ZdekPyPi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@083fc368fc9cd240f9e8b6eb6fd943ecd4620185 -
Trigger Event:
push
-
Statement type: