strawman


Namestrawman JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/dobraczka/strawman
SummaryLibrary for simple dummy objects
upload_time2023-08-30 20:21:51
maintainer
docs_urlNone
authorDaniel Obraczka
requires_python>=3.8,<4.0
licenseMIT
keywords prototyping
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
<img src="https://github.com/dobraczka/strawman/raw/main/docs/assets/logo.png" alt="strawman logo", width=200/>
<h2 align="center"> strawman</h2>
</p>


<p align="center">
<a href="https://github.com/dobraczka/strawman/actions/workflows/main.yml"><img alt="Actions Status" src="https://github.com/dobraczka/strawman/actions/workflows/main.yml/badge.svg?branch=main"></a>
<a href='https://strawman.readthedocs.io/en/latest/?badge=latest'><img src='https://readthedocs.org/projects/strawman/badge/?version=latest' alt='Documentation Status' /></a>
<a href="https://codecov.io/gh/dobraczka/strawman"><img src="https://codecov.io/gh/dobraczka/strawman/branch/main/graph/badge.svg"/></a>
<a href="https://pypi.org/project/strawman"/><img alt="Stable python versions" src="https://img.shields.io/pypi/pyversions/strawman"></a>
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
</p>

Usage
=====

Create a dummy DataFrame:

```python
    >>> from strawman import dummy_df
    >>> dummy_df((5,3))
             0    1    2
    0  Ass  wEB  jEx
    1  xxD  TtW  Xzs
    2  ITh  mpj  tgy
    3  rgN  ZyW  kzR
    4  FPO  XiY  ARn
```

Or create a triples DataFrame:

```python
    >>> from strawman import dummy_triples
    >>> dummy_triples(5)
      head relation tail
    0   e2     rel0   e1
    1   e1     rel0   e0
    2   e1     rel0   e2
    3   e0     rel0   e2
    4   e1     rel1   e0
```

Installation
============

Via pip:

```bash
pip install strawman
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dobraczka/strawman",
    "name": "strawman",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "prototyping",
    "author": "Daniel Obraczka",
    "author_email": "obraczka@informatik.uni-leipzig.de",
    "download_url": "https://files.pythonhosted.org/packages/f5/12/b069b6ce9366e03e8086f51193aa9d531d59a5c4b9f8b025f99f28b08a31/strawman-0.1.3.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n<img src=\"https://github.com/dobraczka/strawman/raw/main/docs/assets/logo.png\" alt=\"strawman logo\", width=200/>\n<h2 align=\"center\"> strawman</h2>\n</p>\n\n\n<p align=\"center\">\n<a href=\"https://github.com/dobraczka/strawman/actions/workflows/main.yml\"><img alt=\"Actions Status\" src=\"https://github.com/dobraczka/strawman/actions/workflows/main.yml/badge.svg?branch=main\"></a>\n<a href='https://strawman.readthedocs.io/en/latest/?badge=latest'><img src='https://readthedocs.org/projects/strawman/badge/?version=latest' alt='Documentation Status' /></a>\n<a href=\"https://codecov.io/gh/dobraczka/strawman\"><img src=\"https://codecov.io/gh/dobraczka/strawman/branch/main/graph/badge.svg\"/></a>\n<a href=\"https://pypi.org/project/strawman\"/><img alt=\"Stable python versions\" src=\"https://img.shields.io/pypi/pyversions/strawman\"></a>\n<a href=\"https://github.com/psf/black\"><img alt=\"Code style: black\" src=\"https://img.shields.io/badge/code%20style-black-000000.svg\"></a>\n</p>\n\nUsage\n=====\n\nCreate a dummy DataFrame:\n\n```python\n    >>> from strawman import dummy_df\n    >>> dummy_df((5,3))\n             0    1    2\n    0  Ass  wEB  jEx\n    1  xxD  TtW  Xzs\n    2  ITh  mpj  tgy\n    3  rgN  ZyW  kzR\n    4  FPO  XiY  ARn\n```\n\nOr create a triples DataFrame:\n\n```python\n    >>> from strawman import dummy_triples\n    >>> dummy_triples(5)\n      head relation tail\n    0   e2     rel0   e1\n    1   e1     rel0   e0\n    2   e1     rel0   e2\n    3   e0     rel0   e2\n    4   e1     rel1   e0\n```\n\nInstallation\n============\n\nVia pip:\n\n```bash\npip install strawman\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Library for simple dummy objects",
    "version": "0.1.3",
    "project_urls": {
        "Bug Tracker": "https://github.com/dobraczka/strawman/issues",
        "Documentation": "https://strawman.readthedocs.io",
        "Homepage": "https://github.com/dobraczka/strawman",
        "Repository": "https://github.com/dobraczka/strawman",
        "Source": "https://github.com/dobraczka/strawman"
    },
    "split_keywords": [
        "prototyping"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b827ea6d350c95c3ffcab60dcebb9c0bbcd07aef0199d90d598df4eee421b4f0",
                "md5": "d350ec909970d6f5e818e3655b6b0cbe",
                "sha256": "151a34058f2b768d8661b682f5de21c8b63ea95316034e4320472981c32fb022"
            },
            "downloads": -1,
            "filename": "strawman-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d350ec909970d6f5e818e3655b6b0cbe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 7225,
            "upload_time": "2023-08-30T20:21:50",
            "upload_time_iso_8601": "2023-08-30T20:21:50.103266Z",
            "url": "https://files.pythonhosted.org/packages/b8/27/ea6d350c95c3ffcab60dcebb9c0bbcd07aef0199d90d598df4eee421b4f0/strawman-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f512b069b6ce9366e03e8086f51193aa9d531d59a5c4b9f8b025f99f28b08a31",
                "md5": "a31e066e5b26155eb7d04ba893ca68cd",
                "sha256": "df3564c56c4819de26ae0256151f7e1feba809f8ddb4152af21e5910279cc4c4"
            },
            "downloads": -1,
            "filename": "strawman-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "a31e066e5b26155eb7d04ba893ca68cd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 7278,
            "upload_time": "2023-08-30T20:21:51",
            "upload_time_iso_8601": "2023-08-30T20:21:51.837613Z",
            "url": "https://files.pythonhosted.org/packages/f5/12/b069b6ce9366e03e8086f51193aa9d531d59a5c4b9f8b025f99f28b08a31/strawman-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-30 20:21:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dobraczka",
    "github_project": "strawman",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "strawman"
}
        
Elapsed time: 1.03595s