Skip to main content

package explain data concept python

Project description

Explain Me

Example

from explain_me.visual import visualize_package





with open('preview.html', 'w+') as file:
    file.write("""
<html>
    <body>
        <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
        <script>
            mermaid.initialize({ startOnLoad: true });
            
            
//get svg element.
var svg = document.getElementsByTagName('svg')[0];

            
            
        </script>

        <div class="mermaid">
            classDiagram
    """)
    

    for line in visualize_package(nama_library):
        file.write(line+"\n")

    file.write("""
            
        </div>
        <a id="link" href="#">download</a>
    </body>
</html>
        """)

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

explain_me-0.2.0.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

explain_me-0.2.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

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