Skip to main content

jupydocs_logo

Netlify Status

The easiest way to document your python library with jupyter and markdown.

Pleaes note jupydocs is currently under active development. 
It can be used for testing, but should not be used for deployment. 
It will change!

Installation

pip install jupydocs

Quickstart

from jupydocs.numpydocstring import NumpyDocString

def custom_sum(x, y):
    """A new take on the class `sum` function.
    
    Does 1 + 1 always need to equal 2? Not anymore! Thanks to the `custom_sum`
    function 1 + 1 will never equal 2 again.

    Parameters
    ----------
    x : float
        A number.
    y : float
        A number.

    Returns
    -------
    num : Float
        A new take on the traditional sum function. x * 2 + y * 3. Not at all
        useful. But fun!
        
    Example
    -------
    >>> from examplepackage.example import custom_sum
    >>> custom_sum(2, 3)
    13    
    """
    return x * 2 + y * 3

docstring = NumpyDocString(custom_sum)
docstring.render_md()

custom_sum

A new take on the class sum function.

Does 1 + 1 always need to equal 2? Not anymore! Thanks to the custom_sum function 1 + 1 will never equal 2 again.

Parameters

NAME TYPE DESCRIPTION
x float A number.
y float A number.

Returns

NAME TYPE DESCRIPTION
num Float A new take on the traditional sum function. x * 2 + y * 3. Not at all useful. But fun!

Example

>>> from examplepackage.example import custom_sum
>>> custom_sum(2, 3)
13

Metadata

Release files for jupydocs 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupydocs 0.1.1
File Size Uploaded Provenance Actions
jupydocs-0.1.1.tar.gz 5.8 kB Without provenance Details for jupydocs-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupydocs 0.1.1
File Interpreter ABI Platform Actions
jupydocs-0.1.1-py3-none-any.whl Python 3 none any Details for jupydocs-0.1.1-py3-none-any.whl

Total release size: 11.9 kB

Release files / jupydocs-0.1.1.tar.gz

Download URL jupydocs-0.1.1.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
78ea7c9465b315b4b4f39176ebf3541a2586106e98ac581c1bfa249dd7bc76fd
BLAKE2b-256 checksum
How to use checksums
aedb7e8c48a5e4cab86b10fa524cc5243a7a81f2b944ffd7faea3ec9e0c0eca2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.6 Darwin/19.6.0

Release files / jupydocs-0.1.1-py3-none-any.whl

Download URL jupydocs-0.1.1-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fc76bf87c9ce2c5d24f7d1ed82398cd719a39c456a9de177c3da1fa6a0eb01c
BLAKE2b-256 checksum
How to use checksums
eb25c1f6bf8158c43159ec77b8abe532e1a806943a33b5c85c069ad08fa52be6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.6 Darwin/19.6.0

Security for jupydocs 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page