pyjlyric


Namepyjlyric JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/eggplants/pyjlyric
SummaryJapanese Lyric Aggregator
upload_time2023-07-27 16:56:16
maintainer
docs_urlNone
authoreggplants
requires_python>=3.9,<3.12
licenseMIT
keywords japanese lyrics download-lyrics lyrics-scraping japanese-songs
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyjlyric: Japanese Lyric Aggregator

[![PyPI](
  <https://img.shields.io/pypi/v/pyjlyric?color=blue>
  ) ![Python Version](
  <https://img.shields.io/pypi/pyversions/pyjlyric>
  )](
  <https://pypi.org/project/pyjlyric/>
) [![Release Package](
  <https://github.com/eggplants/pyjlyric/actions/workflows/release.yml/badge.svg>
  )](
  <https://github.com/eggplants/pyjlyric/actions/workflows/release.yml>
) [![Ghcr](
  <https://ghcr-badge.deta.dev/eggplants/pyjlyric/size>
  )](
  <https://github.com/eggplants/pyjlyric/pkgs/container/pyjlyric/74193340?tag=latest>
)

[![pre-commit.ci status](
  <https://results.pre-commit.ci/badge/github/eggplants/pyjlyric/master.svg>
  )](
  <https://results.pre-commit.ci/latest/github/eggplants/pyjlyric/master>
) [![Maintainability](
  <https://api.codeclimate.com/v1/badges/efdc16e97af8b8914ce9/maintainability>
  )](
  <https://codeclimate.com/github/eggplants/pyjlyric/maintainability>
) [![Test Coverage](
  <https://api.codeclimate.com/v1/badges/efdc16e97af8b8914ce9/test_coverage>
  )](
  <https://codeclimate.com/github/eggplants/pyjlyric/test_coverage>
)

## Supported sites

<https://github.com/eggplants/pyjlyric/issues/4>

## Installation

```sh
pip install git+https://github.com/eggplants/pyjlyric
# or
pip install pyjlyric
```

## Usage

### CLI

```shellsession
$ jrc https://j-lyric.net/artist/a00126c/l013283.html
===
Title:          春よ来い
Artist:         童謡・唱歌
Lyric:          相馬 御風
Composer:       弘田 龍太郎
===
春よ来い早く来い
あるきはじめたみいちゃんが
赤い鼻緒のじょじょはいて
おんもへ出たいと待っている

春よ来い早く来い
おうちの前の桃の木の
蕾もみんなふくらんで
はよ咲きたいと待っている
```

```shellsession
$ jrc -h
usage: jrc [-h] [-V] url

get lyric data by URL.

positional arguments:
  url

options:
  -h, --help     show this help message and exit
  -V, --version  show program's version number and exit

supported sites:
  - ...
```

### Library

```python
import pyjlyric

pyjlyric.parse("https://kashinavi.com/song_view.html?155779")
```

Returns:

