smfetch 1.3.2__tar.gz → 1.3.4__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.
Files changed (27) hide show
  1. {smfetch-1.3.2 → smfetch-1.3.4}/PKG-INFO +1 -1
  2. {smfetch-1.3.2 → smfetch-1.3.4}/pyproject.toml +1 -1
  3. {smfetch-1.3.2 → smfetch-1.3.4}/smfetch/app.py +3 -3
  4. {smfetch-1.3.2 → smfetch-1.3.4}/smfetch/static/app.js +5 -0
  5. {smfetch-1.3.2 → smfetch-1.3.4}/uv.lock +1 -1
  6. {smfetch-1.3.2 → smfetch-1.3.4}/.gitignore +0 -0
  7. {smfetch-1.3.2 → smfetch-1.3.4}/Makefile +0 -0
  8. {smfetch-1.3.2 → smfetch-1.3.4}/README.md +0 -0
  9. {smfetch-1.3.2 → smfetch-1.3.4}/smfetch/__init__.py +0 -0
  10. {smfetch-1.3.2 → smfetch-1.3.4}/smfetch/config.py +0 -0
  11. {smfetch-1.3.2 → smfetch-1.3.4}/smfetch/jobs.py +0 -0
  12. {smfetch-1.3.2 → smfetch-1.3.4}/smfetch/library.py +0 -0
  13. {smfetch-1.3.2 → smfetch-1.3.4}/smfetch/smonline.py +0 -0
  14. {smfetch-1.3.2 → smfetch-1.3.4}/smfetch/static/index.html +0 -0
  15. {smfetch-1.3.2 → smfetch-1.3.4}/smfetch/static/style.css +0 -0
  16. {smfetch-1.3.2 → smfetch-1.3.4}/smfetch/updates.py +0 -0
  17. {smfetch-1.3.2 → smfetch-1.3.4}/smfetch/zenius.py +0 -0
  18. {smfetch-1.3.2 → smfetch-1.3.4}/tests/__init__.py +0 -0
  19. {smfetch-1.3.2 → smfetch-1.3.4}/tests/conftest.py +0 -0
  20. {smfetch-1.3.2 → smfetch-1.3.4}/tests/fixtures/category_1870.html +0 -0
  21. {smfetch-1.3.2 → smfetch-1.3.4}/tests/fixtures/latest_official.html +0 -0
  22. {smfetch-1.3.2 → smfetch-1.3.4}/tests/fixtures/latest_user.html +0 -0
  23. {smfetch-1.3.2 → smfetch-1.3.4}/tests/fixtures/simfile_63939.html +0 -0
  24. {smfetch-1.3.2 → smfetch-1.3.4}/tests/fixtures/simfile_70013.html +0 -0
  25. {smfetch-1.3.2 → smfetch-1.3.4}/tests/test_library.py +0 -0
  26. {smfetch-1.3.2 → smfetch-1.3.4}/tests/test_parsing.py +0 -0
  27. {smfetch-1.3.2 → smfetch-1.3.4}/tests/test_updates.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: smfetch
3
- Version: 1.3.2
3
+ Version: 1.3.4
4
4
  Summary: Web interface for downloading simfiles from Zenius and StepManiaOnline
5
5
  Author-email: Raeed Ahmed <code@raeed.me>
6
6
  Requires-Python: <4,>=3.10
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "smfetch"
3
- version = "1.3.2"
3
+ version = "1.3.4"
4
4
  description = "Web interface for downloading simfiles from Zenius and StepManiaOnline"
5
5
  authors = [{ name = "Raeed Ahmed", email = "code@raeed.me" }]
6
6
  requires-python = ">=3.10,<4"
@@ -410,8 +410,8 @@ def main() -> None:
410
410
  help=f"port for the web interface (default: {DEFAULT_PORT})",
411
411
  )
412
412
  parser.add_argument(
413
- "-h",
414
- "--host",
413
+ "-a",
414
+ "--addr",
415
415
  type=str,
416
416
  default="0.0.0.0",
417
417
  help="bind address",
@@ -421,7 +421,7 @@ def main() -> None:
421
421
  print(f"Starting smfetch on http://localhost:{args.port}")
422
422
  uvicorn.run(
423
423
  "smfetch.app:app",
424
- host=args.host,
424
+ host=args.addr,
425
425
  port=args.port,
426
426
  log_level="warning",
427
427
  )
@@ -789,6 +789,11 @@ async function downloadZenPacks() {
789
789
  } catch (e) { toast(e.message, 'bad'); }
790
790
  }
791
791
 
792
+ // --- Zenius bundles ---
793
+
794
+ // Static markup wired once in wire() — registered so navigate() recognises it.
795
+ views['zen-bundles'] = () => {};
796
+
792
797
  async function downloadBundle(group) {
793
798
  if (!confirm(`Queue every pack in the ${group.toLowerCase()} group?\n\nThis can be a very large download.`)) return;
794
799
  try {
@@ -570,7 +570,7 @@ wheels = [
570
570
 
571
571
  [[package]]
572
572
  name = "smfetch"
573
- version = "1.3.2"
573
+ version = "1.3.4"
574
574
  source = { editable = "." }
575
575
  dependencies = [
576
576
  { name = "beautifulsoup4" },
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