Skip to main content

Clase rápida para trabajar con notebooks

Project description

Jupyter Functions Exec

PyPI version License: MIT Rust

A high-performance Python package built in Rust that allows you to extract and execute functions directly from Jupyter Notebooks (.ipynb files).

Installation

Python 3.11 >=

pip install jupyter-functions-exec

API Reference

JupyterFunctions(notebook_path: str)

Creates a new instance by parsing a Jupyter notebook.


exec_function(name: str, /, *args, **kwargs) -> Any

Executes a function from the notebook with the provided arguments and returns the result.


return_function(name: str) -> Callable

Returns a function object that can be called later.


exists_function(name: str) -> bool

Checks if a function exists in the notebook.


functions_names() -> List[str]

Returns a list of all function names found in the notebook.


necessary_imports() -> List[str]

Returns all import statements found in the notebook.

License

MIT License - see the LICENSE file for details.

Author

Oscar - oscarortegarios@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

jupyter_functions_exec-0.7.0-cp311-abi3-win_amd64.whl (803.9 kB view details)

Uploaded CPython 3.11+Windows x86-64

jupyter_functions_exec-0.7.0-cp311-abi3-manylinux_2_34_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.34+ x86-64

jupyter_functions_exec-0.7.0-cp311-abi3-macosx_11_0_arm64.whl (894.5 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

Details for the file jupyter_functions_exec-0.7.0-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for jupyter_functions_exec-0.7.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2e113c67a007cd2783f941da0e681aaa6b43f35861248b97fad32ef185ddb1fb
MD5 16520839c2f8ff667addd16d2f9a3af0
BLAKE2b-256 b8edb959b9d548a47260542ece618b3208254c14bfbce85cb6da516af4025d8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupyter_functions_exec-0.7.0-cp311-abi3-win_amd64.whl:

Publisher: python-publish.yml on Osc-Ort/jupyter_functions_exec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jupyter_functions_exec-0.7.0-cp311-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for jupyter_functions_exec-0.7.0-cp311-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 defa8caf7ca5026e231d0b660fb7d0dcfa31f2a9384850400e203122d56cd434
MD5 39ab23f1283a546727950d91efa3b325
BLAKE2b-256 a9474051353039f278a439e98d682db8226f1322be360cb3d51910845cc62c50

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupyter_functions_exec-0.7.0-cp311-abi3-manylinux_2_34_x86_64.whl:

Publisher: python-publish.yml on Osc-Ort/jupyter_functions_exec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jupyter_functions_exec-0.7.0-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jupyter_functions_exec-0.7.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e8c6b9e9d527e958ffa91481fe182b8dc50f3a72fc95d552ce5b0b3a06d637b2
MD5 c58d9c4f63b803407d6df6b756a1ba0b
BLAKE2b-256 d2c0b493be06ac41f74cccb00b9648820a3451821a3a6eb325220ce7d156f250

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupyter_functions_exec-0.7.0-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: python-publish.yml on Osc-Ort/jupyter_functions_exec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page