league-shop-base


Nameleague-shop-base JSON
Version 1.0.75 PyPI version JSON
download
home_pagehttps://github.com/sandbox-pokhara/league-shop-base.git
SummaryA reusable Django app for league shop.
upload_time2024-08-23 17:48:32
maintainerNone
docs_urlNone
authorAnchal Gurung
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # League Shop Base

Reusable Django app

## Quick start

Add "lsb" to your INSTALLED_APPS setting like this::

```
    INSTALLED_APPS = [
        ...
        'lsb',
    ]
```

## To specify top sold skin values parser, add the following settings:

```
LSB_SETTINGS = {
    'top_sold_skin_values': {
        'func': <dotted_module_string_path>,
        'args': <args>,
        'kwargs': <kwargs>
    }
}
For example:

LSB_SETTINGS = {
    'top_sold_skin_values': {
        'func': 'lsb.utils.skins.get_top_sold_skin_values',
        'args': [0, 150],
        'kwargs': {}
    }
}

```

## Changelog (1.0.49)

- Renamed is_bare_metal to is_premium in admin
- Make rank field non nullable
- Added valid account and old stock filter. Needs `old_stock_max_date` in LSB_SETTINGS for old stock filter.
  ```
  LSB_SETTINGS = {
  ...
  "old_stock_max_date": "yyyy-mm-dd",
  ...
  }
  ```

## Changelog (1.0.72)

- Remove the requirement of `old_stock_max_date` in `LSB_SETTINGS`. It's not needed anymore. Replaced by `constants.OLD_STOCK_THRESHOLD` and `constants.OLD_STOCK_THRESHOLD_STR`. These can be used commonly for master-api, smurfskins-api, etc.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sandbox-pokhara/league-shop-base.git",
    "name": "league-shop-base",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Anchal Gurung",
    "author_email": "anchalghale@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f0/b0/2d701859614b8eedaf2aff09d38e3883f02f59e39090274290911c4f72f2/league_shop_base-1.0.75.tar.gz",
    "platform": null,
    "description": "# League Shop Base\n\nReusable Django app\n\n## Quick start\n\nAdd \"lsb\" to your INSTALLED_APPS setting like this::\n\n```\n    INSTALLED_APPS = [\n        ...\n        'lsb',\n    ]\n```\n\n## To specify top sold skin values parser, add the following settings:\n\n```\nLSB_SETTINGS = {\n    'top_sold_skin_values': {\n        'func': <dotted_module_string_path>,\n        'args': <args>,\n        'kwargs': <kwargs>\n    }\n}\nFor example:\n\nLSB_SETTINGS = {\n    'top_sold_skin_values': {\n        'func': 'lsb.utils.skins.get_top_sold_skin_values',\n        'args': [0, 150],\n        'kwargs': {}\n    }\n}\n\n```\n\n## Changelog (1.0.49)\n\n- Renamed is_bare_metal to is_premium in admin\n- Make rank field non nullable\n- Added valid account and old stock filter. Needs `old_stock_max_date` in LSB_SETTINGS for old stock filter.\n  ```\n  LSB_SETTINGS = {\n  ...\n  \"old_stock_max_date\": \"yyyy-mm-dd\",\n  ...\n  }\n  ```\n\n## Changelog (1.0.72)\n\n- Remove the requirement of `old_stock_max_date` in `LSB_SETTINGS`. It's not needed anymore. Replaced by `constants.OLD_STOCK_THRESHOLD` and `constants.OLD_STOCK_THRESHOLD_STR`. These can be used commonly for master-api, smurfskins-api, etc.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A reusable Django app for league shop.",
    "version": "1.0.75",
    "project_urls": {
        "Homepage": "https://github.com/sandbox-pokhara/league-shop-base.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "596db3f60c48c50ef620a6655064174bc27135bfa4c47b84742c4ac9a4470140",
                "md5": "93f972e8bcaa31fe096c32ab1cdb42b0",
                "sha256": "e821a48dbe2479b96b74f2093449f2a2dfbe690eb65612345f8bf01963157156"
            },
            "downloads": -1,
            "filename": "league_shop_base-1.0.75-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "93f972e8bcaa31fe096c32ab1cdb42b0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 36990,
            "upload_time": "2024-08-23T17:48:30",
            "upload_time_iso_8601": "2024-08-23T17:48:30.597820Z",
            "url": "https://files.pythonhosted.org/packages/59/6d/b3f60c48c50ef620a6655064174bc27135bfa4c47b84742c4ac9a4470140/league_shop_base-1.0.75-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f0b02d701859614b8eedaf2aff09d38e3883f02f59e39090274290911c4f72f2",
                "md5": "24494153a6460801fb0f283e50b59789",
                "sha256": "edb8a7ed74e186558be6e698604dc59711c539cded51035a5baf5aab21e782c8"
            },
            "downloads": -1,
            "filename": "league_shop_base-1.0.75.tar.gz",
            "has_sig": false,
            "md5_digest": "24494153a6460801fb0f283e50b59789",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 20409,
            "upload_time": "2024-08-23T17:48:32",
            "upload_time_iso_8601": "2024-08-23T17:48:32.192539Z",
            "url": "https://files.pythonhosted.org/packages/f0/b0/2d701859614b8eedaf2aff09d38e3883f02f59e39090274290911c4f72f2/league_shop_base-1.0.75.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-23 17:48:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sandbox-pokhara",
    "github_project": "league-shop-base",
    "github_not_found": true,
    "lcname": "league-shop-base"
}
        
Elapsed time: 0.35152s