![](https://img.shields.io/badge/api-v3.0-lightgrey) ![PyPI](https://img.shields.io/pypi/v/aspose-tasks-cloud) ![PyPI - Format](https://img.shields.io/pypi/format/aspose-tasks-cloud) ![PyPI - Downloads](https://img.shields.io/pypi/dm/aspose-tasks-cloud) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/aspose-tasks-cloud) [![GitHub license](https://img.shields.io/github/license/aspose-tasks-cloud/aspose-tasks-cloud-python)](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php/blob/master/LICENSE) ![GitHub last commit](https://img.shields.io/github/last-commit/Aspose-tasks-Cloud/aspose-tasks-cloud-python)
# 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](https://products.aspose.cloud/tasks/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](https://docs.aspose.cloud/display/taskscloud/Developer+Guide) & [API Reference](https://apireference.aspose.cloud/tasks/) 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](https://docs.aspose.cloud/tasks/convert-project-document-to-the-specified-format/) to other formats.
- Manipulate task data.
- [Manage project's resources](https://docs.aspose.cloud/tasks/working-with-resources/).
- Handle task links & task assignments.
- Work with project's extended attributes.
- [Read Microsoft Project’s document properties](https://docs.aspose.cloud/tasks/working-with-calendars/) such as start and finish date, tasks scheduling types and so on.
- [Read Microsoft Project’s Calendars](https://docs.aspose.cloud/tasks/working-with-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 24.11
- Enhanced reading data from Primavera-specific task's properties.
## Enhancements in Version 24.4
- Added new ability to get views information
- Possibility to modify table text styles for Gantt Chart views.
## Enhancements in Version 22.12
- Added new ability to read Primavera-specific task's properties.
- Provided the ability to read more document properties.
## 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](https://dashboard.aspose.cloud/#/apps) to get you application information. Next, either directly use the source from this repository in your project or get the package from [PyPi](https://pypi.org/project/aspose-tasks-cloud).
### Install via PIP
```sh
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.
```python
import asposetaskscloud
```
### Install via Setuptools
```sh
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.
```python
import asposetaskscloud
```
## Convert MS Project MPP to PDF in Python
```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](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-dotnet) |[GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php) | [GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-python) | [GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-node) |[GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-go)|
| [NuGet](https://www.nuget.org/packages/Aspose.tasks-Cloud/)| [Composer](https://packagist.org/packages/aspose/tasks-cloud-php) | [PIP](https://pypi.org/project/aspose-tasks-cloud/) | [NPM](https://www.npmjs.com/package/@asposecloud/aspose-tasks-cloud) | [Go.Dev](https://pkg.go.dev/github.com/aspose-tasks-cloud/aspose-tasks-cloud-go/) |
[Product Page](https://products.aspose.cloud/tasks/python) | [Documentation](https://docs.aspose.cloud/display/taskscloud/Home) | [API Reference](https://apireference.aspose.cloud/tasks/) | [Code Samples](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-python) | [Blog](https://blog.aspose.cloud/category/tasks/) | [Free Support](https://forum.aspose.cloud/c/tasks) | [Free Trial](https://dashboard.aspose.cloud/#/apps)
Raw data
{
"_id": null,
"home_page": "https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-python",
"name": "aspose-tasks-cloud",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "aspose, python, aspose cloud, microsoft project, mpp, primavera, microsoft project server, microsoft project online",
"author": "Ivan Andreychikov",
"author_email": "ivan.andreychikov@aspose.com",
"download_url": "https://files.pythonhosted.org/packages/3c/87/11665c3c6c1af3da7dea033157a31c702c725fc405efacb9420cd32ad91d/aspose_tasks_cloud-24.11.0.tar.gz",
"platform": null,
"description": "![](https://img.shields.io/badge/api-v3.0-lightgrey) ![PyPI](https://img.shields.io/pypi/v/aspose-tasks-cloud) ![PyPI - Format](https://img.shields.io/pypi/format/aspose-tasks-cloud) ![PyPI - Downloads](https://img.shields.io/pypi/dm/aspose-tasks-cloud) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/aspose-tasks-cloud) [![GitHub license](https://img.shields.io/github/license/aspose-tasks-cloud/aspose-tasks-cloud-python)](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php/blob/master/LICENSE) ![GitHub last commit](https://img.shields.io/github/last-commit/Aspose-tasks-Cloud/aspose-tasks-cloud-python)\r\n\r\n# Manipulate MS Project Files in Python via Cloud REST API\r\n\r\nAspose.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](https://products.aspose.cloud/tasks/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.\r\n\r\nFeel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/taskscloud/Developer+Guide) & [API Reference](https://apireference.aspose.cloud/tasks/) to know all about Aspose.Tasks Cloud API.\r\n\r\n## MS Project Processing Features\r\n- Add project assignments or delete project assignments along with their references.\r\n- Get the project's outline codes by index & get links to all project tasks.\r\n- Import projects from Primavera DB formats or from databases with the specified connection string.\r\n- Get UIDs of all projects contained in the file & fetch the required assignment with the project based on UID.\r\n- Manage project tasks, resource data, calendars & Work Breakdown Structure (WBS).\r\n- Perform risk analysis using Monte Carlo simulation and create a report.\r\n- Create and set project document properties & fetch all or specific existing properties.\r\n- Get a project's extended attributes, time-scaled data, or recurring info of a specific task.\r\n- Reschedule project tasks, dates, and other settings.\r\n- Calculate slacks & recalculate project completion or incompletion work.\r\n- Fetch a project document in the desired format.\r\n- Delete project task with its related references & rebuild the task tree.\r\n- [Convert project documents](https://docs.aspose.cloud/tasks/convert-project-document-to-the-specified-format/) to other formats.\r\n- Manipulate task data.\r\n- [Manage project's resources](https://docs.aspose.cloud/tasks/working-with-resources/).\r\n- Handle task links & task assignments.\r\n- Work with project's extended attributes.\r\n- [Read Microsoft Project\u0432\u0402\u2122s document properties](https://docs.aspose.cloud/tasks/working-with-calendars/) such as start and finish date, tasks scheduling types and so on.\r\n- [Read Microsoft Project\u0432\u0402\u2122s Calendars](https://docs.aspose.cloud/tasks/working-with-calendars/) and Calendar Exceptions information.\r\n\r\n## Read & Write Project Data\r\n**Microsoft Project** MPP, XML, MPT **Primavera** MPX\r\n\r\n## Save Project Data As\r\nXER, XLSX, HTML, XML, TXT, TIF, SVG, PNG, JPEG\r\n\r\n\r\n## Enhancements in Version 24.11\r\n- Enhanced reading data from Primavera-specific task's properties.\r\n\r\n## Enhancements in Version 24.4\r\n- Added new ability to get views information\r\n- Possibility to modify table text styles for Gantt Chart views.\r\n\r\n## Enhancements in Version 22.12\r\n- Added new ability to read Primavera-specific task's properties.\r\n- Provided the ability to read more document properties.\r\n\r\n## Enhancements in Version 20.11\r\n- Support for the batch creation of tasks (i.e. the ability to create multiple tasks in a single *API* call).\r\n\r\n## Enhancements in Version 20.8\r\n- Ability to specify the non-default path for Project Server's *PWA* URL.\r\n- Ability to modify *timephasedData* collection in assignments.\r\n\r\n## Enhancements in Version 20.6\r\n- Possibility to render comments when saving as image, HTML or PDF.\r\n- Option to use username and password to connect Project Online (Server) instead of auth token, incase you don't have it.\r\n- Ability to add assignments to your project file along with specifying its cost.\r\n- Quickly adding new tasks to project, when calculation mode is set to automatic.\r\n- Ability to add project in Microsoft Project Server.\r\n- Added support of reading shared resource assignments.\r\n\r\n## Get Started with Aspose.Tasks Cloud SDK for Python\r\n\r\nRegister an account at [Aspose Cloud Dashboard](https://dashboard.aspose.cloud/#/apps) to get you application information. Next, either directly use the source from this repository in your project or get the package from [PyPi](https://pypi.org/project/aspose-tasks-cloud).\r\n\r\n### Install via PIP\r\n\r\n```sh\r\npip install aspose-tasks-cloud\r\n```\r\n\r\nYou may need to run `pip` command with root permission as `sudo pip install aspose-tasks-cloud`.\r\n\r\nThen import the package as follows.\r\n\r\n```python\r\nimport asposetaskscloud\r\n```\r\n\r\n### Install via Setuptools\r\n\r\n```sh\r\npython setup.py install --user\r\n```\r\n\r\nAlternatively, execute `sudo python setup.py install` to install the package for all users.\r\n\r\nThen import the package as follows.\r\n\r\n```python\r\nimport asposetaskscloud\r\n```\r\n\r\n## Convert MS Project MPP to PDF in Python\r\n\r\n```python\r\n\t# Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).\r\n\r\n\tapi_client = asposetaskscloud.ApiClient()\r\n\tapi_client.configuration.host = 'https://api.aspose.cloud'\r\n\tapi_client.configuration.api_key['api_key'] = 'MY_CLIENT_SECRET'\r\n\tapi_client.configuration.api_key['app_sid'] = 'MY_CLIENT_ID'\r\n\ttasks_api = asposetaskscloud.TasksApi(api_client)\r\n\r\n\tfile_name = 'SomeSeriousPlan.mpp'\r\n\r\n\tupload_request = asposetaskscloud.models.requests.UploadFileRequest(os.path.join(self.remote_test_folder, file_name), file_name)\r\n\tupload_result = self.tasks_api.upload_file(upload_request)\r\n\r\n\trequest = asposetaskscloud.models.requests.GetReportPdfRequest(file_name, ReportType.MILESTONES)\r\n\tresult = tasks_api.get_report_pdf(request)\r\n```\r\n## Aspose.Tasks Cloud SDKs in Popular Languages\r\n\r\n| .NET | PHP | Python| Node.js | Go |\r\n|---|---|---|---|---|\r\n| [GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-dotnet) |[GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php) | [GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-python) | [GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-node) |[GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-go)|\r\n| [NuGet](https://www.nuget.org/packages/Aspose.tasks-Cloud/)| [Composer](https://packagist.org/packages/aspose/tasks-cloud-php) | [PIP](https://pypi.org/project/aspose-tasks-cloud/) | [NPM](https://www.npmjs.com/package/@asposecloud/aspose-tasks-cloud) | [Go.Dev](https://pkg.go.dev/github.com/aspose-tasks-cloud/aspose-tasks-cloud-go/) |\r\n\r\n[Product Page](https://products.aspose.cloud/tasks/python) | [Documentation](https://docs.aspose.cloud/display/taskscloud/Home) | [API Reference](https://apireference.aspose.cloud/tasks/) | [Code Samples](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-python) | [Blog](https://blog.aspose.cloud/category/tasks/) | [Free Support](https://forum.aspose.cloud/c/tasks) | [Free Trial](https://dashboard.aspose.cloud/#/apps)\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Aspose.Tasks Cloud API Reference",
"version": "24.11.0",
"project_urls": {
"Homepage": "https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-python"
},
"split_keywords": [
"aspose",
" python",
" aspose cloud",
" microsoft project",
" mpp",
" primavera",
" microsoft project server",
" microsoft project online"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cc2a2d031421cd9f7b3f6a8897daa2af0d7a0551847e7b15aea3a56585a314fd",
"md5": "94e216342d60eeb320f0d2d32a950db5",
"sha256": "f55ab7a1fbdd51bfed6235c03e94676c18411527fad7f236af54ab83331d945b"
},
"downloads": -1,
"filename": "aspose_tasks_cloud-24.11.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "94e216342d60eeb320f0d2d32a950db5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 535475,
"upload_time": "2024-11-06T05:20:03",
"upload_time_iso_8601": "2024-11-06T05:20:03.605936Z",
"url": "https://files.pythonhosted.org/packages/cc/2a/2d031421cd9f7b3f6a8897daa2af0d7a0551847e7b15aea3a56585a314fd/aspose_tasks_cloud-24.11.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3c8711665c3c6c1af3da7dea033157a31c702c725fc405efacb9420cd32ad91d",
"md5": "a8fdb6941db5cf572ad82de23684f3b9",
"sha256": "f49393ca73d55320be1d6df22d51f614d1d2295c46a9f32d93c0b4d33c3ec3b2"
},
"downloads": -1,
"filename": "aspose_tasks_cloud-24.11.0.tar.gz",
"has_sig": false,
"md5_digest": "a8fdb6941db5cf572ad82de23684f3b9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 178443,
"upload_time": "2024-11-06T05:20:06",
"upload_time_iso_8601": "2024-11-06T05:20:06.551608Z",
"url": "https://files.pythonhosted.org/packages/3c/87/11665c3c6c1af3da7dea033157a31c702c725fc405efacb9420cd32ad91d/aspose_tasks_cloud-24.11.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-06 05:20:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "aspose-tasks-cloud",
"github_project": "aspose-tasks-cloud-python",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "certifi",
"specs": [
[
">=",
"14.05.14"
]
]
},
{
"name": "six",
"specs": [
[
">=",
"1.10"
]
]
},
{
"name": "python_dateutil",
"specs": [
[
">=",
"2.5.3"
]
]
},
{
"name": "setuptools",
"specs": [
[
">=",
"21.0.0"
]
]
},
{
"name": "urllib3",
"specs": [
[
">=",
"1.15.1"
]
]
}
],
"lcname": "aspose-tasks-cloud"
}