pjsekai.scores


Namepjsekai.scores JSON
Version 0.1.10 PyPI version JSON
download
home_page
SummaryRender Project Sekai score files (sus) to images (svg).
upload_time2023-12-31 08:13:33
maintainer
docs_urlNone
author
requires_python>=3.10
licenseMIT License Copyright (c) 2023 pjsekai.moe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords project sekai pjsekai sus
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Project Sekai Scores

プロセカの譜面ファイル解析し、ベクトル画像(SVG)を生成する。

## Installation

pip でインストール:

```
pip install pjsekai.scores
```

また、手動でビルドしてインストール:

```
python -m build
pip install dist/pjsekai.scores-*.whl
```

## Usage

Project Sekai Scores には、デフォルトの起動スクリプトが含まれており、ローカルの SUS 譜面ファイルを読み込み、それを SVG ベクター画像に変換することができます。以下のコマンドを使って簡単に実行できます:

```
python -m pjsekai.scores <xxx.sus>
```

以下はパッケージとして使用して譜面画像を生成する例です:

```python
import pjsekai.scores

score = pjsekai.scores.Score.open('1.sus', encoding='UTF-8')
drawing = pjsekai.scores.Drawing(score=score)
drawing.svg().saveas('1.svg')
```

譜面ファイルを個性化して豊かにするカスタマイズ機能を提供しています。下記の文書をご参照ください:

* [BPM、拍子、セクションを変換](https://gitlab.com/pjsekai/scores/-/wikis/rebase)

* [歌詞を追加](https://gitlab.com/pjsekai/scores/-/wikis/lyric)

* [スタイルシートをカスタマイズ](https://gitlab.com/pjsekai/scores/-/wikis/css)

## License

Project Sekai Scores は MIT ライセンスのもとで提供されています。詳細については、[LICENSE](LICENSE) ファイルをご覧ください。

Project Sekai Scores は SEGA・Colorful Palette・プロジェクトセカイとは一切関係がありません。

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pjsekai.scores",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "Project Sekai,pjsekai,SUS",
    "author": "",
    "author_email": "Amaoto <amaoto@pjsekai.moe>",
    "download_url": "https://files.pythonhosted.org/packages/4d/c2/27ec5cbf9fa976ee5f21be6b8a039972f9b02e57917b0c9999bd166b9e46/pjsekai.scores-0.1.10.tar.gz",
    "platform": null,
    "description": "# Project Sekai Scores\n\n\u30d7\u30ed\u30bb\u30ab\u306e\u8b5c\u9762\u30d5\u30a1\u30a4\u30eb\u89e3\u6790\u3057\u3001\u30d9\u30af\u30c8\u30eb\u753b\u50cf\uff08SVG\uff09\u3092\u751f\u6210\u3059\u308b\u3002\n\n## Installation\n\npip \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff1a\n\n```\npip install pjsekai.scores\n```\n\n\u307e\u305f\u3001\u624b\u52d5\u3067\u30d3\u30eb\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff1a\n\n```\npython -m build\npip install dist/pjsekai.scores-*.whl\n```\n\n## Usage\n\nProject Sekai Scores \u306b\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u542b\u307e\u308c\u3066\u304a\u308a\u3001\u30ed\u30fc\u30ab\u30eb\u306e SUS \u8b5c\u9762\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u3001\u305d\u308c\u3092 SVG \u30d9\u30af\u30bf\u30fc\u753b\u50cf\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u7c21\u5358\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\uff1a\n\n```\npython -m pjsekai.scores <xxx.sus>\n```\n\n\u4ee5\u4e0b\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u3057\u3066\u4f7f\u7528\u3057\u3066\u8b5c\u9762\u753b\u50cf\u3092\u751f\u6210\u3059\u308b\u4f8b\u3067\u3059\uff1a\n\n```python\nimport pjsekai.scores\n\nscore = pjsekai.scores.Score.open('1.sus', encoding='UTF-8')\ndrawing = pjsekai.scores.Drawing(score=score)\ndrawing.svg().saveas('1.svg')\n```\n\n\u8b5c\u9762\u30d5\u30a1\u30a4\u30eb\u3092\u500b\u6027\u5316\u3057\u3066\u8c4a\u304b\u306b\u3059\u308b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u4e0b\u8a18\u306e\u6587\u66f8\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\uff1a\n\n* [BPM\u3001\u62cd\u5b50\u3001\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u5909\u63db](https://gitlab.com/pjsekai/scores/-/wikis/rebase)\n\n* [\u6b4c\u8a5e\u3092\u8ffd\u52a0](https://gitlab.com/pjsekai/scores/-/wikis/lyric)\n\n* [\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba](https://gitlab.com/pjsekai/scores/-/wikis/css)\n\n## License\n\nProject Sekai Scores \u306f MIT \u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u3082\u3068\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001[LICENSE](LICENSE) \u30d5\u30a1\u30a4\u30eb\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\n\nProject Sekai Scores \u306f SEGA\u30fbColorful Palette\u30fb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30bb\u30ab\u30a4\u3068\u306f\u4e00\u5207\u95a2\u4fc2\u304c\u3042\u308a\u307e\u305b\u3093\u3002\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 pjsekai.moe  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Render Project Sekai score files (sus) to images (svg).",
    "version": "0.1.10",
    "project_urls": {
        "Bug Tracker": "https://gitlab.com/pjsekai/scores/-/issues",
        "Documentation": "https://gitlab.com/pjsekai/scores/-/wikis",
        "Homepage": "https://gitlab.com/pjsekai/scores"
    },
    "split_keywords": [
        "project sekai",
        "pjsekai",
        "sus"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d2582694c09014c6278474837e978f8ea60389c91c7643e5db2dccfa5d603b6b",
                "md5": "2c2815289999e5d13cc5b3704ed4e17b",
                "sha256": "b47d3af0123badea77858cb3ec1ff3814d7468286f654eb8fb1a47954a0f7edf"
            },
            "downloads": -1,
            "filename": "pjsekai.scores-0.1.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2c2815289999e5d13cc5b3704ed4e17b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 20254,
            "upload_time": "2023-12-31T08:13:32",
            "upload_time_iso_8601": "2023-12-31T08:13:32.043616Z",
            "url": "https://files.pythonhosted.org/packages/d2/58/2694c09014c6278474837e978f8ea60389c91c7643e5db2dccfa5d603b6b/pjsekai.scores-0.1.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4dc227ec5cbf9fa976ee5f21be6b8a039972f9b02e57917b0c9999bd166b9e46",
                "md5": "1f5ecb7f121c901dd410706afb295b31",
                "sha256": "13e83d31fde7314f4ee643cca1529d144eccc8ab508bbc24ee270ede80756834"
            },
            "downloads": -1,
            "filename": "pjsekai.scores-0.1.10.tar.gz",
            "has_sig": false,
            "md5_digest": "1f5ecb7f121c901dd410706afb295b31",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 17534,
            "upload_time": "2023-12-31T08:13:33",
            "upload_time_iso_8601": "2023-12-31T08:13:33.683467Z",
            "url": "https://files.pythonhosted.org/packages/4d/c2/27ec5cbf9fa976ee5f21be6b8a039972f9b02e57917b0c9999bd166b9e46/pjsekai.scores-0.1.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-31 08:13:33",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "pjsekai",
    "gitlab_project": "scores",
    "lcname": "pjsekai.scores"
}
        
Elapsed time: 2.62130s