libpt


Namelibpt JSON
Version 0.4.2 PyPI version JSON
download
home_pagehttps://git.cscherr.de/PlexSheep/pt
SummaryPersonal multitool
upload_time2024-03-03 17:04:34
maintainerNone
docs_urlNone
authorChristoph J. Scherr <software@cscherr.de>
requires_python>=3.8
licenseMIT
keywords library
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pt / libpt

![Project badge](https://img.shields.io/badge/language-Rust-blue.svg)
![Crates.io License](https://img.shields.io/crates/l/libpt)
![Gitea Release](https://img.shields.io/gitea/v/release/PlexSheep/pt?gitea_url=https%3A%2F%2Fgit.cscherr.de)
![Gitea language count](https://img.shields.io/gitea/languages/count/PlexSheep/pt?gitea_url=https%3A%2F%2Fgit.cscherr.de)
[![cargo checks and tests](https://github.com/PlexSheep/pt/actions/workflows/cargo.yaml/badge.svg)](https://github.com/PlexSheep/pt/actions/workflows/cargo.yaml)

![pt-logo](data/media/pt-logo.svg)

`pt` stands for either one of "personal tool", "plex tool", "pete" or something among those lines.
It is a collection of tools that i might or might not use. The intended purpose of this repo is that
I program whatever i feel is worth having in a personal thing into it, then use it as either a lib,
crate, python module or executable.

Let's see if I make it a bloated mess or stop committing after 30 hello worlds.

* [Original Repository](https://git.cscherr.de/PlexSheep/pt)
* [GitHub Mirror](https://github.com/PlexSheep/pt)
* [Codeberg Mirror](https://codeberg.org/PlexSheep/pt)
* [crates.io](https://crates.io/crates/libpt)
* [docs.rs](https://docs.rs/crate/libpt/)

## Dependencies

- See `cargo.toml`
- [openssl bindings for rust](https://docs.rs/openssl/latest/openssl/)
- [Python](https://www.python.org/)
- [`maturin`](https://maturin.rs) - `pip install maturin`

## Compiling & Installing from source

If you only want the rust library, you can simply build it with `cargo build`. Add it to your
project like any other local dependency.

If you want to use the python variant too, you need to compile with maturing.

- Install in `venv`: `maturin develop --release`
- Install in system: `maturin build --release && pip install target/wheels/libpt-x.x.x-*`

## Installing from [pypi](https://pypi.org)

`libpt` has been packaged for [pypi.org](https://pypi.org/project/libpt/).

You can install it with `pip install libpt`

## Installing from [crates.io](https://crates.io)

`libpt` has been packaged for [crates.io](https://crates.io/crates/libpt).

You can add the library to your project with `cargo add libpt`.

## Installing from my personal package registry

`libpt` has been packaged for [git.cscherr.de](https://git.cscherr.de).

You can add the registry to your `config.toml` and then `cargo add libpt`

[Package](https://git.cscherr.de/PlexSheep/-/packages/cargo/libpt/)

## Testing

Testing needs to be done separately for the rust and python parts:

- Rust testing with `cargo test`
- Python testing with `./scripts/pytests.sh` or `python -m unittest discover -fs tests/python`

## Documentation

The documentation can be automatically generated with `cargo doc --open`.

An up to date version of the Documentation can be found [here](https://docs.rs/libpt/)

## License

**Pt is MIT Licensed**


            

Raw data

            {
    "_id": null,
    "home_page": "https://git.cscherr.de/PlexSheep/pt",
    "name": "libpt",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "library",
    "author": "Christoph J. Scherr <software@cscherr.de>",
    "author_email": "Christoph J. Scherr <software@cscherr.de>",
    "download_url": "https://files.pythonhosted.org/packages/cf/bc/2fe9bd20fda32235c44c35f3e41264c655592dd86ef90fabeee242369c4b/libpt-0.4.2.tar.gz",
    "platform": null,
    "description": "# pt / libpt\n\n![Project badge](https://img.shields.io/badge/language-Rust-blue.svg)\n![Crates.io License](https://img.shields.io/crates/l/libpt)\n![Gitea Release](https://img.shields.io/gitea/v/release/PlexSheep/pt?gitea_url=https%3A%2F%2Fgit.cscherr.de)\n![Gitea language count](https://img.shields.io/gitea/languages/count/PlexSheep/pt?gitea_url=https%3A%2F%2Fgit.cscherr.de)\n[![cargo checks and tests](https://github.com/PlexSheep/pt/actions/workflows/cargo.yaml/badge.svg)](https://github.com/PlexSheep/pt/actions/workflows/cargo.yaml)\n\n![pt-logo](data/media/pt-logo.svg)\n\n`pt` stands for either one of \"personal tool\", \"plex tool\", \"pete\" or something among those lines.\nIt is a collection of tools that i might or might not use. The intended purpose of this repo is that\nI program whatever i feel is worth having in a personal thing into it, then use it as either a lib,\ncrate, python module or executable.\n\nLet's see if I make it a bloated mess or stop committing after 30 hello worlds.\n\n* [Original Repository](https://git.cscherr.de/PlexSheep/pt)\n* [GitHub Mirror](https://github.com/PlexSheep/pt)\n* [Codeberg Mirror](https://codeberg.org/PlexSheep/pt)\n* [crates.io](https://crates.io/crates/libpt)\n* [docs.rs](https://docs.rs/crate/libpt/)\n\n## Dependencies\n\n- See `cargo.toml`\n- [openssl bindings for rust](https://docs.rs/openssl/latest/openssl/)\n- [Python](https://www.python.org/)\n- [`maturin`](https://maturin.rs) - `pip install maturin`\n\n## Compiling & Installing from source\n\nIf you only want the rust library, you can simply build it with `cargo build`. Add it to your\nproject like any other local dependency.\n\nIf you want to use the python variant too, you need to compile with maturing.\n\n- Install in `venv`: `maturin develop --release`\n- Install in system: `maturin build --release && pip install target/wheels/libpt-x.x.x-*`\n\n## Installing from [pypi](https://pypi.org)\n\n`libpt` has been packaged for [pypi.org](https://pypi.org/project/libpt/).\n\nYou can install it with `pip install libpt`\n\n## Installing from [crates.io](https://crates.io)\n\n`libpt` has been packaged for [crates.io](https://crates.io/crates/libpt).\n\nYou can add the library to your project with `cargo add libpt`.\n\n## Installing from my personal package registry\n\n`libpt` has been packaged for [git.cscherr.de](https://git.cscherr.de).\n\nYou can add the registry to your `config.toml` and then `cargo add libpt`\n\n[Package](https://git.cscherr.de/PlexSheep/-/packages/cargo/libpt/)\n\n## Testing\n\nTesting needs to be done separately for the rust and python parts:\n\n- Rust testing with `cargo test`\n- Python testing with `./scripts/pytests.sh` or `python -m unittest discover -fs tests/python`\n\n## Documentation\n\nThe documentation can be automatically generated with `cargo doc --open`.\n\nAn up to date version of the Documentation can be found [here](https://docs.rs/libpt/)\n\n## License\n\n**Pt is MIT Licensed**\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Personal multitool",
    "version": "0.4.2",
    "project_urls": {
        "Homepage": "https://git.cscherr.de/PlexSheep/pt",
        "Source Code": "https://git.cscherr.de/PlexSheep/pt"
    },
    "split_keywords": [
        "library"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "572ce7c52ce1035e5bbf6ccacc3863db201746b73ed91d000682383402ffd3d5",
                "md5": "311b9d8ad523be54f5c707cdf329c515",
                "sha256": "4312dc0dee5538b4ec79889b66aced4cf2c496c66c9bf074e644a53b5dd92af9"
            },
            "downloads": -1,
            "filename": "libpt-0.4.2-cp311-cp311-manylinux_2_34_x86_64.whl",
            "has_sig": false,
            "md5_digest": "311b9d8ad523be54f5c707cdf329c515",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 458521,
            "upload_time": "2024-03-03T17:04:31",
            "upload_time_iso_8601": "2024-03-03T17:04:31.712393Z",
            "url": "https://files.pythonhosted.org/packages/57/2c/e7c52ce1035e5bbf6ccacc3863db201746b73ed91d000682383402ffd3d5/libpt-0.4.2-cp311-cp311-manylinux_2_34_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "cfbc2fe9bd20fda32235c44c35f3e41264c655592dd86ef90fabeee242369c4b",
                "md5": "359dd819d2c8a05d483835d796ef1fd6",
                "sha256": "bfe1c75619c4cc80eaeb8cba082b63f2375743ac366f2566300b1fc07baf4ec9"
            },
            "downloads": -1,
            "filename": "libpt-0.4.2.tar.gz",
            "has_sig": false,
            "md5_digest": "359dd819d2c8a05d483835d796ef1fd6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 74768,
            "upload_time": "2024-03-03T17:04:34",
            "upload_time_iso_8601": "2024-03-03T17:04:34.293293Z",
            "url": "https://files.pythonhosted.org/packages/cf/bc/2fe9bd20fda32235c44c35f3e41264c655592dd86ef90fabeee242369c4b/libpt-0.4.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-03 17:04:34",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "libpt"
}
        
Elapsed time: 1.80952s