Skip to main content

Aspose.Tasks Cloud API Reference

Project description

PyPI PyPI - Format PyPI - Downloads PyPI - Python Version GitHub license GitHub last commit

Python SDK to Manage Tasks in the Cloud

Aspose.Tasks for Cloud offers the ability to manipulate and convert Microsoft Project MPT, MPP, MPX & Oracle Primavera XER, XML, and PrimaveraP6XML files in the Cloud. Aspose.Tasks Cloud SDK for Python wraps the REST API to make it easier for Python developers to integrate Task Management features in their own applications.

REST API for Task Management

Read & Write Project Data

Microsoft Project MPP, XML, MPT Primavera MPX

Save Project Data As

XER, XLSX, HTML, XML, TXT, TIF, SVG, PNG, JPEG

Get Started with Aspose.Tasks Cloud SDK for Python

Register an account at Aspose Cloud Dashboard to get you application information. Next, either directly use the source from this repository in your project or get the package from PyPi.

Install via PIP

pip install aspose-tasks-cloud

You may need to run pip command with root permission as sudo pip install aspose-tasks-cloud.

Then import the package as follows.

import asposetaskscloud

Install via Setuptools

python setup.py install --user

Alternatively, execute sudo python setup.py install to install the package for all users.

Then import the package as follows.

import asposetaskscloud

Extract MPP Document Properties via Python

import asposetaskscloud
import asposetaskscloud.models.requests
api_client = asposetaskscloud.ApiClient()
api_client.configuration.host = 'https://api.aspose.cloud'
api_client.configuration.api_key['api_key'] = '' # Put your appKey here
api_client.configuration.api_key['app_sid'] = '' # Put your appSid here
tasks_api = asposetaskscloud.TasksApi(api_client)
remote_name = 'SomeSeriousPlan.mpp'

upload_request = asposetaskscloud.models.requests.UploadFileRequest(file, remote_name)
upload_result = self.tasks_api.upload_file(request)
self.assertTrue(upload_result.code == 200, 'Error has occurred while uploading project file')

request = asposetaskscloud.models.requests.GetDocumentPropertiesRequest(remote_name)
result = tasks_api.get_document_properties(request)
self.assertTrue(result.code == 200, 'Error has occurred while getting document properties')

Aspose.Tasks Cloud SDKs in Popular Languages

.NET PHP Python Node.js
GitHub GitHub GitHub GitHub
NuGet Composer PIP NPM

Home | Product Page | Documentation | Live Demo | API Reference | Code Samples | Blog | Free Support | Free Trial

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

aspose-tasks-cloud-20.11.0.tar.gz (148.6 kB view hashes)

Uploaded Source

Built Distribution

aspose_tasks_cloud-20.11.0-py3-none-any.whl (474.5 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