python-pycg


Namepython-pycg JSON
Version 0.9.0 PyPI version JSON
download
home_pagehttps://github.com/heiwang1997/pycg
SummaryPyCG: Toolbox for CG-related visualizations and computations
upload_time2024-05-15 18:33:05
maintainerNone
docs_urlNone
authorJiahui Huang
requires_python>=3.6
licenseNone
keywords pycg graphics 3d visualization
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyCG: Toolbox for CG-related visualizations and computations

[![Publish to PyPI.org](https://github.com/heiwang1997/pycg/actions/workflows/publish.yml/badge.svg)](https://github.com/heiwang1997/pycg/actions/workflows/publish.yml)
[![Documentation Status](https://readthedocs.org/projects/pycg/badge/?version=latest)](https://pycg.readthedocs.io/en/latest/?badge=latest)

PyCG is there for people to accelerate their 3D visualizations and computations, aiming at implementing complicated functions with as few lines as possible.
The toolbox is created from the perspective of researchers and would hopefully accelerate your daily pipeline.

## Install

```shell
pip install -U python-pycg
```

**DONT READ MORE!!!!!! DONT READ MORE!!!! STOP NOW!!!!**

HAHA. Actually I really want you to read this -- to install a full-fledged version, use:
```bash
pip install -U python-pycg[all] -f https://pycg.huangjh.tech/packages/index.html
```

> Note that the need for the extra index URL if for our [customized version of Open3D, `named open3d_pycg_cpu`](https://github.com/heiwang1997/Open3D) (with support for multi-window camera/light synchronization, animation maker and visualizer, scalar analyzer, etc).

For developers, clone this repository and install it if you want to use newest features:
```shell
git clone --recursive https://github.com/heiwang1997/pycg
pip install open3d_pycg_cpu -f https://pycg.huangjh.tech/packages/index.html
pip install -e .[all]      # Most modern, but some static analyzing tool (e.g. pylance) will fail!
                            #   Now it will create weird __editable__.*.pth files!
python setup.py develop     # Deprecated by the community, but it works better.
```

## Using PyCG

PyCG contains many submodules which could be easily imported via `from pycg import xxx`.
These different modules span a wide range of functionalities from visualizing 3D assets to creating nice html tables for comparing results.
Please refer to the individual documentation of each submodule to get started.

- 3D Visualization `pycg.vis`
- Render 3D Scenes `pycg.render`
- Handling 3D Transformations `pycg.isometry`
- Compress Videos `pycg.video`
- Compress PDF Files `pycg.pdf`
- Experiment Utilities `pycg.exp`
- Manipulating Images `pycg.image`
- ... and so on to be added!

## Gallery

![](docs/demo/render.png)

<video src="https://github.com/heiwang1997/pycg/raw/master/docs/demo/scene_show.mp4" controls autoplay></video>

<video src="https://github.com/heiwang1997/pycg/raw/master/docs/demo/selection.mp4" controls autoplay></video>

<video src="https://github.com/heiwang1997/pycg/raw/master/docs/demo/animation_light.mp4" controls autoplay></video>

<video src="https://github.com/heiwang1997/pycg/raw/master/docs/demo/animation_arrow.mp4" controls autoplay></video>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/heiwang1997/pycg",
    "name": "python-pycg",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "pycg, graphics, 3d, visualization",
    "author": "Jiahui Huang",
    "author_email": "huangjh.work@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/42/53/75ab7410b6af1a8db6a18eb7be7bdf14165e954b44ef09d95c5fb1b32371/python_pycg-0.9.0.tar.gz",
    "platform": null,
    "description": "# PyCG: Toolbox for CG-related visualizations and computations\n\n[![Publish to PyPI.org](https://github.com/heiwang1997/pycg/actions/workflows/publish.yml/badge.svg)](https://github.com/heiwang1997/pycg/actions/workflows/publish.yml)\n[![Documentation Status](https://readthedocs.org/projects/pycg/badge/?version=latest)](https://pycg.readthedocs.io/en/latest/?badge=latest)\n\nPyCG is there for people to accelerate their 3D visualizations and computations, aiming at implementing complicated functions with as few lines as possible.\nThe toolbox is created from the perspective of researchers and would hopefully accelerate your daily pipeline.\n\n## Install\n\n```shell\npip install -U python-pycg\n```\n\n**DONT READ MORE!!!!!! DONT READ MORE!!!! STOP NOW!!!!**\n\nHAHA. Actually I really want you to read this -- to install a full-fledged version, use:\n```bash\npip install -U python-pycg[all] -f https://pycg.huangjh.tech/packages/index.html\n```\n\n> Note that the need for the extra index URL if for our [customized version of Open3D, `named open3d_pycg_cpu`](https://github.com/heiwang1997/Open3D) (with support for multi-window camera/light synchronization, animation maker and visualizer, scalar analyzer, etc).\n\nFor developers, clone this repository and install it if you want to use newest features:\n```shell\ngit clone --recursive https://github.com/heiwang1997/pycg\npip install open3d_pycg_cpu -f https://pycg.huangjh.tech/packages/index.html\npip install -e .[all]      # Most modern, but some static analyzing tool (e.g. pylance) will fail!\n                            #   Now it will create weird __editable__.*.pth files!\npython setup.py develop     # Deprecated by the community, but it works better.\n```\n\n## Using PyCG\n\nPyCG contains many submodules which could be easily imported via `from pycg import xxx`.\nThese different modules span a wide range of functionalities from visualizing 3D assets to creating nice html tables for comparing results.\nPlease refer to the individual documentation of each submodule to get started.\n\n- 3D Visualization `pycg.vis`\n- Render 3D Scenes `pycg.render`\n- Handling 3D Transformations `pycg.isometry`\n- Compress Videos `pycg.video`\n- Compress PDF Files `pycg.pdf`\n- Experiment Utilities `pycg.exp`\n- Manipulating Images `pycg.image`\n- ... and so on to be added!\n\n## Gallery\n\n![](docs/demo/render.png)\n\n<video src=\"https://github.com/heiwang1997/pycg/raw/master/docs/demo/scene_show.mp4\" controls autoplay></video>\n\n<video src=\"https://github.com/heiwang1997/pycg/raw/master/docs/demo/selection.mp4\" controls autoplay></video>\n\n<video src=\"https://github.com/heiwang1997/pycg/raw/master/docs/demo/animation_light.mp4\" controls autoplay></video>\n\n<video src=\"https://github.com/heiwang1997/pycg/raw/master/docs/demo/animation_arrow.mp4\" controls autoplay></video>\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "PyCG: Toolbox for CG-related visualizations and computations",
    "version": "0.9.0",
    "project_urls": {
        "Homepage": "https://github.com/heiwang1997/pycg"
    },
    "split_keywords": [
        "pycg",
        " graphics",
        " 3d",
        " visualization"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9cd92b786cca1ebd0ae7f5cf3b9259de47db3a0d0009757da04915a9e35e1a58",
                "md5": "5523741b26ca4af8ea2908e2768cc5cf",
                "sha256": "5c25a8fcae5d8ce966376fe9c3a45e0deae23b484d0d6a36409260dde05442bd"
            },
            "downloads": -1,
            "filename": "python_pycg-0.9.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5523741b26ca4af8ea2908e2768cc5cf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 31351711,
            "upload_time": "2024-05-15T18:33:01",
            "upload_time_iso_8601": "2024-05-15T18:33:01.190586Z",
            "url": "https://files.pythonhosted.org/packages/9c/d9/2b786cca1ebd0ae7f5cf3b9259de47db3a0d0009757da04915a9e35e1a58/python_pycg-0.9.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "425375ab7410b6af1a8db6a18eb7be7bdf14165e954b44ef09d95c5fb1b32371",
                "md5": "77b4cd5876ec2ee5f3e917510aaf723b",
                "sha256": "e38b2419583296dab03718edbe9754d0d7a9a2786d3108dcb2fcd4cbabb1fa7f"
            },
            "downloads": -1,
            "filename": "python_pycg-0.9.0.tar.gz",
            "has_sig": false,
            "md5_digest": "77b4cd5876ec2ee5f3e917510aaf723b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 31348758,
            "upload_time": "2024-05-15T18:33:05",
            "upload_time_iso_8601": "2024-05-15T18:33:05.246903Z",
            "url": "https://files.pythonhosted.org/packages/42/53/75ab7410b6af1a8db6a18eb7be7bdf14165e954b44ef09d95c5fb1b32371/python_pycg-0.9.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-15 18:33:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "heiwang1997",
    "github_project": "pycg",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "python-pycg"
}
        
Elapsed time: 0.25982s