giant-redirect-import


Namegiant-redirect-import JSON
Version 0.8 PyPI version JSON
download
home_pagehttps://github.com/giantmade/giant-redirect-import
SummaryReusable package which adds an option to bulk import redirects from a csv file
upload_time2024-04-16 15:08:07
maintainerNone
docs_urlNone
authorWill-Hoey
requires_python<4.0,>=3.10
licenseMIT
keywords import app
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Giant Redirect Import

A re-usable package which can be used in any project that requires a Redirect import via a CSV file.

This will include a basic form to upload a CSV file in the standard `Redirect` app supplied via django.

## Installation

To install with the package manager, run:

    $ poetry add giant-redirect-import

You should then add `"giant_redirect_import"` to the `INSTALLED_APPS` in your settings file, this MUST be directly above `django.contrib.redirects`.

In `base.py` there should also be a `REDIRECT_IMPORT_DEFAULT_SITE_ID`.


## Configuration

This application exposes the following settings:

- `REDIRECT_IMPORT_DEFAULT_SITE_ID` is the default site id used when importing and creating the redirects, this is usually the same as the SITE_ID.
 ## Preparing for release
 
 In order to prep the package for a new release on TestPyPi and PyPi there is one key thing that you need to do. You need to update the version number in the `pyproject.toml`.
 This is so that the package can be published without running into version number conflicts. The version numbering must also follow the Semantic Version rules which can be found here https://semver.org/.
 
 ## Publishing
 
 Publishing a package with poetry is incredibly easy. Once you have checked that the version number has been updated (not the same as a previous version) then you only need to run two commands.
 
    $ `poetry build` 

will package the project up for you into a way that can be published.
 
    $ `poetry publish`

will publish the package to PyPi. You will need to enter the username and password for the account which can be found in the company password manager

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/giantmade/giant-redirect-import",
    "name": "giant-redirect-import",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "import, app",
    "author": "Will-Hoey",
    "author_email": "will.hoey@hotmail.co.uk",
    "download_url": "https://files.pythonhosted.org/packages/7e/a9/985e303837fd8f7be37e9ce065e8bb9d11792e3533c2f748284fadf5c599/giant_redirect_import-0.8.tar.gz",
    "platform": null,
    "description": "# Giant Redirect Import\n\nA re-usable package which can be used in any project that requires a Redirect import via a CSV file.\n\nThis will include a basic form to upload a CSV file in the standard `Redirect` app supplied via django.\n\n## Installation\n\nTo install with the package manager, run:\n\n    $ poetry add giant-redirect-import\n\nYou should then add `\"giant_redirect_import\"` to the `INSTALLED_APPS` in your settings file, this MUST be directly above `django.contrib.redirects`.\n\nIn `base.py` there should also be a `REDIRECT_IMPORT_DEFAULT_SITE_ID`.\n\n\n## Configuration\n\nThis application exposes the following settings:\n\n- `REDIRECT_IMPORT_DEFAULT_SITE_ID` is the default site id used when importing and creating the redirects, this is usually the same as the SITE_ID.\n ## Preparing for release\n \n In order to prep the package for a new release on TestPyPi and PyPi there is one key thing that you need to do. You need to update the version number in the `pyproject.toml`.\n This is so that the package can be published without running into version number conflicts. The version numbering must also follow the Semantic Version rules which can be found here https://semver.org/.\n \n ## Publishing\n \n Publishing a package with poetry is incredibly easy. Once you have checked that the version number has been updated (not the same as a previous version) then you only need to run two commands.\n \n    $ `poetry build` \n\nwill package the project up for you into a way that can be published.\n \n    $ `poetry publish`\n\nwill publish the package to PyPi. You will need to enter the username and password for the account which can be found in the company password manager\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Reusable package which adds an option to bulk import redirects from a csv file",
    "version": "0.8",
    "project_urls": {
        "Homepage": "https://github.com/giantmade/giant-redirect-import",
        "Repository": "https://github.com/giantmade/giant-redirect-import"
    },
    "split_keywords": [
        "import",
        " app"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f4786f7a79c34251879bbd5fe6d99e4fe32a9691524c1df413fac99cb7b185eb",
                "md5": "3f95579fea495ac1a4fd13d4bf219cb8",
                "sha256": "c5ef0f8bdf1fdd9e1418ba4ff4ecb7481fb37198ad15f29d32480b59e001d56b"
            },
            "downloads": -1,
            "filename": "giant_redirect_import-0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3f95579fea495ac1a4fd13d4bf219cb8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 6337,
            "upload_time": "2024-04-16T15:08:05",
            "upload_time_iso_8601": "2024-04-16T15:08:05.970400Z",
            "url": "https://files.pythonhosted.org/packages/f4/78/6f7a79c34251879bbd5fe6d99e4fe32a9691524c1df413fac99cb7b185eb/giant_redirect_import-0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7ea9985e303837fd8f7be37e9ce065e8bb9d11792e3533c2f748284fadf5c599",
                "md5": "ad150461658120a83e69a9d7cc0e9480",
                "sha256": "3803c5d3777eeef3374814054f5d5151c6f15e4d4d10a845df7bfb1397d2e4ea"
            },
            "downloads": -1,
            "filename": "giant_redirect_import-0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "ad150461658120a83e69a9d7cc0e9480",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 4813,
            "upload_time": "2024-04-16T15:08:07",
            "upload_time_iso_8601": "2024-04-16T15:08:07.822653Z",
            "url": "https://files.pythonhosted.org/packages/7e/a9/985e303837fd8f7be37e9ce065e8bb9d11792e3533c2f748284fadf5c599/giant_redirect_import-0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-16 15:08:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "giantmade",
    "github_project": "giant-redirect-import",
    "github_not_found": true,
    "lcname": "giant-redirect-import"
}
        
Elapsed time: 1.58074s