```python
KashinaviLyricPage(
    title='Life goes on',
    page_url=HttpUrl('https://kashinavi.com/song_view.html?155779', ),
    pageid='155779',
    artist=WithUrlText(
        link=HttpUrl('https://kashinavi.com/artist.html?artist=104498&kashu=King+%26+Prince&start=1', ),
        text='King & Prince'
    ),
    composer='Joacim Persson・Johan Alkenas・SQVARE・Sean Michael Alexander',
    lyricist='木村友威',
    arranger=None,
    lyric_sections=[['Keep it up, keep it up yup'], [...], [..., "Let's live it up"]]
)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/eggplants/pyjlyric",
    "name": "pyjlyric",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<3.12",
    "maintainer_email": "",
    "keywords": "japanese,lyrics,download-lyrics,lyrics-scraping,japanese-songs",
    "author": "eggplants",
    "author_email": "w10776e8w@yahoo.co.jp",
    "download_url": "https://files.pythonhosted.org/packages/1e/55/9ede57d5214767402a568c7e3c43c2b7f5ee1a1bc8590a96c21f597d5d05/pyjlyric-1.1.0.tar.gz",
    "platform": null,
    "description": "# pyjlyric: Japanese Lyric Aggregator\n\n[![PyPI](\n  <https://img.shields.io/pypi/v/pyjlyric?color=blue>\n  ) ![Python Version](\n  <https://img.shields.io/pypi/pyversions/pyjlyric>\n  )](\n  <https://pypi.org/project/pyjlyric/>\n) [![Release Package](\n  <https://github.com/eggplants/pyjlyric/actions/workflows/release.yml/badge.svg>\n  )](\n  <https://github.com/eggplants/pyjlyric/actions/workflows/release.yml>\n) [![Ghcr](\n  <https://ghcr-badge.deta.dev/eggplants/pyjlyric/size>\n  )](\n  <https://github.com/eggplants/pyjlyric/pkgs/container/pyjlyric/74193340?tag=latest>\n)\n\n[![pre-commit.ci status](\n  <https://results.pre-commit.ci/badge/github/eggplants/pyjlyric/master.svg>\n  )](\n  <https://results.pre-commit.ci/latest/github/eggplants/pyjlyric/master>\n) [![Maintainability](\n  <https://api.codeclimate.com/v1/badges/efdc16e97af8b8914ce9/maintainability>\n  )](\n  <https://codeclimate.com/github/eggplants/pyjlyric/maintainability>\n) [![Test Coverage](\n  <https://api.codeclimate.com/v1/badges/efdc16e97af8b8914ce9/test_coverage>\n  )](\n  <https://codeclimate.com/github/eggplants/pyjlyric/test_coverage>\n)\n\n## Supported sites\n\n<https://github.com/eggplants/pyjlyric/issues/4>\n\n## Installation\n\n```sh\npip install git+https://github.com/eggplants/pyjlyric\n# or\npip install pyjlyric\n```\n\n## Usage\n\n### CLI\n\n```shellsession\n$ jrc https://j-lyric.net/artist/a00126c/l013283.html\n===\nTitle:          \u6625\u3088\u6765\u3044\nArtist:         \u7ae5\u8b21\u30fb\u5531\u6b4c\nLyric:          \u76f8\u99ac \u5fa1\u98a8\nComposer:       \u5f18\u7530 \u9f8d\u592a\u90ce\n===\n\u6625\u3088\u6765\u3044\u65e9\u304f\u6765\u3044\n\u3042\u308b\u304d\u306f\u3058\u3081\u305f\u307f\u3044\u3061\u3083\u3093\u304c\n\u8d64\u3044\u9f3b\u7dd2\u306e\u3058\u3087\u3058\u3087\u306f\u3044\u3066\n\u304a\u3093\u3082\u3078\u51fa\u305f\u3044\u3068\u5f85\u3063\u3066\u3044\u308b\n\n\u6625\u3088\u6765\u3044\u65e9\u304f\u6765\u3044\n\u304a\u3046\u3061\u306e\u524d\u306e\u6843\u306e\u6728\u306e\n\u857e\u3082\u307f\u3093\u306a\u3075\u304f\u3089\u3093\u3067\n\u306f\u3088\u54b2\u304d\u305f\u3044\u3068\u5f85\u3063\u3066\u3044\u308b\n```\n\n```shellsession\n$ jrc -h\nusage: jrc [-h] [-V] url\n\nget lyric data by URL.\n\npositional arguments:\n  url\n\noptions:\n  -h, --help     show this help message and exit\n  -V, --version  show program's version number and exit\n\nsupported sites:\n  - ...\n```\n\n### Library\n\n```python\nimport pyjlyric\n\npyjlyric.parse(\"https://kashinavi.com/song_view.html?155779\")\n```\n\nReturns:\n\n```python\nKashinaviLyricPage(\n    title='Life goes on',\n    page_url=HttpUrl('https://kashinavi.com/song_view.html?155779', ),\n    pageid='155779',\n    artist=WithUrlText(\n        link=HttpUrl('https://kashinavi.com/artist.html?artist=104498&kashu=King+%26+Prince&start=1', ),\n        text='King & Prince'\n    ),\n    composer='Joacim Persson\u30fbJohan Alkenas\u30fbSQVARE\u30fbSean Michael Alexander',\n    lyricist='\u6728\u6751\u53cb\u5a01',\n    arranger=None,\n    lyric_sections=[['Keep it up, keep it up yup'], [...], [..., \"Let's live it up\"]]\n)\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Japanese Lyric Aggregator",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://github.com/eggplants/pyjlyric",
        "Repository": "https://github.com/eggplants/pyjlyric"
    },
    "split_keywords": [
        "japanese",
        "lyrics",
        "download-lyrics",
        "lyrics-scraping",
        "japanese-songs"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cbdb781dcb8238c28693a342a1724480e2290f3276b0220a73b3557375a0389d",
                "md5": "8b5a19efce720ff264e644a3c531ad77",
                "sha256": "16db71b20703b1c57855e2de0f48c3f8870c9b83dbe64f36f2bf7f1bf7fed1fc"
            },
            "downloads": -1,
            "filename": "pyjlyric-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8b5a19efce720ff264e644a3c531ad77",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<3.12",
            "size": 30532,
            "upload_time": "2023-07-27T16:56:15",
            "upload_time_iso_8601": "2023-07-27T16:56:15.913743Z",
            "url": "https://files.pythonhosted.org/packages/cb/db/781dcb8238c28693a342a1724480e2290f3276b0220a73b3557375a0389d/pyjlyric-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1e559ede57d5214767402a568c7e3c43c2b7f5ee1a1bc8590a96c21f597d5d05",
                "md5": "b477ded207092055d2d8eb36088bc660",
                "sha256": "7ca0ee04146c57527bbb3f1723baaf6883dc1de660c391e214aeae3e61c93a36"
            },
            "downloads": -1,
            "filename": "pyjlyric-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b477ded207092055d2d8eb36088bc660",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<3.12",
            "size": 16540,
            "upload_time": "2023-07-27T16:56:16",
            "upload_time_iso_8601": "2023-07-27T16:56:16.993266Z",
            "url": "https://files.pythonhosted.org/packages/1e/55/9ede57d5214767402a568c7e3c43c2b7f5ee1a1bc8590a96c21f597d5d05/pyjlyric-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-27 16:56:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "eggplants",
    "github_project": "pyjlyric",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pyjlyric"
}
        
Elapsed time: 0.09650s