Skip to main content

Aspose.Tasks Cloud API Reference

Project description

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

Manipulate MS Project Files in Python via Cloud REST API

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

Feel free to explore the Developer's Guide & API Reference to know all about Aspose.Tasks Cloud API.

MS Project Processing Features

  • Add project assignments or delete project assignments along with their references.
  • Get the project's outline codes by index & get links to all project tasks.
  • Import projects from Primavera DB formats or from databases with the specified connection string.
  • Get UIDs of all projects contained in the file & fetch the required assignment with the project based on UID.
  • Manage project tasks, resource data, calendars & Work Breakdown Structure (WBS).
  • Perform risk analysis using Monte Carlo simulation and create a report.
  • Create and set project document properties & fetch all or specific existing properties.
  • Get a project's extended attributes, time-scaled data, or recurring info of a specific task.
  • Reschedule project tasks, dates, and other settings.
  • Calculate slacks & recalculate project completion or incompletion work.
  • Fetch a project document in the desired format.
  • Delete project task with its related references & rebuild the task tree.
  • Convert project documents to other formats.
  • Manipulate task data.
  • Manage project's resources.
  • Handle task links & task assignments.
  • Work with project's extended attributes.
  • Read Microsoft Project’s document properties such as start and finish date, tasks scheduling types and so on.
  • Read Microsoft Project’s Calendars and Calendar Exceptions information.

Read & Write Project Data

Microsoft Project MPP, XML, MPT Primavera MPX

Save Project Data As

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

Enhancements in Version 20.11

  • Support for the batch creation of tasks (i.e. the ability to create multiple tasks in a single API call).

Enhancements in Version 20.8

  • Ability to specify the non-default path for Project Server's PWA URL.
  • Ability to modify timephasedData collection in assignments.

Enhancements in Version 20.6

  • Possibility to render comments when saving as image, HTML or PDF.
  • Option to use username and password to connect Project Online (Server) instead of auth token, incase you don't have it.
  • Ability to add assignments to your project file along with specifying its cost.
  • Quickly adding new tasks to project, when calculation mode is set to automatic.
  • Ability to add project in Microsoft Project Server.
  • Added support of reading shared resource assignments.

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

Convert MS Project MPP to PDF in Python

	# Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).

	api_client = asposetaskscloud.ApiClient()
	api_client.configuration.host = 'https://api.aspose.cloud'
	api_client.configuration.api_key['api_key'] = 'MY_CLIENT_SECRET'
	api_client.configuration.api_key['app_sid'] = 'MY_CLIENT_ID'
	tasks_api = asposetaskscloud.TasksApi(api_client)

	file_name = 'SomeSeriousPlan.mpp'

	upload_request = asposetaskscloud.models.requests.UploadFileRequest(os.path.join(self.remote_test_folder, file_name), file_name)
	upload_result = self.tasks_api.upload_file(upload_request)

	request = asposetaskscloud.models.requests.GetReportPdfRequest(file_name, ReportType.MILESTONES)
	result = tasks_api.get_report_pdf(request)

Aspose.Tasks Cloud SDKs in Popular Languages

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

Product Page | Documentation | 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-21.8.0.tar.gz (150.0 kB view details)

Uploaded Source

Built Distribution

aspose_tasks_cloud-21.8.0-py3-none-any.whl (475.7 kB view details)

Uploaded Python 3

File details

Details for the file aspose-tasks-cloud-21.8.0.tar.gz.

File metadata

  • Download URL: aspose-tasks-cloud-21.8.0.tar.gz
  • Upload date:
  • Size: 150.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1

File hashes

Hashes for aspose-tasks-cloud-21.8.0.tar.gz
Algorithm Hash digest
SHA256 5c30ed00ca7b9648472d681ee09bda8353ba20f63cbc558ab4f999a4462de3d1
MD5 e21660e9e1bbe348c5592cf986e45040
BLAKE2b-256 605e2f0e12f12516f8abd378a76ce1d43f3cca17cac48d0739cfd0306f3b20e9

See more details on using hashes here.

File details

Details for the file aspose_tasks_cloud-21.8.0-py3-none-any.whl.

File metadata

  • Download URL: aspose_tasks_cloud-21.8.0-py3-none-any.whl
  • Upload date:
  • Size: 475.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1

File hashes

Hashes for aspose_tasks_cloud-21.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cc05c8c695416f7de536a8f5ba4fd32d60107f86a4f9d5f423ec9f31a1ae6be
MD5 5ff11f3d10dc6dd564f8b48f37429494
BLAKE2b-256 060f5dd9a609ed0c13c820b4270905027492dbac1220fb31601969e74364890b

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