trackparse 0.3.1__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {trackparse-0.3.1 → trackparse-0.3.2}/PKG-INFO +11 -5
- {trackparse-0.3.1 → trackparse-0.3.2}/README.md +8 -3
- {trackparse-0.3.1 → trackparse-0.3.2}/pyproject.toml +3 -2
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/__init__.py +1 -1
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_data.py +1 -1
- {trackparse-0.3.1 → trackparse-0.3.2}/.gitignore +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/LICENSE +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_artists.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_assemble.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_classify.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_context.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_credits.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_digits.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_format.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_mode.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_normalize.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_parser.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_prefix.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_scanner.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_separator.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_tables.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_title.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_tracklist_edits.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_tracklist_kinds.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_tracklist_options.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_tracklist_parse.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_tracklist_positions.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_tracklist_split.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_tracklist_times.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_tracklist_types.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_tracklist_warnings.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/_words.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/options.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/py.typed +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/tracklist.py +0 -0
- {trackparse-0.3.1 → trackparse-0.3.2}/src/trackparse/types.py +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: trackparse
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Spec-driven parser for music track titles and tracklists: artists, feat, remixes, versions, junk, positions, times.
|
|
5
|
-
Project-URL: Homepage, https://github.
|
|
5
|
+
Project-URL: Homepage, https://4matic.github.io/trackparse/
|
|
6
|
+
Project-URL: Documentation, https://4matic.github.io/trackparse/guides/python/
|
|
6
7
|
Project-URL: Repository, https://github.com/4matic/trackparse
|
|
7
8
|
Project-URL: Issues, https://github.com/4matic/trackparse/issues
|
|
8
9
|
Project-URL: Changelog, https://github.com/4matic/trackparse/blob/main/python/CHANGELOG.md
|
|
@@ -37,6 +38,8 @@ Description-Content-Type: text/markdown
|
|
|
37
38
|
[](https://github.com/4matic/trackparse/actions/workflows/python.yml)
|
|
38
39
|
[](https://github.com/4matic/trackparse/blob/main/LICENSE)
|
|
39
40
|
|
|
41
|
+
**[Documentation](https://4matic.github.io/trackparse/)** · **[Python guide](https://4matic.github.io/trackparse/guides/python/)** · **[Playground](https://4matic.github.io/trackparse/playground/)**
|
|
42
|
+
|
|
40
43
|
**Turn messy track names into structured data: who made it, who's featured, who remixed it, and
|
|
41
44
|
what's just noise.**
|
|
42
45
|
|
|
@@ -229,7 +232,7 @@ parse("Queen - Bohemian Rhapsody (Live at Wembley 1986)").versions[0]
|
|
|
229
232
|
```
|
|
230
233
|
|
|
231
234
|
Version types, junk kinds and warnings are listed in the
|
|
232
|
-
[
|
|
235
|
+
[API reference](https://4matic.github.io/trackparse/reference/parse/) and typed as `Literal` aliases
|
|
233
236
|
(`VersionType`, `JunkKind`, `Warning`, `ArtistRole`, `ArtistSource`, `Mode`, `ModeOption`,
|
|
234
237
|
`VersionDelimiter`).
|
|
235
238
|
|
|
@@ -447,7 +450,7 @@ Warning codes: `time-missing`, `time-out-of-order`, `time-duplicate`, `no-start-
|
|
|
447
450
|
`position-duplicate`, `line-unparsed`. Edits: `set-time {line, seconds}`, `shift {seconds, lines? | from?}`
|
|
448
451
|
(all timed lines when neither is given), `sort-by-time {}`, `set-rest {line, rest}`,
|
|
449
452
|
`insert {after, text}` (`after: 0` inserts at the top), `delete {line}`. The
|
|
450
|
-
[
|
|
453
|
+
[Tracklist API reference](https://4matic.github.io/trackparse/reference/tracklist/) explains each one.
|
|
451
454
|
`to_dict()` gives the camelCase JSON from
|
|
452
455
|
[`tracklist.schema.json`](https://github.com/4matic/trackparse/blob/main/spec/schema/tracklist.schema.json),
|
|
453
456
|
byte-identical to the JS package's output.
|
|
@@ -492,8 +495,11 @@ same spec rule IDs. Behaviour changes start in the spec, not here: see
|
|
|
492
495
|
|
|
493
496
|
## Links
|
|
494
497
|
|
|
498
|
+
- [Documentation](https://4matic.github.io/trackparse/), with a [Python guide](https://4matic.github.io/trackparse/guides/python/) and a
|
|
499
|
+
[playground](https://4matic.github.io/trackparse/playground/) that runs the parser in your browser
|
|
495
500
|
- [Spec](https://github.com/4matic/trackparse/blob/main/spec/SPEC.md)
|
|
496
|
-
- [Project README](https://github.com/4matic/trackparse#readme)
|
|
501
|
+
- [Project README](https://github.com/4matic/trackparse#readme)
|
|
502
|
+
- [GitHub repository](https://github.com/4matic/trackparse)
|
|
497
503
|
- [Changelog](https://github.com/4matic/trackparse/blob/main/python/CHANGELOG.md)
|
|
498
504
|
- [npm package](https://www.npmjs.com/package/trackparse)
|
|
499
505
|
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
[](https://github.com/4matic/trackparse/actions/workflows/python.yml)
|
|
6
6
|
[](https://github.com/4matic/trackparse/blob/main/LICENSE)
|
|
7
7
|
|
|
8
|
+
**[Documentation](https://4matic.github.io/trackparse/)** · **[Python guide](https://4matic.github.io/trackparse/guides/python/)** · **[Playground](https://4matic.github.io/trackparse/playground/)**
|
|
9
|
+
|
|
8
10
|
**Turn messy track names into structured data: who made it, who's featured, who remixed it, and
|
|
9
11
|
what's just noise.**
|
|
10
12
|
|
|
@@ -197,7 +199,7 @@ parse("Queen - Bohemian Rhapsody (Live at Wembley 1986)").versions[0]
|
|
|
197
199
|
```
|
|
198
200
|
|
|
199
201
|
Version types, junk kinds and warnings are listed in the
|
|
200
|
-
[
|
|
202
|
+
[API reference](https://4matic.github.io/trackparse/reference/parse/) and typed as `Literal` aliases
|
|
201
203
|
(`VersionType`, `JunkKind`, `Warning`, `ArtistRole`, `ArtistSource`, `Mode`, `ModeOption`,
|
|
202
204
|
`VersionDelimiter`).
|
|
203
205
|
|
|
@@ -415,7 +417,7 @@ Warning codes: `time-missing`, `time-out-of-order`, `time-duplicate`, `no-start-
|
|
|
415
417
|
`position-duplicate`, `line-unparsed`. Edits: `set-time {line, seconds}`, `shift {seconds, lines? | from?}`
|
|
416
418
|
(all timed lines when neither is given), `sort-by-time {}`, `set-rest {line, rest}`,
|
|
417
419
|
`insert {after, text}` (`after: 0` inserts at the top), `delete {line}`. The
|
|
418
|
-
[
|
|
420
|
+
[Tracklist API reference](https://4matic.github.io/trackparse/reference/tracklist/) explains each one.
|
|
419
421
|
`to_dict()` gives the camelCase JSON from
|
|
420
422
|
[`tracklist.schema.json`](https://github.com/4matic/trackparse/blob/main/spec/schema/tracklist.schema.json),
|
|
421
423
|
byte-identical to the JS package's output.
|
|
@@ -460,8 +462,11 @@ same spec rule IDs. Behaviour changes start in the spec, not here: see
|
|
|
460
462
|
|
|
461
463
|
## Links
|
|
462
464
|
|
|
465
|
+
- [Documentation](https://4matic.github.io/trackparse/), with a [Python guide](https://4matic.github.io/trackparse/guides/python/) and a
|
|
466
|
+
[playground](https://4matic.github.io/trackparse/playground/) that runs the parser in your browser
|
|
463
467
|
- [Spec](https://github.com/4matic/trackparse/blob/main/spec/SPEC.md)
|
|
464
|
-
- [Project README](https://github.com/4matic/trackparse#readme)
|
|
468
|
+
- [Project README](https://github.com/4matic/trackparse#readme)
|
|
469
|
+
- [GitHub repository](https://github.com/4matic/trackparse)
|
|
465
470
|
- [Changelog](https://github.com/4matic/trackparse/blob/main/python/CHANGELOG.md)
|
|
466
471
|
- [npm package](https://www.npmjs.com/package/trackparse)
|
|
467
472
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "trackparse"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.2"
|
|
8
8
|
description = "Spec-driven parser for music track titles and tracklists: artists, feat, remixes, versions, junk, positions, times."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -44,7 +44,8 @@ classifiers = [
|
|
|
44
44
|
dependencies = []
|
|
45
45
|
|
|
46
46
|
[project.urls]
|
|
47
|
-
Homepage = "https://github.
|
|
47
|
+
Homepage = "https://4matic.github.io/trackparse/"
|
|
48
|
+
Documentation = "https://4matic.github.io/trackparse/guides/python/"
|
|
48
49
|
Repository = "https://github.com/4matic/trackparse"
|
|
49
50
|
Issues = "https://github.com/4matic/trackparse/issues"
|
|
50
51
|
Changelog = "https://github.com/4matic/trackparse/blob/main/python/CHANGELOG.md"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|