aspose-tasks


Nameaspose-tasks JSON
Version 24.9.0 PyPI version JSON
download
home_pagehttps://products.aspose.com/tasks/python-net
SummaryAspose.Tasks for Python via .NET is a native library that enables the developers to add MS-Project files processing capabilities to their applications
upload_time2024-09-29 16:20:51
maintainerNone
docs_urlNone
authorAspose
requires_python<3.12,>=3.5
licenseOther/Proprietary License
keywords project msproject timeline primavera oracle openproj mpp mpx mpt xer import export convert xml bmp png pdf xps gpg gpeg svg html tiff xaml csv txt xlsx mpp-to-image mpp-to-xml mpp-to-bmp mpp-to-png mpp-to-jpg mpp-to-jpeg mpp-to-svg mpp-to-tiff mpp-to-pdf mpp-to-xps mpp-to-xaml mpp-to-html mpp-to-csv mpp-to-text mpp-to-txt mpp-to-xls mpp-to-xlsx
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [Product Page](https://products.aspose.com/tasks/python-net/) | [Documentation](https://docs.aspose.com/tasks/python-net/) | [Demos](https://products.aspose.app/tasks/family) | [Blog](https://blog.aspose.com/categories/aspose.tasks-product-family/) | [API Reference](https://reference.aspose.com/tasks/python-net/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/tasks) | [Temporary License](https://purchase.aspose.com/temporary-license)

Try our [Free Online Apps](https://products.aspose.app/tasks/applications) demonstrating some of the most popular MS-Project-related functionality.

**Aspose.Tasks for Python via .NET** is a native library that enables the developers to add MS-Project files processing capabilities to their applications. It can be used to create, read, convert and manipulate MS-Project files without the use of Microsoft Project itself. **Aspose.Tasks for Python via .NET** allows to perform a range of document processing tasks such as calculations, get and set tasks/recources/calendars information, views manipulation, management of attachments, custom font handling and much more.
Check out the [Landing Pages](https://products.aspose.com/tasks/python-net/) of **Aspose.Tasks for Python via .NET** for a more detailed description of the features and possibilities of the library.

## General Features

- Ability to create, read, edit and write to MPP/MPX/MPT/XER
- Supported export to multiple image formats including BMP, GIF, JPEG & PNG.
- Supported output to many other formats as XLSX, HTML, CSV, text etc.
- Export to PDF
- Oracle Primavera and Project Server (Project online) support. 

## Supported MS-Project versions

**Aspose.Tasks for Python via .NET** supports Microsoft Project versions 2003/2007/2010/2013/2016/2019/2021.

## Conversion Features

**Aspose.Tasks for Python via .NET** library allows you to successfully, quickly and easily convert your project documents to the most popular formats and vice versa.

- Convert MPP to Images formats (TIFF, PNG, JPEG, SVG, etc.).
- Convert MPP to Excel.
- Convert MPP to HTML format and vice versa.
- Convert MPP to CSV and plain text.
- Convert MPP to PDF.

## Package Features

- Manage tasks, resources, assignments, task links and calendars.
- Manage custom fields, outline codes.
- Working with different project views, custom timecaling and custom text styles.
- Customize styles of Gantt Chart view.

## Supported File Formats

The following table indicates the file formats that **Aspose.Tasks for Python via .NET** can load and save.

|**Format**|**Description**|**Load**|**Save**|
| :- | :- | :- | :- |
|[MPP](https://docs.fileformat.com/project-management/mpp/)|Microsoft Project/Microsoft Project Online format|**Yes**|**Yes**|
|[MPT](https://docs.fileformat.com/project-management/mpt/)|Microsoft Project template|**Yes**|**No**|
|[XML](https://docs.fileformat.com/web/xml/)|Microsoft Project XML Format|**Yes**|**Yes**|
|[XER](https://docs.fileformat.com/project-management/xer/)|Primavera XER Format|**Yes**|**Yes**|
|[P6XML](https://docs.fileformat.com/project-management/p6xml/)|Primavera P6XML Format|**Yes**|**Yes**|
|[MPX](https://docs.fileformat.com/project-management/mpx/)|Primavera MPX|**Yes**|**Yes**|
|[XLSX](https://docs.fileformat.com/spreadsheet/xlsx/)|Microsoft Excel|**No**|**Yes**|
|[HTML](https://docs.fileformat.com/web/html/)|Simplified HTM and HTML Formats|**No**|**Yes**|
|[Text](https://docs.fileformat.com/word-processing/txt/)|Text Format|**No**|**Yes**|
|[TIFF](https://docs.fileformat.com/image/tiff/)|Single or Multi-Page TIFF Image|**No**|**Yes**|
|[SVG](https://docs.fileformat.com/page-description-language/svg/)|Scalable Vector Graphics|**No**|**Yes**|
|[PNG](https://docs.fileformat.com/image/png/)|PNG Format|**No**|**Yes**|
|[JPEG](https://docs.fileformat.com/image/jpeg/)|JPEG Format|**No**|**Yes**|
|[PDF](https://docs.fileformat.com/pdf/)|Saving Project data to PDF Format|**No**|**Yes**|

## Platform Independence

**Aspose.Tasks for Python via .NET** can be used to develop 32-bit and 64-bit Python applications for different operating systems (such as Windows and Linux) where Python 3.5 or later is installed.

## Get Started

Run ```pip install aspose-tasks``` to fetch the package. If you already have **Aspose.Tasks for Python via .NET** and want to get the latest version, please run ```pip install --upgrade aspose-tasks```.

To learn more about **Aspose.Tasks for Python via .NET** and explore the basic requirements and features of the library, check out the following [Aspose.Tasks for Python via .NET Documentation](https://docs.aspose.com/tasks/python-net/) pages for other use cases.

## Example of converting MPP project to PDF

**Aspose.Tasks for Python via .NET** is a Project manipulation API that lets you convert any existing project to PDF document. The process of converting to PDF can be flexibly customized.

Below code snippet follows these steps:

1. Open existing project.
3. Save to PDF.

```python
import aspose.tasks as tsk

# Open existing project
prj = tsk.Project("HelloProject.mpp")
# Save to PDF
prj.save("output.pdf", tsk.saving.SaveFileFormat.PDF)
```

## Example of converting project to images

**Aspose.Tasks for Python via .NET** supports the feature to convert projects to different image formats. To accomplish this, the ImageSaveOptions class has been introduced. Instantiate an object of ImageSaveOptions and pass it as a second argument to the Project.save(..) method.

Below code snippet follows these steps:

1. Create an object of the Project class.
2. Create ImageSaveOptions object with needed settings.
3. Call the Project.save() method and pass options instance to it to convert to JPEG.

```python
import aspose.tasks as tsk

# load file
prj = tsk.Project("HelloProject.mpp")
# create ImageSaveOptions with desired format
options = tsk.saving.ImageSaveOptions(tsk.saving.SaveFileFormat.JPEG)
# configure output options
options.horizontal_resolution = 96.0
options.vertical_resolution = 96.0
options.jpeg_quality = 70
# render data to image format
prj.save("output.jpg", options)
```

## Create Project file from scratch in Python

In the next code snippet, we are creating a Project document from scratch containing few tasks. After installing **Aspose.Tasks for Python via .NET** in your environment, you can execute below code sample to see how Aspose.Tasks API works. 

Below code snippet follows these steps:

1. Instantiate a Project object.
2. Add task to the project.
3. Setup task attributes (start, duration etc.).
4. Save created project.

The following code snippet is a kind of simple program to exhibit how **Aspose.Tasks for Python via .NET** API works with Project items:

```python
import aspose.tasks as tsk
from datetime import *

# Instantiate a Project object
prj = tsk.Project()
# Add task to the project
task1 = prj.root_task.children.add("Task 1")
# Setup task attributes
task1.start = datetime(2023, 1, 15)
task1.duration = prj.get_duration(1.0, tsk.TimeUnitType.DAY)
# Add another task
task2 = prj.root_task.children.add("Task 2")
task2.start = datetime(2023, 1, 16)
task2.duration = prj.get_duration(2.0, tsk.TimeUnitType.DAY)
# Save created project
prj.save("HelloProject.mpp")
```

[Product Page](https://products.aspose.com/tasks/python-net/) | [Documentation](https://docs.aspose.com/tasks/python-net/) | [Demos](https://products.aspose.app/tasks/family) | [Blog](https://blog.aspose.com/categories/aspose.tasks-product-family/) | [API Reference](https://reference.aspose.com/tasks/python-net/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/tasks) | [Temporary License](https://purchase.aspose.com/temporary-license)



            

Raw data

            {
    "_id": null,
    "home_page": "https://products.aspose.com/tasks/python-net",
    "name": "aspose-tasks",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.5",
    "maintainer_email": null,
    "keywords": "project, msproject, timeline, primavera, oracle, openproj, MPP, MPX, MPT, XER, import, export, convert, XML, BMP, PNG, PDF, XPS, GPG, GPEG, SVG, HTML, TIFF, XAML, CSV, TXT, XLSX, mpp-to-image, mpp-to-xml, mpp-to-bmp, mpp-to-png, mpp-to-jpg, mpp-to-jpeg, mpp-to-svg, mpp-to-tiff, mpp-to-pdf, mpp-to-xps, mpp-to-xaml, mpp-to-html, mpp-to-csv, mpp-to-text, mpp-to-txt, mpp-to-xls, mpp-to-xlsx",
    "author": "Aspose",
    "author_email": null,
    "download_url": null,
    "platform": "macos_x86_64",
    "description": "[Product Page](https://products.aspose.com/tasks/python-net/) | [Documentation](https://docs.aspose.com/tasks/python-net/) | [Demos](https://products.aspose.app/tasks/family) | [Blog](https://blog.aspose.com/categories/aspose.tasks-product-family/) | [API Reference](https://reference.aspose.com/tasks/python-net/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/tasks) | [Temporary License](https://purchase.aspose.com/temporary-license)\n\nTry our [Free Online Apps](https://products.aspose.app/tasks/applications) demonstrating some of the most popular MS-Project-related functionality.\n\n**Aspose.Tasks for Python via .NET** is a native library that enables the developers to add MS-Project files processing capabilities to their applications. It can be used to create, read, convert and manipulate MS-Project files without the use of Microsoft Project itself. **Aspose.Tasks for Python via .NET** allows to perform a range of document processing tasks such as calculations, get and set tasks/recources/calendars information, views manipulation, management of attachments, custom font handling and much more.\nCheck out the [Landing Pages](https://products.aspose.com/tasks/python-net/) of **Aspose.Tasks for Python via .NET** for a more detailed description of the features and possibilities of the library.\n\n## General Features\n\n- Ability to create, read, edit and write to MPP/MPX/MPT/XER\n- Supported export to multiple image formats including BMP, GIF, JPEG & PNG.\n- Supported output to many other formats as XLSX, HTML, CSV, text etc.\n- Export to PDF\n- Oracle Primavera and Project Server (Project online) support. \n\n## Supported MS-Project versions\n\n**Aspose.Tasks for Python via .NET** supports Microsoft Project versions 2003/2007/2010/2013/2016/2019/2021.\n\n## Conversion Features\n\n**Aspose.Tasks for Python via .NET** library allows you to successfully, quickly and easily convert your project documents to the most popular formats and vice versa.\n\n- Convert MPP to Images formats (TIFF, PNG, JPEG, SVG, etc.).\n- Convert MPP to Excel.\n- Convert MPP to HTML format and vice versa.\n- Convert MPP to CSV and plain text.\n- Convert MPP to PDF.\n\n## Package Features\n\n- Manage tasks, resources, assignments, task links and calendars.\n- Manage custom fields, outline codes.\n- Working with different project views, custom timecaling and custom text styles.\n- Customize styles of Gantt Chart view.\n\n## Supported File Formats\n\nThe following table indicates the file formats that **Aspose.Tasks for Python via .NET** can load and save.\n\n|**Format**|**Description**|**Load**|**Save**|\n| :- | :- | :- | :- |\n|[MPP](https://docs.fileformat.com/project-management/mpp/)|Microsoft Project/Microsoft Project Online format|**Yes**|**Yes**|\n|[MPT](https://docs.fileformat.com/project-management/mpt/)|Microsoft Project template|**Yes**|**No**|\n|[XML](https://docs.fileformat.com/web/xml/)|Microsoft Project XML Format|**Yes**|**Yes**|\n|[XER](https://docs.fileformat.com/project-management/xer/)|Primavera XER Format|**Yes**|**Yes**|\n|[P6XML](https://docs.fileformat.com/project-management/p6xml/)|Primavera P6XML Format|**Yes**|**Yes**|\n|[MPX](https://docs.fileformat.com/project-management/mpx/)|Primavera MPX|**Yes**|**Yes**|\n|[XLSX](https://docs.fileformat.com/spreadsheet/xlsx/)|Microsoft Excel|**No**|**Yes**|\n|[HTML](https://docs.fileformat.com/web/html/)|Simplified HTM and HTML Formats|**No**|**Yes**|\n|[Text](https://docs.fileformat.com/word-processing/txt/)|Text Format|**No**|**Yes**|\n|[TIFF](https://docs.fileformat.com/image/tiff/)|Single or Multi-Page TIFF Image|**No**|**Yes**|\n|[SVG](https://docs.fileformat.com/page-description-language/svg/)|Scalable Vector Graphics|**No**|**Yes**|\n|[PNG](https://docs.fileformat.com/image/png/)|PNG Format|**No**|**Yes**|\n|[JPEG](https://docs.fileformat.com/image/jpeg/)|JPEG Format|**No**|**Yes**|\n|[PDF](https://docs.fileformat.com/pdf/)|Saving Project data to PDF Format|**No**|**Yes**|\n\n## Platform Independence\n\n**Aspose.Tasks for Python via .NET** can be used to develop 32-bit and 64-bit Python applications for different operating systems (such as Windows and Linux) where Python 3.5 or later is installed.\n\n## Get Started\n\nRun ```pip install aspose-tasks``` to fetch the package. If you already have **Aspose.Tasks for Python via .NET** and want to get the latest version, please run ```pip install --upgrade aspose-tasks```.\n\nTo learn more about **Aspose.Tasks for Python via .NET** and explore the basic requirements and features of the library, check out the following [Aspose.Tasks for Python via .NET Documentation](https://docs.aspose.com/tasks/python-net/) pages for other use cases.\n\n## Example of converting MPP project to PDF\n\n**Aspose.Tasks for Python via .NET** is a Project manipulation API that lets you convert any existing project to PDF document. The process of converting to PDF can be flexibly customized.\n\nBelow code snippet follows these steps:\n\n1. Open existing project.\n3. Save to PDF.\n\n```python\nimport aspose.tasks as tsk\n\n# Open existing project\nprj = tsk.Project(\"HelloProject.mpp\")\n# Save to PDF\nprj.save(\"output.pdf\", tsk.saving.SaveFileFormat.PDF)\n```\n\n## Example of converting project to images\n\n**Aspose.Tasks for Python via .NET** supports the feature to convert projects to different image formats. To accomplish this, the ImageSaveOptions class has been introduced. Instantiate an object of ImageSaveOptions and pass it as a second argument to the Project.save(..) method.\n\nBelow code snippet follows these steps:\n\n1. Create an object of the Project class.\n2. Create ImageSaveOptions object with needed settings.\n3. Call the Project.save() method and pass options instance to it to convert to JPEG.\n\n```python\nimport aspose.tasks as tsk\n\n# load file\nprj = tsk.Project(\"HelloProject.mpp\")\n# create ImageSaveOptions with desired format\noptions = tsk.saving.ImageSaveOptions(tsk.saving.SaveFileFormat.JPEG)\n# configure output options\noptions.horizontal_resolution = 96.0\noptions.vertical_resolution = 96.0\noptions.jpeg_quality = 70\n# render data to image format\nprj.save(\"output.jpg\", options)\n```\n\n## Create Project file from scratch in Python\n\nIn the next code snippet, we are creating a Project document from scratch containing few tasks. After installing **Aspose.Tasks for Python via .NET** in your environment, you can execute below code sample to see how Aspose.Tasks API works. \n\nBelow code snippet follows these steps:\n\n1. Instantiate a Project object.\n2. Add task to the project.\n3. Setup task attributes (start, duration etc.).\n4. Save created project.\n\nThe following code snippet is a kind of simple program to exhibit how **Aspose.Tasks for Python via .NET** API works with Project items:\n\n```python\nimport aspose.tasks as tsk\nfrom datetime import *\n\n# Instantiate a Project object\nprj = tsk.Project()\n# Add task to the project\ntask1 = prj.root_task.children.add(\"Task 1\")\n# Setup task attributes\ntask1.start = datetime(2023, 1, 15)\ntask1.duration = prj.get_duration(1.0, tsk.TimeUnitType.DAY)\n# Add another task\ntask2 = prj.root_task.children.add(\"Task 2\")\ntask2.start = datetime(2023, 1, 16)\ntask2.duration = prj.get_duration(2.0, tsk.TimeUnitType.DAY)\n# Save created project\nprj.save(\"HelloProject.mpp\")\n```\n\n[Product Page](https://products.aspose.com/tasks/python-net/) | [Documentation](https://docs.aspose.com/tasks/python-net/) | [Demos](https://products.aspose.app/tasks/family) | [Blog](https://blog.aspose.com/categories/aspose.tasks-product-family/) | [API Reference](https://reference.aspose.com/tasks/python-net/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/tasks) | [Temporary License](https://purchase.aspose.com/temporary-license)\n\n\n",
    "bugtrack_url": null,
    "license": "Other/Proprietary License",
    "summary": "Aspose.Tasks for Python via .NET is a native library that enables the developers to add MS-Project files processing capabilities to their applications",
    "version": "24.9.0",
    "project_urls": {
        "Homepage": "https://products.aspose.com/tasks/python-net"
    },
    "split_keywords": [
        "project",
        " msproject",
        " timeline",
        " primavera",
        " oracle",
        " openproj",
        " mpp",
        " mpx",
        " mpt",
        " xer",
        " import",
        " export",
        " convert",
        " xml",
        " bmp",
        " png",
        " pdf",
        " xps",
        " gpg",
        " gpeg",
        " svg",
        " html",
        " tiff",
        " xaml",
        " csv",
        " txt",
        " xlsx",
        " mpp-to-image",
        " mpp-to-xml",
        " mpp-to-bmp",
        " mpp-to-png",
        " mpp-to-jpg",
        " mpp-to-jpeg",
        " mpp-to-svg",
        " mpp-to-tiff",
        " mpp-to-pdf",
        " mpp-to-xps",
        " mpp-to-xaml",
        " mpp-to-html",
        " mpp-to-csv",
        " mpp-to-text",
        " mpp-to-txt",
        " mpp-to-xls",
        " mpp-to-xlsx"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "91bce5b53e46a177ee4225b41811a3de397b2dc985c360c606d78886ccf14f2a",
                "md5": "010afc3b1da5e122df34308881d96e2a",
                "sha256": "b0f16ff1d5390827eb5430788ac01d03a8c40ed2ee79b668943d2f930d921ea7"
            },
            "downloads": -1,
            "filename": "aspose_tasks-24.9.0-py3-none-macosx_10_14_x86_64.whl",
            "has_sig": false,
            "md5_digest": "010afc3b1da5e122df34308881d96e2a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 54757852,
            "upload_time": "2024-09-29T16:20:51",
            "upload_time_iso_8601": "2024-09-29T16:20:51.154447Z",
            "url": "https://files.pythonhosted.org/packages/91/bc/e5b53e46a177ee4225b41811a3de397b2dc985c360c606d78886ccf14f2a/aspose_tasks-24.9.0-py3-none-macosx_10_14_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "68bb9b358cf572e2337036f1eabfb2a014a8c80a717cc93cde1a6596d3cb353d",
                "md5": "c9e6de2e7b1eb0716f35043cc38f15f9",
                "sha256": "b3851a8495d8c8c1eb71cf5a78570d7764051640961a36a9aef3bd6e5b1db77f"
            },
            "downloads": -1,
            "filename": "aspose_tasks-24.9.0-py3-none-manylinux1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c9e6de2e7b1eb0716f35043cc38f15f9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 63771791,
            "upload_time": "2024-09-29T16:21:36",
            "upload_time_iso_8601": "2024-09-29T16:21:36.439158Z",
            "url": "https://files.pythonhosted.org/packages/68/bb/9b358cf572e2337036f1eabfb2a014a8c80a717cc93cde1a6596d3cb353d/aspose_tasks-24.9.0-py3-none-manylinux1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6a7b49140734fdfb551e2160969bce5f510023917f58d5f209b656472bc2f43d",
                "md5": "9238f50b54f74dbf544e97d275147d06",
                "sha256": "8fded4858683a0a7c5a202afc8a10e9877585eb207ae8b155211e8fbc2aeff17"
            },
            "downloads": -1,
            "filename": "aspose_tasks-24.9.0-py3-none-win32.whl",
            "has_sig": false,
            "md5_digest": "9238f50b54f74dbf544e97d275147d06",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 41350429,
            "upload_time": "2024-09-29T16:22:27",
            "upload_time_iso_8601": "2024-09-29T16:22:27.235684Z",
            "url": "https://files.pythonhosted.org/packages/6a/7b/49140734fdfb551e2160969bce5f510023917f58d5f209b656472bc2f43d/aspose_tasks-24.9.0-py3-none-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "98c31ec39fca986bbcce8d3296526eeb2e1b1f38b39b91fe5b5cce286b0f176c",
                "md5": "1fe35c9472d4c50e5f2142d420bce040",
                "sha256": "9bf31eb84b5513e21b31f42395ba01738e05a2924610d53207145553bd72ce37"
            },
            "downloads": -1,
            "filename": "aspose_tasks-24.9.0-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "1fe35c9472d4c50e5f2142d420bce040",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 47570249,
            "upload_time": "2024-09-29T16:23:35",
            "upload_time_iso_8601": "2024-09-29T16:23:35.800206Z",
            "url": "https://files.pythonhosted.org/packages/98/c3/1ec39fca986bbcce8d3296526eeb2e1b1f38b39b91fe5b5cce286b0f176c/aspose_tasks-24.9.0-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-29 16:20:51",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aspose-tasks"
}
        
Elapsed time: 0.36958s