smfetch 1.3.1__tar.gz → 1.3.3__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.1 → smfetch-1.3.3}/PKG-INFO +1 -1
  2. {smfetch-1.3.1 → smfetch-1.3.3}/pyproject.toml +1 -1
  3. {smfetch-1.3.1 → smfetch-1.3.3}/smfetch/app.py +8 -1
  4. {smfetch-1.3.1 → smfetch-1.3.3}/uv.lock +1 -1
  5. {smfetch-1.3.1 → smfetch-1.3.3}/.gitignore +0 -0
  6. {smfetch-1.3.1 → smfetch-1.3.3}/Makefile +0 -0
  7. {smfetch-1.3.1 → smfetch-1.3.3}/README.md +0 -0
  8. {smfetch-1.3.1 → smfetch-1.3.3}/smfetch/__init__.py +0 -0
  9. {smfetch-1.3.1 → smfetch-1.3.3}/smfetch/config.py +0 -0
  10. {smfetch-1.3.1 → smfetch-1.3.3}/smfetch/jobs.py +0 -0
  11. {smfetch-1.3.1 → smfetch-1.3.3}/smfetch/library.py +0 -0
  12. {smfetch-1.3.1 → smfetch-1.3.3}/smfetch/smonline.py +0 -0
  13. {smfetch-1.3.1 → smfetch-1.3.3}/smfetch/static/app.js +0 -0
  14. {smfetch-1.3.1 → smfetch-1.3.3}/smfetch/static/index.html +0 -0
  15. {smfetch-1.3.1 → smfetch-1.3.3}/smfetch/static/style.css +0 -0
  16. {smfetch-1.3.1 → smfetch-1.3.3}/smfetch/updates.py +0 -0
  17. {smfetch-1.3.1 → smfetch-1.3.3}/smfetch/zenius.py +0 -0
  18. {smfetch-1.3.1 → smfetch-1.3.3}/tests/__init__.py +0 -0
  19. {smfetch-1.3.1 → smfetch-1.3.3}/tests/conftest.py +0 -0
  20. {smfetch-1.3.1 → smfetch-1.3.3}/tests/fixtures/category_1870.html +0 -0
  21. {smfetch-1.3.1 → smfetch-1.3.3}/tests/fixtures/latest_official.html +0 -0
  22. {smfetch-1.3.1 → smfetch-1.3.3}/tests/fixtures/latest_user.html +0 -0
  23. {smfetch-1.3.1 → smfetch-1.3.3}/tests/fixtures/simfile_63939.html +0 -0
  24. {smfetch-1.3.1 → smfetch-1.3.3}/tests/fixtures/simfile_70013.html +0 -0
  25. {smfetch-1.3.1 → smfetch-1.3.3}/tests/test_library.py +0 -0
  26. {smfetch-1.3.1 → smfetch-1.3.3}/tests/test_parsing.py +0 -0
  27. {smfetch-1.3.1 → smfetch-1.3.3}/tests/test_updates.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: smfetch
3
- Version: 1.3.1
3
+ Version: 1.3.3
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.1"
3
+ version = "1.3.3"
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"
@@ -409,12 +409,19 @@ def main() -> None:
409
409
  default=DEFAULT_PORT,
410
410
  help=f"port for the web interface (default: {DEFAULT_PORT})",
411
411
  )
412
+ parser.add_argument(
413
+ "-a",
414
+ "--addr",
415
+ type=str,
416
+ default="0.0.0.0",
417
+ help="bind address",
418
+ )
412
419
  args = parser.parse_args()
413
420
 
414
421
  print(f"Starting smfetch on http://localhost:{args.port}")
415
422
  uvicorn.run(
416
423
  "smfetch.app:app",
417
- host="0.0.0.1",
424
+ host=args.addr,
418
425
  port=args.port,
419
426
  log_level="warning",
420
427
  )
@@ -570,7 +570,7 @@ wheels = [
570
570
 
571
571
  [[package]]
572
572
  name = "smfetch"
573
- version = "1.3.1"
573
+ version = "1.3.3"
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
File without changes