{ "info": { "author": "Jean Yves Beaucamp (@jeanyvesb9)", "author_email": "jeanyvesb9@me.com", "bugtrack_url": null, "classifiers": [], "description": "# Jupyter-Beeper\nA beep generator for Jupyter Notebooks (also IPython and Jupyter-Lab) that doesn't display a reproduction widget.\n\nThis library was created to solve an ongoing problem originated when creating multiple beeps with individual InvisibleAudio objects: even though the objects are displayed as blank widgets (and not the standard audio reproduction widget, with the playback controls), they still each take space thus disrupting the layout of the cell's output. This implementation uses a single display instance, updating it with a new InvisibleAudio object on each call to beep() but without changing the cell's output layout. A destructor was needed, in order to change the display instance back to a blank HTML object to prevent the sound from auto-playing every time the notebook is opened (given that the invisible widget is stored and functional on the cell's output).\n\n## Usage\n\n```python\nimport jupyter_beeper\n\nb = jupyter_beeper.Beeper()\n\n# Default config is frequency=440 Hz, secs=0.7 seconds, and\n# blocking=False (b.beep() will return when the sound begins)\nb.beep()\n\n# We have to put a sleep statement, since the previous call \n# for b.beep() is non blocking, and then it will overlap with\n# the next call to b.beep()\ntime.sleep(2)\n\n# This will not return until the beep is completed\nb.beep(frequency=530, secs=0.7, blocking=True)\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jeanyvesb9/Jupyter-Beeper", "keywords": "beep beeper sounds ipython jupyter", "license": "", "maintainer": "", "maintainer_email": "", "name": "Jupyter-Beeper", "package_url": "https://pypi.org/project/Jupyter-Beeper/", "platform": "", "project_url": "https://pypi.org/project/Jupyter-Beeper/", "project_urls": { "Homepage": "https://github.com/jeanyvesb9/Jupyter-Beeper" }, "release_url": "https://pypi.org/project/Jupyter-Beeper/1.0.3/", "requires_dist": [ "ipython", "numpy" ], "requires_python": "", "summary": "A beep generator for Jupyter Notebooks (and Jupyter-Lab) that doesn't display an audio reproduction widget.", "version": "1.0.3" }, "last_serial": 5005809, "releases": { "1.0.3": [ { "comment_text": "", "digests": { "md5": "10831abf7377018116d9f810109dff6d", "sha256": "07f485b7f2058c2d9f12a262ca8fb810a44ec3c9562bfb7a26c6f9a4944e3232" }, "downloads": -1, "filename": "Jupyter_Beeper-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "10831abf7377018116d9f810109dff6d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3845, "upload_time": "2019-03-30T01:18:22", "url": "https://files.pythonhosted.org/packages/77/51/b814db4b31ba42f20d90cec5f6df282db8c451556f7a2c02ea34e366b198/Jupyter_Beeper-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fdb158c32940b77e9f0aaed89ea5f850", "sha256": "63008ab149d52d9e22ca697fbb1fb4d161f4609f5a0ce599a8b7c9629c8b5832" }, "downloads": -1, "filename": "Jupyter-Beeper-1.0.3.tar.gz", "has_sig": false, "md5_digest": "fdb158c32940b77e9f0aaed89ea5f850", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2529, "upload_time": "2019-03-30T01:18:24", "url": "https://files.pythonhosted.org/packages/6b/a4/ae3bdd23fa6e5d5d4ae8e049229468d8f9a8663b82cdc507037087a4c665/Jupyter-Beeper-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "10831abf7377018116d9f810109dff6d", "sha256": "07f485b7f2058c2d9f12a262ca8fb810a44ec3c9562bfb7a26c6f9a4944e3232" }, "downloads": -1, "filename": "Jupyter_Beeper-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "10831abf7377018116d9f810109dff6d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3845, "upload_time": "2019-03-30T01:18:22", "url": "https://files.pythonhosted.org/packages/77/51/b814db4b31ba42f20d90cec5f6df282db8c451556f7a2c02ea34e366b198/Jupyter_Beeper-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fdb158c32940b77e9f0aaed89ea5f850", "sha256": "63008ab149d52d9e22ca697fbb1fb4d161f4609f5a0ce599a8b7c9629c8b5832" }, "downloads": -1, "filename": "Jupyter-Beeper-1.0.3.tar.gz", "has_sig": false, "md5_digest": "fdb158c32940b77e9f0aaed89ea5f850", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2529, "upload_time": "2019-03-30T01:18:24", "url": "https://files.pythonhosted.org/packages/6b/a4/ae3bdd23fa6e5d5d4ae8e049229468d8f9a8663b82cdc507037087a4c665/Jupyter-Beeper-1.0.3.tar.gz" } ] }