Skip to main content

No project description provided

Project description

Crawto-Quality

A Collection of Tools for improving code quality

Crawto-Doc

A command-line-tool to add numpy style docstrings to your python projects.
From reading just your code, its a docstring with a description, parameters, and and attributes & examples where applicable.
While it cannot totally complete your documentation, Crawto-Doc can fill in as much information you give it. Using mypy will fill in some missing pieces.

Why

Because documentation is a oft boring or an after-thought. Many programs exist to turn documentation into websites or otherwise shareable text. The CrawtoDoc package exists to turn code into documentation.

From

class DummyClassifier(MultiOutputMixin, ClassifierMixin, BaseEstimator):
    @_deprecate_positional_args
    def __init__(self, *, strategy="warn", random_state=None, constant=None):  
        self.strategy = strategy
        self.random_state = random_state
        self.constant = constant

To

class DummyClassifier(MultiOutputMixin, ClassifierMixin, BaseEstimator):  
    """<#TODO Description>

    Parameters
    ----------
    strategy : <#TODO type definition>, default=warn
        <#TODO Description>

    random_state : <#TODO type definition>, default=None
        <#TODO Description>

    constant : <#TODO type definition>, default=None
        <#TODO Description>

    Attributes
    ----------
    sparse_output_ : <#TODO type definition>
        <#TODO Attribute Description>

    n_outputs_ : <#TODO type definition>
        <#TODO Attribute Description>

    n_features_in_ : <#TODO type definition>
        <#TODO Attribute Description>

    outputs_2d_ : <#TODO type definition>
        <#TODO Attribute Description>

    Examples
    --------
    >>> from crawto-quality import crawto_doc
    >>> example = DummyClassifier(strategy='warn', random_state=None, constant=None)
    >>> example.fit(X=<#TODO Example Value>, y=<#TODO Example Value>, sample_weight=None)
    <#TODO Method Return Value>
    >>> example.predict(X=<#TODO Example Value>)
    <#TODO Method Return Value>
    >>> example.predict_proba(X=<#TODO Example Value>)
    <#TODO Method Return Value>
    >>> example.predict_log_proba(X=<#TODO Example Value>)
    <#TODO Method Return Value>
    >>> example.score(X=<#TODO Example Value>, y=<#TODO Example Value>, sample_weight=None)
    <#TODO Method Return Value>
    """

Project details


Download files

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

Source Distribution

crawto-quality-0.0.10.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

crawto_quality-0.0.10-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file crawto-quality-0.0.10.tar.gz.

File metadata

  • Download URL: crawto-quality-0.0.10.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for crawto-quality-0.0.10.tar.gz
Algorithm Hash digest
SHA256 43346dca31b238b42eb93f773b9d16535b5460a016d508f20f57e2342ff0158c
MD5 9aca3225f773878be012777de7c8d619
BLAKE2b-256 025748a046d6dd61db84f8cd1bcacd0b4a3a8d1be7b0738c8eea55d6e21fee76

See more details on using hashes here.

File details

Details for the file crawto_quality-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: crawto_quality-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for crawto_quality-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4aa3de3d8c5f32f53addc74aebe9db0062b8807da27394713be4b32a9019c6fa
MD5 dba366564b455d24decb75a755df2f26
BLAKE2b-256 60d882917bcf5c878170137783b33488cda573fd913229eddf83c3a5d1c3e8bb

See more details on using hashes here.

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