text2hologram


Nametext2hologram JSON
Version 0.1.5.3 PyPI version JSON
download
home_page
SummaryGenerate holograms from text
upload_time2023-08-31 23:27:23
maintainer
docs_urlNone
author
requires_python>=3.9
license
keywords text hologram
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # text2hologram

`text2hologram` is a Python package designed to generate holograms from text. It's built on top of the odak, timm, transformers, diffusers, accelerate, and torch libraries.

text2hologram supports Python 3.9 and above.

The project's source code is available [here](https://github.com/Linsonng/text2hologram/tree/main/text2hologram/src/text2hologram).

## Installation

To install the package, use the following pip command:

```shell
pip install text2hologram
```

## Usage

You can use the package from the command line with the `text2hologram` command. 

Here is a simple usage example:

```shell
text2hologram --device 'cuda' --outputdir './output'
```

The command above checks the device first,and then ask for a text input. generates a hologram from the input text using GPU and saves the output in the './output' directory.

Here's a brief description of each option:


- `--device` : Computation device to use. Can be 'cpu' or 'cuda'.
- `--outputdir` : Directory to save output files.
- `--inference_steps` : Inference steps to generate an image. A higher number of inference steps will result in a more accurate and detailed image, but increase the computational cost and time required.

See more settings in [config.json](https://github.com/Linsonng/text2hologram/blob/main/text2hologram/src/text2hologram/config.json). All settings are named in a self-explanatory manner.

## License

text2hologram is licensed under the MIT license. The terms of the license can be found in the LICENSE file.

## Contact

For any questions or feedback, you are welcome to reach out to Pengze Li at linsonng@163.com.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "text2hologram",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "text,hologram",
    "author": "",
    "author_email": "Pengze Li <linsonng@163.com>",
    "download_url": "https://files.pythonhosted.org/packages/29/b3/3d7d51b9f0913ca9036c67f2d9962867299c0990ebfbb61d0b4001fa1e06/text2hologram-0.1.5.3.tar.gz",
    "platform": null,
    "description": "# text2hologram\r\n\r\n`text2hologram` is a Python package designed to generate holograms from text. It's built on top of the odak, timm, transformers, diffusers, accelerate, and torch libraries.\r\n\r\ntext2hologram supports Python 3.9 and above.\r\n\r\nThe project's source code is available [here](https://github.com/Linsonng/text2hologram/tree/main/text2hologram/src/text2hologram).\r\n\r\n## Installation\r\n\r\nTo install the package, use the following pip command:\r\n\r\n```shell\r\npip install text2hologram\r\n```\r\n\r\n## Usage\r\n\r\nYou can use the package from the command line with the `text2hologram` command. \r\n\r\nHere is a simple usage example:\r\n\r\n```shell\r\ntext2hologram --device 'cuda' --outputdir './output'\r\n```\r\n\r\nThe command above checks the device first,and then ask for a text input. generates a hologram from the input text using GPU and saves the output in the './output' directory.\r\n\r\nHere's a brief description of each option:\r\n\r\n\r\n- `--device` : Computation device to use. Can be 'cpu' or 'cuda'.\r\n- `--outputdir` : Directory to save output files.\r\n- `--inference_steps` : Inference steps to generate an image. A higher number of inference steps will result in a more accurate and detailed image, but increase the computational cost and time required.\r\n\r\nSee more settings in [config.json](https://github.com/Linsonng/text2hologram/blob/main/text2hologram/src/text2hologram/config.json). All settings are named in a self-explanatory manner.\r\n\r\n## License\r\n\r\ntext2hologram is licensed under the MIT license. The terms of the license can be found in the LICENSE file.\r\n\r\n## Contact\r\n\r\nFor any questions or feedback, you are welcome to reach out to Pengze Li at linsonng@163.com.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Generate holograms from text",
    "version": "0.1.5.3",
    "project_urls": {
        "Homepage": "https://github.com/Linsonng/text2hologram"
    },
    "split_keywords": [
        "text",
        "hologram"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "caa25b35fff4c0835871b18be1d346a8d84090cd15f1f864b54fdccca2dbefbe",
                "md5": "8c0f074d71660dd590305cb1161e06ac",
                "sha256": "44cbc803db882184245262b82ba3c3cf149d896e8d26854e996239d390cbe734"
            },
            "downloads": -1,
            "filename": "text2hologram-0.1.5.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8c0f074d71660dd590305cb1161e06ac",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 15293,
            "upload_time": "2023-08-31T23:27:21",
            "upload_time_iso_8601": "2023-08-31T23:27:21.806285Z",
            "url": "https://files.pythonhosted.org/packages/ca/a2/5b35fff4c0835871b18be1d346a8d84090cd15f1f864b54fdccca2dbefbe/text2hologram-0.1.5.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "29b33d7d51b9f0913ca9036c67f2d9962867299c0990ebfbb61d0b4001fa1e06",
                "md5": "cf69e66a93bdc0632b1b90f138ee1049",
                "sha256": "6d0ae9f413b74ac52b7afd13ba7c449657e88de80f8bafefe06ddb07ef576a17"
            },
            "downloads": -1,
            "filename": "text2hologram-0.1.5.3.tar.gz",
            "has_sig": false,
            "md5_digest": "cf69e66a93bdc0632b1b90f138ee1049",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 13347,
            "upload_time": "2023-08-31T23:27:23",
            "upload_time_iso_8601": "2023-08-31T23:27:23.483464Z",
            "url": "https://files.pythonhosted.org/packages/29/b3/3d7d51b9f0913ca9036c67f2d9962867299c0990ebfbb61d0b4001fa1e06/text2hologram-0.1.5.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-31 23:27:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Linsonng",
    "github_project": "text2hologram",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "text2hologram"
}
        
Elapsed time: 0.12615s