<commit_before>{% extends "site_base.html" %}

{% load i18n %}
{% load humanize %}
{% load package_tags %}

{% block body_base %}
    <div class="container">
        <div class="content">
            <div class="page-header">
                <h1>{{ object.name }} <small>{{ object.version }}</small></h1>
            </div>

            <div class="row">
                <div class="span9">
                    <div class="summary">
                        {{ object.summary }}
                    </div>

                    <div id="install-cmd">
                        <h4>Install</h4>
                        pip install {{ object.name }}
                    </div>

                    <div class="author">
                        <h4>Author</h4>
                        {{ object.author }}
                    </div>

                    <div class="links">
                        <h4>Links</h4>
                        <ul class="unstyled">
                            {% for name, uri in object.uris.iteritems %}
                                <li><a href="{{ uri }}" title="{{ name }}">{{ name }}</a></li>
                            {% endfor %}
                        </ul>
                    </div>

                    <div class="requirements">
                        <h4>Pip</h4>
                        {{ object.requirement_line }}
                    </div>

                    <div id="classifiers">
                        <h4>Classifiers</h4>
                        <ul class="unstyled">
                            {% for classifier in object.classifiers.all %}
                                <li>{{ classifier.trove }}</li>
                            {% endfor %}
                        </ul>
                    </div>

                    <div class="row">
                        <div class="span3">
                            {% if object.requires.all %}
                                <h4>Requirements</h4>
                                <ul>
                                    {% for requirement in object.requires.all %}
                                        <li class="kind-{{ requirement.kind }}">
                                            <a href="">{{ requirement.name }}{{ requirement.version }}</a>
                                        </li>
                                    {% endfor %}
                                </ul>
                            {% endif %}
                        </div>

                        <div class="span3">
                            {% if object.provides.all %}
                                <h4>Provides</h4>
                                <ul>
                                    {% for provide in object.provides.all %}
                                        <li class="kind-{{ provide.kind }}">
                                            <a href="">{{ provide.name }}{{ provide.version }}</a>
                                        </li>
                                    {% endfor %}
                                </ul>
                            {% endif %}
                        </div>

                        <div class="span3">
                            {% if object.obsoletes.all %}
                                <h4>Obsoletes</h4>
                                <ul>
                                    {% for obsolete in object.obsoletes.all %}
                                        <li class="kind-{{ obsolete.kind }}">
                                            <a href="">{{ obsolete.name }}{{ obsolete.version }}</a>
                                        </li>
                                    {% endfor %}
                                </ul>
                            {% endif %}
                        </div>
                    </div>
                </div><commit_msg>use tabs to hide the long description to start with<commit_after>{% extends "site_base.html" %}

{% load i18n %}
{% load humanize %}
{% load package_tags %}

{% block body_base %}
    <div class="container">
        <div class="content">
            <div class="page-header">
                <h1>{{ object.name }} <small>{{ object.version }}</small></h1>
            </div>

            <div class="row">
                <div class="span9">
                    <div class="summary">
                        {{ object.summary }}
                    </div>

                    <div id="install-cmd">
                        <h4>Install</h4>
                        pip install {{ object.name }}
                    </div>

                    <ul id="package-tabs" class="nav tabs">
                        <li class="active"><a href="#info" data-toggle="tab">Info</a></li>
                        <li><a href="#description" data-toggle="tab">Description</a></li>
                    </ul>

                    <div class="tab-content">
                        <div id="description" class="tab-pane fade">
                        </div>

                        <div class="tab-pane fade in active" id="info">
                            <div class="author">
                                <h4>Author</h4>
                                {{ object.author }}
                            </div>

                            <div class="links">
                                <h4>Links</h4>
                                <ul class="unstyled">
                                    {% for name, uri in object.uris.iteritems %}
                                        <li><a href="{{ uri }}" title="{{ name }}">{{ name }}</a></li>
                                    {% endfor %}
                                </ul>
                            </div>

                            <div class="requirements">
                                <h4>Pip</h4>
                                {{ object.requirement_line }}
                            </div>

                            <div id="classifiers">
                                <h4>Classifiers</h4>
                                <ul class="unstyled">
                                    {% for classifier in object.classifiers.all %}
                                        <li>{{ classifier.trove }}</li>
                                    {% endfor %}
                                </ul>
                            </div>

                            <div class="row">
                                <div class="span3">
                                    {% if object.requires.all %}
                                        <h4>Requirements</h4>
                                        <ul>
                                            {% for requirement in object.requires.all %}
                                                <li class="kind-{{ requirement.kind }}">
                                                    <a href="">{{ requirement.name }}{{ requirement.version }}</a>
                                                </li>
                                            {% endfor %}
                                        </ul>
                                    {% endif %}
                                </div>

                                <div class="span3">
                                    {% if object.provides.all %}
                                        <h4>Provides</h4>
                                        <ul>
                                            {% for provide in object.provides.all %}
                                                <li class="kind-{{ provide.kind }}">
                                                    <a href="">{{ provide.name }}{{ provide.version }}</a>
                                                </li>
                                            {% endfor %}
                                        </ul>
                                    {% endif %}
                                </div>

                                <div class="span3">
                                    {% if object.obsoletes.all %}
                                        <h4>Obsoletes</h4>
                                        <ul>
                                            {% for obsolete in object.obsoletes.all %}
                                                <li class="kind-{{ obsolete.kind }}">
                                                    <a href="">{{ obsolete.name }}{{ obsolete.version }}</a>
                                                </li>
                                            {% endfor %}
                                        </ul>
                                    {% endif %}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
{'fraction_non_alphanumeric': 0.11635111876075732, 'fraction_numerical': 0.005507745266781412, 'mean_word_length': 0.5925452219989037, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 169, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 78, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3516446', 'n_tokens_mistral': 1904, 'n_tokens_neox': 1656, 'n_words': 347}