django-crispy-tableselect


Namedjango-crispy-tableselect JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryCrispy layout object for selecting rows in a table
upload_time2024-06-10 10:37:21
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords crispy-forms django
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Django Crispy TableSelect
[![CI](https://github.com/techonomydev/django-tableselect/actions/workflows/ci.yml/badge.svg)](https://github.com/techonomydev/django-tableselect/actions/workflows/ci.yml)

*Note:* this package is under heavy development and currently in proof-of-concept phase.

Crispy layout object for selecting rows in a [django-tables2](https://github.com/jieter/django-tables2/) data table.

<center>
    <img width="900" src="./docs/images/demo.gif" alt="Animation showing a table with rows that are selected all at once and then unchecked one-by-one.">
</center>

## Todo list

- [ ] Write documentation (d'oh)
- [ ] Publish to PyPI
- [ ] Add checkbox in table header to select/de-select all rows at once.
- [ ] Add tests
- [ ] Audit accessibility

## Development setup

### Requirements
- At least python 3.9 (pyenv managed recommended)


### Install the django app with poetry
```bash
pyenv virtualenv 3.9 django-tableselect  # or your alternative to create a venv
pyenv activate django-tableselect
pip install poetry
make install

# Optional, when you're not creating the virtualenv yourself poetry will do it for you.
# You can activate the poetry venv like so:
source $(poetry env info --path)/bin/activate
```

### Linting
`flake8-black` and `flake8-isort` are installed and configured
```bash
make lint
```

### Formatting
`black` and `isort` are configured
```bash
make format
```


### Test
Pytest with coverage is default enabled
```bash
make test
```

### Run the django development server (sandbox)
First run the migrations:
```bash
make migrate
```

Now create a superuser:
```bash
sandbox/manage.py createsuperuser
```

Finally run the django dev server:
```bash
sandbox/manage.py runserver
```

You can now go to the django admin site: http://localhost:8000/admin

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "django-crispy-tableselect",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "crispy-forms, django",
    "author": null,
    "author_email": "\"Storm B. Heg\" <storm@stormbase.digital>",
    "download_url": "https://files.pythonhosted.org/packages/a7/d9/63687ec727158adf0bf8c3cf836ef8da3295ac39a46c2fc43f41c79e2f83/django_crispy_tableselect-0.1.0.tar.gz",
    "platform": null,
    "description": "# Django Crispy TableSelect\n[![CI](https://github.com/techonomydev/django-tableselect/actions/workflows/ci.yml/badge.svg)](https://github.com/techonomydev/django-tableselect/actions/workflows/ci.yml)\n\n*Note:* this package is under heavy development and currently in proof-of-concept phase.\n\nCrispy layout object for selecting rows in a [django-tables2](https://github.com/jieter/django-tables2/) data table.\n\n<center>\n    <img width=\"900\" src=\"./docs/images/demo.gif\" alt=\"Animation showing a table with rows that are selected all at once and then unchecked one-by-one.\">\n</center>\n\n## Todo list\n\n- [ ] Write documentation (d'oh)\n- [ ] Publish to PyPI\n- [ ] Add checkbox in table header to select/de-select all rows at once.\n- [ ] Add tests\n- [ ] Audit accessibility\n\n## Development setup\n\n### Requirements\n- At least python 3.9 (pyenv managed recommended)\n\n\n### Install the django app with poetry\n```bash\npyenv virtualenv 3.9 django-tableselect  # or your alternative to create a venv\npyenv activate django-tableselect\npip install poetry\nmake install\n\n# Optional, when you're not creating the virtualenv yourself poetry will do it for you.\n# You can activate the poetry venv like so:\nsource $(poetry env info --path)/bin/activate\n```\n\n### Linting\n`flake8-black` and `flake8-isort` are installed and configured\n```bash\nmake lint\n```\n\n### Formatting\n`black` and `isort` are configured\n```bash\nmake format\n```\n\n\n### Test\nPytest with coverage is default enabled\n```bash\nmake test\n```\n\n### Run the django development server (sandbox)\nFirst run the migrations:\n```bash\nmake migrate\n```\n\nNow create a superuser:\n```bash\nsandbox/manage.py createsuperuser\n```\n\nFinally run the django dev server:\n```bash\nsandbox/manage.py runserver\n```\n\nYou can now go to the django admin site: http://localhost:8000/admin\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Crispy layout object for selecting rows in a table",
    "version": "0.1.0",
    "project_urls": {
        "Changelog": "https://github.com/Stormbase/django-crispy-tableselect/blob/main/CHANGELOG.md",
        "Issues": "https://github.com/Stormbase/django-crispy-tableselect/issues",
        "Source": "https://github.com/Stormbase/django-crispy-tableselect"
    },
    "split_keywords": [
        "crispy-forms",
        " django"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1855949abf537a5b7c0e1ce7f529dc5cbfd9e8e806b97f448e867959d3e1a52",
                "md5": "fa9e2fa450227dbb0891887689a406bb",
                "sha256": "96745bcdde0a33f7769542cc486acfd27dc6ebee7b09e848c2f66dfb1c7dc4af"
            },
            "downloads": -1,
            "filename": "django_crispy_tableselect-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fa9e2fa450227dbb0891887689a406bb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 12732,
            "upload_time": "2024-06-10T10:37:18",
            "upload_time_iso_8601": "2024-06-10T10:37:18.788725Z",
            "url": "https://files.pythonhosted.org/packages/d1/85/5949abf537a5b7c0e1ce7f529dc5cbfd9e8e806b97f448e867959d3e1a52/django_crispy_tableselect-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a7d963687ec727158adf0bf8c3cf836ef8da3295ac39a46c2fc43f41c79e2f83",
                "md5": "d0dff1e7a938b79b9bae267d88701261",
                "sha256": "dd3c4344f28f42cb6b6b73423023183f042688991d143d628a731f84133699e3"
            },
            "downloads": -1,
            "filename": "django_crispy_tableselect-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d0dff1e7a938b79b9bae267d88701261",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 578802,
            "upload_time": "2024-06-10T10:37:21",
            "upload_time_iso_8601": "2024-06-10T10:37:21.168940Z",
            "url": "https://files.pythonhosted.org/packages/a7/d9/63687ec727158adf0bf8c3cf836ef8da3295ac39a46c2fc43f41c79e2f83/django_crispy_tableselect-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-10 10:37:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Stormbase",
    "github_project": "django-crispy-tableselect",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "django-crispy-tableselect"
}
        
Elapsed time: 1.14816s