fastmusic 0.1.0__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.
@@ -0,0 +1,52 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # Distribution / packaging
7
+ build/
8
+ dist/
9
+ *.egg-info/
10
+ *.egg
11
+ .eggs/
12
+ wheels/
13
+ pip-wheel-metadata/
14
+ MANIFEST
15
+ *.manifest
16
+
17
+ # Virtual environments
18
+ .venv/
19
+ venv/
20
+ env/
21
+ ENV/
22
+
23
+ # Test / lint / type-check caches
24
+ .pytest_cache/
25
+ .mypy_cache/
26
+ .ruff_cache/
27
+ .coverage
28
+ .coverage.*
29
+ coverage.xml
30
+ htmlcov/
31
+
32
+ # Tooling
33
+ .idea/
34
+ .vscode/
35
+ *.swp
36
+ *.swo
37
+ .DS_Store
38
+ Thumbs.db
39
+
40
+ # Local configuration and secrets
41
+ .env
42
+ .env.*
43
+ !.env.example
44
+
45
+ # Runtime output
46
+ downloads/
47
+ *.mp3
48
+ *.m4a
49
+ *.part
50
+
51
+ # Build logs
52
+ *.log
@@ -0,0 +1,30 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.1.0] - 2026-12-03
11
+
12
+ ### Added
13
+
14
+ - Deezer search for tracks, albums and artists, plus combined search.
15
+ - Deezer charts, artist top tracks and related artists.
16
+ - Metadata lookups for tracks, albums and artists.
17
+ - Direct 30-second preview downloads with atomic writes.
18
+ - Full track downloads through `yt-dlp` with MP3 conversion via `ffmpeg`.
19
+ - ID3 tagging (`TIT2`, `TPE1`, `TALB`, `TPE2`) and high-quality Deezer
20
+ cover art (`APIC`) through `mutagen`.
21
+ - `FastMusicClient` with configurable directories, timeouts, throttling and
22
+ a custom downloader.
23
+ - Top-level convenience API with a lazily created shared client.
24
+ - CLI entry point `fastmusic` and `python -m fastmusic`.
25
+ - Fully typed public models and `py.typed` marker.
26
+ - Offline test suite, ruff, mypy and build configuration.
27
+ - Bilingual Russian/English README and `docs/index.html` site.
28
+
29
+ [Unreleased]: https://github.com/vlad-abobus/FastMusicAPI/compare/v0.1.0...HEAD
30
+ [0.1.0]: https://github.com/vlad-abobus/FastMusicAPI/releases/tag/v0.1.0
@@ -0,0 +1,67 @@
1
+ # Contributing to fastmusic
2
+
3
+ Thanks for taking the time to improve fastmusic.
4
+
5
+ ## Development setup
6
+
7
+ ```bash
8
+ git clone https://github.com/vlad-abobus/FastMusicAPI.git
9
+ cd FastMusicAPI
10
+ python -m venv .venv
11
+ ```
12
+
13
+ Activate the environment:
14
+
15
+ ```bash
16
+ # Windows
17
+ .venv\Scripts\activate
18
+
19
+ # Linux / macOS
20
+ source .venv/bin/activate
21
+ ```
22
+
23
+ Install the package with development dependencies:
24
+
25
+ ```bash
26
+ pip install -e ".[dev]"
27
+ ```
28
+
29
+ ## Checks
30
+
31
+ Run the same checks as CI before opening a pull request:
32
+
33
+ ```bash
34
+ pytest
35
+ pytest --cov=fastmusic --cov-report=term-missing
36
+ ruff check .
37
+ ruff format --check .
38
+ mypy
39
+ ```
40
+
41
+ Tests must stay fully offline. Mock Deezer, HTTP sessions, `yt-dlp` and
42
+ tagging instead of making network calls.
43
+
44
+ ## Pull requests
45
+
46
+ - Keep each pull request focused on one change.
47
+ - Add or update tests for behavior changes.
48
+ - Keep the public API fully typed.
49
+ - Update `CHANGELOG.md` under `[Unreleased]` for user-visible changes.
50
+ - Make sure the GitHub Actions CI is green.
51
+
52
+ ## Reporting bugs
53
+
54
+ Open an issue at
55
+ https://github.com/vlad-abobus/FastMusicAPI/issues and include:
56
+
57
+ - operating system and Python version;
58
+ - package version;
59
+ - the command or code that failed;
60
+ - the full traceback or error message.
61
+
62
+ Do not include Deezer or PyPI secrets in issues.
63
+
64
+ ## Security
65
+
66
+ Please report vulnerabilities privately as described in
67
+ [SECURITY.md](SECURITY.md).
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 vlad-abobus
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.