camtasia


Namecamtasia JSON
Version 6.3.1 PyPI version JSON
download
home_pagehttps://github.com/sixty-north/python-camtasia
SummaryPython API for Camtasia projects
upload_time2023-10-04 10:53:00
maintainer
docs_urlNone
authorSixty North AS
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ========
camtasia
========

A Python API for Camtasia projects.

Quickstart
==========

To work with an existing Camtasia project, first load it:

.. code-block:: python

    import camtasia
    proj = camtasia.load_project('path/to/project.cmproj')

The ``media_bin`` attribute of ``Project`` gives you access to elements in the media bin:

.. code-block:: python

    # list the Media in the MediaBin    
    for media in proj.media_bin:
        print(media.source)

    # add a new media to the media bin
    proj.media_bin.import_media('path/to/image/or/movie.mov')

The ``timeline`` attribute of ``Project`` gives you access to elements on the timeline:

.. code-block:: python

    # list the tracks on the timeline
    for track in proj.timeline.tracks:
        print(track.name)

    # list the timeline markers
    for marker in proj.timeline.markers:
        print(marker.name, marker.time)

    # print details of media on the timeline
    for track in proj.timeline.tracks:
        for media in track.medias:
            print(media.start, media.duration)
            for marker in media.markers:
                print(marker.name, marker.time)

And if you have edits to the project that you want to write to disk, use the ``save()`` method:

.. code-block:: python

    proj.save()

``pytsc``
=========

The package also installs a command-line program called ``pytsc`` which exposes a lot of the API. You can
get help on ``pytsc`` with the "-h" flag::

    $ pytsc -h

You can also get help on particular subcommands by putting "-h" after the subcommand name::

    $ pytsc tracks-ls -h


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sixty-north/python-camtasia",
    "name": "camtasia",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Sixty North AS",
    "author_email": "austin@sixty-north.com",
    "download_url": "https://files.pythonhosted.org/packages/41/47/4d1d12da497314bab1d5c5373158bc7adef4b3ac04af3a480100b6b86591/camtasia-6.3.1.tar.gz",
    "platform": "any",
    "description": "========\ncamtasia\n========\n\nA Python API for Camtasia projects.\n\nQuickstart\n==========\n\nTo work with an existing Camtasia project, first load it:\n\n.. code-block:: python\n\n    import camtasia\n    proj = camtasia.load_project('path/to/project.cmproj')\n\nThe ``media_bin`` attribute of ``Project`` gives you access to elements in the media bin:\n\n.. code-block:: python\n\n    # list the Media in the MediaBin    \n    for media in proj.media_bin:\n        print(media.source)\n\n    # add a new media to the media bin\n    proj.media_bin.import_media('path/to/image/or/movie.mov')\n\nThe ``timeline`` attribute of ``Project`` gives you access to elements on the timeline:\n\n.. code-block:: python\n\n    # list the tracks on the timeline\n    for track in proj.timeline.tracks:\n        print(track.name)\n\n    # list the timeline markers\n    for marker in proj.timeline.markers:\n        print(marker.name, marker.time)\n\n    # print details of media on the timeline\n    for track in proj.timeline.tracks:\n        for media in track.medias:\n            print(media.start, media.duration)\n            for marker in media.markers:\n                print(marker.name, marker.time)\n\nAnd if you have edits to the project that you want to write to disk, use the ``save()`` method:\n\n.. code-block:: python\n\n    proj.save()\n\n``pytsc``\n=========\n\nThe package also installs a command-line program called ``pytsc`` which exposes a lot of the API. You can\nget help on ``pytsc`` with the \"-h\" flag::\n\n    $ pytsc -h\n\nYou can also get help on particular subcommands by putting \"-h\" after the subcommand name::\n\n    $ pytsc tracks-ls -h\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python API for Camtasia projects",
    "version": "6.3.1",
    "project_urls": {
        "Homepage": "https://github.com/sixty-north/python-camtasia"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "915ac7546ba410f63c81ee18b2cb3e332175c557fe87f59a1c6f2daf70687ab4",
                "md5": "5e1911c88d7344b239bbabae0ba88212",
                "sha256": "8a369f138d23aa26a0e23458d4730d5b06476efcd2374bf0a49f73f1b13435d2"
            },
            "downloads": -1,
            "filename": "camtasia-6.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5e1911c88d7344b239bbabae0ba88212",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 25521,
            "upload_time": "2023-10-04T10:52:58",
            "upload_time_iso_8601": "2023-10-04T10:52:58.949731Z",
            "url": "https://files.pythonhosted.org/packages/91/5a/c7546ba410f63c81ee18b2cb3e332175c557fe87f59a1c6f2daf70687ab4/camtasia-6.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "41474d1d12da497314bab1d5c5373158bc7adef4b3ac04af3a480100b6b86591",
                "md5": "048a7f1aa694da343ed61e9442dad267",
                "sha256": "ba1970801678eb48e9a8e468f5a7b8c067f1f28f872fb3126f20e24b516575a9"
            },
            "downloads": -1,
            "filename": "camtasia-6.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "048a7f1aa694da343ed61e9442dad267",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 20797,
            "upload_time": "2023-10-04T10:53:00",
            "upload_time_iso_8601": "2023-10-04T10:53:00.975472Z",
            "url": "https://files.pythonhosted.org/packages/41/47/4d1d12da497314bab1d5c5373158bc7adef4b3ac04af3a480100b6b86591/camtasia-6.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-04 10:53:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sixty-north",
    "github_project": "python-camtasia",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "camtasia"
}
        
Elapsed time: 0.11524s