anaplan-api
Anaplan-API is a Python library wrapper for Anaplan Bulk API and Anaplan Authentication API.
Installation
Use the package manager pip to install Anaplan-API.
pip3 install anaplan_api
Usage
import logging
from anaplan_api.anaplan import anaplan
from anaplan_api.anaplan.models.AnaplanConnection import AnaplanConnection
from anaplan_api.anaplan.KeystoreManager import KeystoreManager
logging.basicConfig(format='%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message)s',
datefmt='%H:%M:%S',
level=logging.INFO)
logger = logging.getLogger(__name__)
if __name__ == '__main__':
keys = KeystoreManager(path='/keystore.jks', passphrase='', alias='', key_pass='')
auth = anaplan.authorize("Basic", email="{user@mail.com}", password="{password}")
auth = anaplan.authorize("Certificate", certificate=keys.get_cert(), private_key=keys.get_key(), password=b"{key_password}")
conn = AnaplanConnection(auth.auth_token, "{workspace_id}", "{model_id}")
anaplan.file_upload(conn=conn, file_id="{file_id}", chunk_size=5, data='/Users.csv')
results = anaplan.execute_action(conn=conn, action_id="", retry_count=3)
for result in results.responses:
print(result.task_details)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Metadata
Release files for anaplan-api 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| anaplan_api-0.3.4.tar.gz | 45.1 kB | Without provenance | Details for anaplan_api-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anaplan_api-0.3.4-py3-none-any.whl | Python 3 | none | any | Details for anaplan_api-0.3.4-py3-none-any.whl |
Total release size: 116.1 kB
Release files / anaplan_api-0.3.4.tar.gz
| Download URL | anaplan_api-0.3.4.tar.gz |
|---|---|
| Size | 45.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87cd4a06be840bb6737ec1224ad19bdac6993991918e72d321b07b6f4a21dda3
|
|
BLAKE2b-256 checksum How to use checksums |
709218dca10cc3ccdef2a76077419d3cc07a1a6fd08fb5b20fbe20ae40088d35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.2
|
Release files / anaplan_api-0.3.4-py3-none-any.whl
| Download URL | anaplan_api-0.3.4-py3-none-any.whl |
|---|---|
| Size | 71.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2e2af89d28e3537411a1fadc729534e716626288caf667c628204020bb42e79
|
|
BLAKE2b-256 checksum How to use checksums |
defa121f836f138fdef401a1c1675c7382372f2d550714bd9048daab04c366ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.2
|
Security for anaplan-api 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.