Aspose.Tasks Cloud API Reference
Project description
Aspose.Tasks Cloud SDK for Python
This repository contains Aspose.Tasks Cloud SDK for Python source code. This SDK allows you to work with Aspose.Tasks Cloud REST APIs in your Python applications quickly and easily, with zero initial cost.
Aspose.Tasks Cloud
API Reference
Key Features
- Conversion between various file formats, including MPP->PDF conversion
- Read, change and write Microsoft ProjectВ® documents
- Create, update and write projects in XML project format
- Manage extended attributes
- Define weekdays for calendars and calendar exceptions
- Manage task baseline scheduling and duration
- Create and manage links between tasks
- Manage resources costs and variances
- Access assignment costs and budget
How to use the SDK?
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get PyPi (recommended). For more details, please visit our documentation website.
Prerequisites
To use Aspose Tasks for Cloud Python SDK you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install aspose-tasks-cloud
(you may need to run pip
with root permission: sudo pip install aspose-tasks-cloud
)
Then import the package:
import asposetaskscloud
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import asposetaskscloud
Getting Started
Please follow the installation procedure and then run the following:
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')
Test contain various examples of using the SDK.
Dependencies
- Python 2.7(End of Life in 2020) and 3.7
- referenced packages (see here for more details)
Licensing
All Aspose.Tasks Cloud SDKs, helper scripts and templates are licensed under MIT License.
Contact Us
Your feedback is very important to us. Please feel free to contact us using our Support Forums.
Resources
Website
Product Home
API Reference
Documentation
Blog
Other languages
We generate our SDKs in different languages so you may check if yours is available in our list.
If you don't find your language in the list, feel free to request it from us, or use raw REST API requests as you can find it here.
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
File details
Details for the file aspose-tasks-cloud-20.6.0.tar.gz
.
File metadata
- Download URL: aspose-tasks-cloud-20.6.0.tar.gz
- Upload date:
- Size: 147.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7529a8cfab24057793217cacaa806c0c2f5d0c1c319eed16ae30c187ff784dec |
|
MD5 | 0dc8ae445737f84d49f2a465815a4c01 |
|
BLAKE2b-256 | 2a23e77bccd038e1cb52e97906d749141cddc33f91fb7f72f331793f62ebd54c |
File details
Details for the file aspose_tasks_cloud-20.6.0-py3-none-any.whl
.
File metadata
- Download URL: aspose_tasks_cloud-20.6.0-py3-none-any.whl
- Upload date:
- Size: 470.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10df4f6a8fc3582d3b7de7f16a73a332632411e3b5509a46a6bc19eb0b0ba5b8 |
|
MD5 | 70f9923c718e38bd59ad07bd8acfc1bb |
|
BLAKE2b-256 | 7d073724c0dbf0530c5c49bf6ae6166d6aaa2ad5d34f07b2182fa4d4001d2d33 |