Skip to content

PyHP 2.0

Compare
Choose a tag to compare
@Deric-W Deric-W released this 01 Feb 00:05
· 179 commits to master since this release
7047a97

Features added:

  • --config and --version cli argument
  • max_size and ttl caching options
  • more customizable request handling
  • automatic response code setting for header()

Changes:

  • structural changes
  • php functions now useable outside .pyhp files
  • renamed pyhp class to PyHP
  • replace print wrapper with PyHP.make_header_wrapper
  • cache handler interface
  • register_shutdown_function now uses atexit
  • improved IndentationError message

Fixes:

  • wrong directory size calculation in files_mtime
  • crash of files_mtime.py if os not in namespace