{"id":23844,"library":"hawkesbook","title":"HawkesBook","description":"A Python package implementing Hawkes process methods for inference, simulation, and related calculations. Version 0.1.0, early development stage.","status":"active","version":"0.1.0","language":"python","source_language":"en","source_url":"https://github.com/Pat-Laub/hawkesbook","tags":["hawkes-process","point-process","simulation","inference"],"install":[{"cmd":"pip install hawkesbook","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"SimulateHawkes is in the simulate submodule, not top-level.","wrong":"from hawkesbook import SimulateHawkes","symbol":"SimulateHawkes","correct":"from hawkesbook.simulate import SimulateHawkes"},{"note":"InferenceHawkes is in the inference submodule.","wrong":"from hawkesbook import InferenceHawkes","symbol":"InferenceHawkes","correct":"from hawkesbook.inference import InferenceHawkes"}],"quickstart":{"code":"from hawkesbook.simulate import SimulateHawkes\nimport numpy as np\n# Simulate a Hawkes process\nsim = SimulateHawkes(mu=1.0, alpha=0.5, beta=2.0)\ntimes = sim.simulate(T=10.0)\nprint(times)","lang":"python","description":"Simulate a univariate Hawkes process with exponential kernel and print event times."},"warnings":[{"fix":"Pin to exact version in requirements.","message":"Version 0.1.0 is very early; API may change without notice.","severity":"gotcha","affected_versions":"0.1.x"},{"fix":"Read the source on GitHub for correct usage.","message":"No documentation or type stubs yet; rely only on source code.","severity":"gotcha","affected_versions":"0.1.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install hawkesbook' in the correct environment.","cause":"Package not installed or wrong Python environment.","error":"ModuleNotFoundError: No module named 'hawkesbook'"},{"fix":"Use 'from hawkesbook.simulate import SimulateHawkes'.","cause":"Importing from wrong location; SimulateHawkes is in the simulate submodule.","error":"AttributeError: module 'hawkesbook' has no attribute 'SimulateHawkes'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}