Clase rápida para trabajar con notebooks
Project description
Jupyter Functions Exec
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyter_functions_exec-0.5.0-cp311-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: jupyter_functions_exec-0.5.0-cp311-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.11+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f220edb1f906755fecc12df4663c9df02989fe02a557d3902cc2c692283d2b5
|
|
| MD5 |
45dd0fc9ab5838fefca07ee6fe196b9d
|
|
| BLAKE2b-256 |
8a69fd260dcd7e6c873a9f2fa2eefa46b2cc100c5fc6e73bf617c3a07be948ce
|
Provenance
The following attestation bundles were made for jupyter_functions_exec-0.5.0-cp311-abi3-manylinux_2_34_x86_64.whl:
Publisher:
python-publish.yml on Osc-Ort/jupyter_functions_exec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jupyter_functions_exec-0.5.0-cp311-abi3-manylinux_2_34_x86_64.whl -
Subject digest:
6f220edb1f906755fecc12df4663c9df02989fe02a557d3902cc2c692283d2b5 - Sigstore transparency entry: 849926107
- Sigstore integration time:
-
Permalink:
Osc-Ort/jupyter_functions_exec@85765f6e19dac229060ad23d63eb3c7abd7b7ba0 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/Osc-Ort
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@85765f6e19dac229060ad23d63eb3c7abd7b7ba0 -
Trigger Event:
release
-
Statement type: