Saravanan666/pypi-org huggingface dataset:
Package: django-bootstrap4
django-bootstrap 4Bootstrap 4 for Django.GoalThe goal of this project is to seamlessly blend Django and Bootstrap 4.RequirementsThis package requires a combination of Python and Django that is currently supported.See "Supported Versions" onhttps://www.djangoproject.com/download/.DocumentationThe full documentation is athttps://django-bootstrap4.readthedocs.io/InstallationInstall using pip:pipinstalldjango-bootstrap4Alternatively, you can install download or clone this repo and callpip install -e ..Add toINSTALLED_APPSin yoursettings.py:INSTALLED_APPS=(# ..."bootstrap4",# ...)In your templates, load thebootstrap4library and use thebootstrap_*tags. See example below.Example template{%loadbootstrap4%}{# Display a form #}<form action="/url/to/submit/" method="post" class="form">{%csrf_token%}{%bootstrap_formform%}{%buttons%}<button type="submit" class="btn btn-primary">Submit</button>{%endbuttons%}</form>ExampleAn example application app is provided inexample. You can run it withmake example.Bugs and suggestionsIf you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.https://github.com/zostera/django-bootstrap4/issuesLicenseYou can use this under BSD-3-Clause. SeeLICENSEfile for details.AuthorDeveloped and maintained byZostera.Original author:Dylan Verheul.Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words.Please seeAUTHORSfor a list of contributors.
Package: django-bootstrap4-datetimepicker
This package uses Bootstrap v3 datetimepicker widget version 2 provided by the following project:https://github.com/Eonasdan/bootstrap-datetimepickerThe correct formatting options for dates can be found here:http://momentjs.com/docs/It works only with Bootstrap3. If you are using Bootstrap2 in your
Django project, check out this:https://github.com/zokis/django-bootstrap-datetimepickerInstallRunpip installdjango-bootstrap3-datetimepickerAdd'bootstrap3_datetime'to yourINSTALLED_APPSExampleforms.pyfrom bootstrap3_datetime.widgets import DateTimePicker
from django import forms

class ToDoForm(forms.Form):
    todo = forms.CharField(
        widget=forms.TextInput(attrs={"class": "form-control"}))
    date = forms.DateField(
        widget=DateTimePicker(options={"format": "YYYY-MM-DD",
                                       "pickTime": False}))
    reminder = forms.DateTimeField(
        required=False,
        widget=DateTimePicker(options={"format": "YYYY-MM-DD HH:mm",
                                       "pickSeconds": False}))Theoptionswill be passed to the JavaScript datetimepicker
instance. Availableoptionsare explained in the following
documents:http://eonasdan.github.io/bootstrap-datetimepicker/You don’t need to set thelanguageoption, because it will be set
the current language of the thread automatically.template.html<!DOCTYPE html>
<html>
    <head>
        <link rel="stylesheet"
              href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.css">
        <link rel="stylesheet"
              href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.css">
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.js">
        </script>
        <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.js">
        </script>
        {{ form.media }}
    </head>
    <body>
        <form method="post" role="form">
            {% for field in form.visible_fields %}
            <div id="div_{{ field.html_name }}"
                 class="form-group{% if field.errors %} has-error{% endif %}">
                {{ field.label_tag }}
                {{ field }}
                <div class="text-muted pull-right">
                    <small>{{ field.help_text }}</small>
                </div>
                <div class="help-block">
                    {{ field.errors }}
                </div>
            </div>
            {% endfor %}
            {% for hidden in form.hidden_fields %}
                {{ hidden }}
            {% endfor %}
            {% csrf_token %}
            <div class="form-group">
                <input type="submit" value="Submit" class="btn btn-primary" />
            </div>
        </form>
    </body>
</html>Bootstrap3 and jQuery have to be included along with{{ form.media }}Release Notesv2.3Updated bootstrap-datetimepicker.js to version 3.0v2.2.3Updated bootstrap-datetimepicker.js to version 2.1.30v2.2.3Updated bootstrap-datetimepicker.js to version 2.1.30v2.0.0Includes bootstrap-datetimepicker.js version 2.1.11 with moment.jsThe format strings have changed due to using moment.jsRequirementsPython >= 2.4Django >= 1.3Bootstrap >= 3.0
Package: django-bootstrap4-nav
This library was created to make django work with some generic bootstrap4 templates. This library uses the basic
functionality from django-bootstrap4. I use it to match templates with mydjango_materialize_navlibrary.SetupInstall the library.# project/settings.pyINSTALLED_APPS=["bootstrap4_nav",...]Setup Context ProcessorsBootstrap4_nav comes with a context processor to use some settings to change the default base styling.# Context Processor to work with settingsTEMPLATES=[{...'OPTIONS':{'context_processors':[...'bootstrap4_nav.context_processors.get_context',],},},]Alternative way to get the standard context for views# views.pyfrombootstrap4_nav.context_processorsimportget_contextdefshow_page(request):# Get the context with the style settingscontext=get_context(site_name='demo',title='Basic Content')context["object"]="MyObject"returnrender(request,"my_page.html",context)StyleThe base template can be used by extending the materialize base nav.{% extends "bootstrap4_nav/base.html" %}


{% block nav_items %}<liclass="navbar-item{% if title == 'Page1' %} active{% endif %}"><aclass="nav-link"href="/">Page1</a></li><liclass="navbar-item{% if title == 'Page2' %} active{% endif %}"><aclass="nav-link"href="/">Page2</a></li><liclass="navbar-item{% if title == 'Page3' %} active{% endif %}"><aclass="nav-link"href="/">Page3</a></li>{% endblock %}

{% block contents %}<div><p>My Content goes here</p></div>{% endblock %}Styling controlsBootstrap4_nav comes with several style options used in the template context variables listed below.BOOTSTRAP4_SITE_NAMEBOOTSTRAP4_TITLEIf you went through theSetup Context Processorsstep then you can modify several settings to change the default style.
This is an alternative to manually providing all of the template context variables.# settings.pyBOOTSTRAP4_SITE_NAME=None# Display this name in the navbar as the main nameBOOTSTRAP4_TITLE=None# This is the page title displayed as the browser tab name
Package: django-bootstrap5
django-bootstrap5Bootstrap 5 for Django.GoalThe goal of this project is to seamlessly blend Django and Bootstrap 5.StatusReady for production. Issues and pull requests welcome, seeCONTRIBUTING.md.RequirementsThis package requires a combination of Python and Django that is currently supported.See "Supported Versions" onhttps://www.djangoproject.com/download/.DocumentationThe full documentation is athttps://django-bootstrap5.readthedocs.io/InstallationInstall using pip:pip install django-bootstrap5Add toINSTALLED_APPSin yoursettings.py:INSTALLED_APPS=(# ..."django_bootstrap5",# ...)In your templates, load thedjango_bootstrap5library and use thebootstrap_*tags. See example below.Example template{% load django_bootstrap5 %}

<form action="/url/to/submit/" method="post" class="form">
    {% csrf_token %}

    {% bootstrap_form form %}

    {% bootstrap_button button_type="submit" content="OK" %}
    {% bootstrap_button button_type="reset" content="Cancel" %}
</form>Example appAn example app is provided in the folderexample. You can run the example app with this command:make exampleBugs and suggestionsIf you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.https://github.com/zostera/django-bootstrap5/issuesLicenseYou can use this under BSD-3-Clause. SeeLICENSEfile for details.AuthorDeveloped and maintained byZostera.Original author:Dylan Verheul.Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words.Please seeAUTHORSfor a list of contributors.
Package: django-bootstrap-admin
====Bootstrap=====Bootstrap is an app for django that adds Twitter Bootstrap and other nicities to the Django admin.Quick start-----------1. Add "bootstrap" to your INSTALLED_APPS settings before "django.contrib.admin" like this:INSTALLED_APPS = (...'bootstrap','django.contrib.admin',)2. If you want to add custom css to the admin you can override the custom.css file by adding a file at admin/css/custom.css in your apps static directory.3. Visit http://127.0.0.1:8000/admin/ to check it out.
Package: django-bootstrap-assets
Collection of static assets (CSS, JavaScript, images) that allow for quickly
adding Twitter bootstrap and related plugins to a Django project.jQuery is also included with the assets. Although the project is released under
Apache License 2.0, jQuery is covered separately by MIT license. See LICENSE
and LICENSE-jQuery files for more details.InstallationTo install, use pip or easy_install:pip install django-bootstrap-assetsNext, add one of the preferred pluggable apps toINSTALLED_APPS. For
example, if we want to install Bootstrap and all of the plugins at once:INSTALLED_APPS = (
    ...
    'bootstrap_all',
    ...
)Apps are explained inStructure of the packagessection.Included pluginsFollowing two plugins are included:select2bootstrap-datepickerStructure of the packagesThis project is divided into four packages. Each package contains a pluggable
Django app which provides static assets.bootstrap: contains Twitter bootstrap onlybootstrap_select2: contains select2 pluginbootstrap_datepicker: contains the datepicker pluginbootstrap_all: contains all of the aboveEach package has normal Django app structure with astaticdirectory
containing the assets.Thebootstrap_allapp simply contains symlinks to all of the assets in
other three apps.
Package: django-bootstrap-base-template
A base template for Django projects using Bootstrap.Home-page: https://github.com/gunthercox/django-bootstrap-base-templateAuthor: Gunther CoxAuthor-email: gunthercx@gmail.comLicense: BSDDownload-URL: https://github.com/gunthercox/django-bootstrap-base-template/tarball/0.0.2Description:Template module===============Keywords: django,bootstrapPlatform: anyClassifier: Development Status :: 4 - BetaClassifier: Intended Audience :: DevelopersClassifier: License :: OSI Approved :: BSD LicenseClassifier: Environment :: Web EnvironmentClassifier: Operating System :: OS IndependentClassifier: Topic :: Software Development :: Libraries :: Python ModulesClassifier: Topic :: InternetClassifier: Programming Language :: PythonClassifier: Programming Language :: Python :: 3Classifier: Programming Language :: Python :: 3.4Classifier: Programming Language :: Python :: 3.5
Package: django-bootstrap-calendar
=============================django-bootstrap-calendar=============================simple calendar based on the bootstrap calendar from http://bootstrap-calendar.azurewebsites.net/.. image:: https://raw.github.com/sandlbn/django-bootstrap-calendar/master/screenshot.pngRequirements------------- Python 2.6, 2.7- Django (1.4.3+)- jsmin (2.0.3+)Instalation----------Django:settings.py::INSTALLED_APPS = (...'django_bootstrap_calendar',...)urls.py::urlpatterns = patterns('',...(r'^calendar/', include('django_bootstrap_calendar.urls')),...)Load templatetags::{% load bootstrap_calendar %}In your template file::Calendar controls :{% bootstrap_controls 'optional-css-classes' %}Calendar:{% bootstrap_calendar 'optional-css-classes' %}In your base.html file css section::{% bootstrap_calendar_css %}In your base.html file javascript section::{% bootstrap_calendar_js language="lang-code" %}{% bootstrap_calendar_init language="lang-code" %}History-------0.1.0 (2013-08-15)++++++++++++++++++* First release on PyPI.
Package: django-bootstrap-colors
This django app allows to override the primary color and its variants in
bootstrap.UsageAddbootstrap_colorstoINSTALLED_APPSAddpath('colors.css', BootstrapColorsView.as_view(), name='colors')tourls.pyAdd<link rel="stylesheet" type="text/css" href="{% url 'colors' %}">to
your templateSetBOOTSTRAP_THEME_COLORS(Default:['#0d6efd', '#0b5ed7', '#0a58ca'])Optional: Configure caching, e.g. by usingdjango.views.decorators.cache.cache_controlAlternativesBootstrap provides several ways to achieve this:CSS custom properities: It would be great if we could just change a few
custom properties. Unfortunately they are not used in a way that would
allow that.Scss variables: This requires a Scss compiler somewhere in the build
process which I would like to avoid.Override CSS: This is the approach that is used in this package.
However, it is brittle because the underlying bootstrap code might change.
Package: django-bootstrap-customizer
Django Bootstrap CustomizerDjango Bootstrap Customizer lets you build a custom Bootstrap theme by creatingBootstrapThememodels from the Django admin.BootstrapThemevalues are converted to Bootstrap SCSS variables that are used to compile customized Bootstrap CSS when you save your theme, usinglibsass-pythonunder the hood.Enjoy tailored Bootstrap CSS without having to set up a Node front-end assets pipeline!FeaturesBootstrap 4.Generates optimized above-the-fold and below-the-fold CSS payloads, perfect for improving your site'sGoogle PageSpeedscore.Customized Bootstrap themes for each site in amulti-siteinstallation.No Node/NPM/Gulp/Webpack required.DocumentationDocumentation is available in thedocsdirectoryand athttps://johnfraney.github.io/django-bootstrap-customizer.Example ProjectAn example project is included in theexampledirectory. See thedocsfor more information.ScreenshotCreditsTools used in rendering this package:Bootstraplibsass-pythondjango-colorfulcssutilsCookiecutterCode of ConductEveryone interacting in the project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow thePyPA Code of Conduct.HistoryAll notable changes to this project will be documented in this file.The format is based onKeep a Changelog,
and this project adheres toSemantic Versioning.[0.2.0] - 2019-10-02ChangedUpdated to Bootstrap 4.3.1Updated Tox configurationSimplified Travis configuration[0.1.4] - 2019-04-18FixedFix an error in Windows caused by mixed slashes in SCSS paths (#2) - @vincent-picot[0.1.3] - 2018-09-09AddedInitial release on PyPI
Package: django-bootstrap-datepicker-plus
This django widget contains Bootstrap 3, Bootstrap 4 and Bootstrap 5
Date-Picker, Time-Picker, DateTime-Picker, Month-Picker and Year-Picker input
with date-range-picker functionality for django version >= 2.0.
The widget implementsbootstrap-datetimepicker v4to show bootstrap-datepicker in django model forms and custom forms
which can be configured easily for date-range selection.If you are not using Bootstrap usedjango-flatpickrinstead.DemoWith Bootstrap 3With Bootstrap 4With Bootstrap 5Getting StartedFollow theGetting Started doc.Head over toUsagesection to see how to use it in forms and views.Read detailedDocumentation on ReadTheDocsLooks complex to get started? Follow aQuick Walkthrough TutorialGetting errors? SeeTroubleshoot instructionsUsageUsage in Generic View# File: views.pyfrombootstrap_datepicker_plus.widgetsimportDateTimePickerInputfromdjango.viewsimportgenericfrom.modelsimportQuestionclassCreateView(generic.edit.CreateView):model=Questionfields=["question_text","pub_date"]defget_form(self):form=super().get_form()form.fields["pub_date"].widget=DateTimePickerInput()returnformAdvanced UsageUsage in Custom FormUsage in Model FormUsage docTypes of DatePickersThe widget contains all types of date-picker you may ever need.# File: forms.pyfrombootstrap_datepicker_plus.widgetsimportDatePickerInput,TimePickerInput,DateTimePickerInput,MonthPickerInput,YearPickerInputfromdjangoimportformsclassEventForm(forms.ModelForm):classMeta:model=Eventfields=["start_date","start_time","start_datetime","start_month","start_year"]widgets={"start_date":DatePickerInput(),"start_time":TimePickerInput(),"start_datetime":DateTimePickerInput(),"start_month":MonthPickerInput(),"start_year":YearPickerInput(),}Implement date-range-pickerDatePickers can be linked to select a date-range or time-range.# File: forms.pyfrombootstrap_datepicker_plus.widgetsimportDatePickerInput,TimePickerInputfromdjangoimportformsclassEventForm(forms.ModelForm):classMeta:model=Eventfields=["name","start_date","end_date","start_time","end_time"]widgets={"start_date":DatePickerInput(),"end_date":DatePickerInput(range_from="start_date"),"start_time":TimePickerInput(),"end_time":TimePickerInput(range_from="start_time"),}CustomizationCustomize date format, languageUse custom template for widget inputContributingCONTRIBUTING.md.CODE_OF_CONDUCT.md.LicenseThis project is licensed underMIT LICENSEfile for details.AcknowledgmentsThis project implementsEonasdan/bootstrap-datetimepickerto display date-pickers.
The project was initially forked frompbucher/django-bootstrap-datepickerand
later reworked completely under MIT Licence.
Package: django-bootstrap-datepicker-widget
This package iscompatible with both Bootstrap 3 and 4, by giving
the option to use a FontAwesome icon rather than a Glyphicon.This package is intended to be used withbootstrap-datepickerand has been tested with v1.7.1.This project was originally a fork ofnkunihiko/django-bootstrap3-datetimepickerand hence similar toqoobic/django-bootstrap3-datepicker,
but it now has the following breaking changes:js/css files are no longer included in the project, managing them is
up to the user, eg. usinggrablib.the widget no longer has js/css assets. these are left for you to
deploy as you wish.bug/warning fixesremove support for python 2.6 and associated clean upInstallRunpip installdjango-bootstrap-datepicker-widgetAddbootstrap_datepickerto yourINSTALLED_APPSExampleforms.pyfrombootstrap_datepicker.widgetsimportDatePickerfromdjangoimportformsclassToDoForm(forms.Form):todo=forms.CharField(widget=forms.TextInput(attrs={"class":"form-control"}))date=forms.DateField(widget=DatePicker(options={"format":"YYYY-MM-DD"},fontawesome=True))Theoptionswill be passed to the JavaScript datetimepicker
instance. Availableoptionsare explained in thebootstrap-datepicker
docsYou don’t need to set thelanguageoption, because it will be set
the current language of the thread automatically.template.html<!DOCTYPE html><html><head><!-- load all required js/css yourself here --></head><body><formmethod="post"role="form">{{ form|bootstrap }}
      {% csrf_token %}<divclass="form-group"><inputtype="submit"value="Submit"class="btn btn-primary"/></div></form></body></html>Here we assume you’re usingdjango-bootstrap-formordjango-jinja-bootstrap-formbut you can draw out your HTML manually.RequirementsPython >= 2.7Django >= 1.8Bootstrap >= 3FontAwesome >= 1.0 if using Bootstrap 4+Moment >= 2.10.6bootstrap-datepicker >= 1.7.1
Package: django-bootstrap-daterangepicker
django-bootstrap-daterangepickerThis is Django form field wrapper forbootstrap-daterangepicker, for use with Bootstrap 3 and 4.This module allows for: single date pickers, date range selectors and datetime range selectors.Ranges are returned as tuples of format(start, end), wherestartandendare datetime.date or datetime.datetime objects depending on the field type.The DateField is a replacement for Django's built-informs.DateField, with the only difference being that it accepts an optionalclearableparameter, and the default widget is the DatePickerWidget specified in this module.Installationpip install django-bootstrap-daterangepickerAdd'bootstrap_daterangepicker'to yourINSTALLED_APPSAdd the resource links required forbootstrap-daterangepickerinto the<head>of the relevant HTML filesExample usagefromdjangoimportformsfrombootstrap_daterangepickerimportwidgets,fieldsclassDemoForm(forms.Form):# Date Picker Fieldsdate_single_normal=fields.DateField()date_single_with_format=fields.DateField(input_formats=['%d/%m/%Y'],widget=widgets.DatePickerWidget(format='%d/%m/%Y'))date_single_clearable=fields.DateField(required=False)# Date Range Fieldsdate_range_normal=fields.DateRangeField()date_range_with_format=fields.DateRangeField(input_formats=['%d/%m/%Y'],widget=widgets.DateRangeWidget(format='%d/%m/%Y'))date_range_clearable=fields.DateRangeField(required=False)# DateTime Range Fieldsdatetime_range_normal=fields.DateTimeRangeField()datetime_range_with_format=fields.DateTimeRangeField(input_formats=['%d/%m/%Y (%I:%M:%S)'],widget=widgets.DateTimeRangeWidget(format='%d/%m/%Y (%I:%M:%S)'))datetime_range_clearable=fields.DateTimeRangeField(required=False)RequirementsBootstrap>= 3jQuery>= 1Moment.js>= 2.10.6bootstrap-daterangepicker>= 2Django>= 3.2.8
Package: django-bootstrap-fields
Django Bootstrap Fieldsdjango-bootstrap-fieldsprovides you with a{% dbs_field %}tag that allows you to easily render Django form fields with complete Bootstrap html markup. Works with Bootstrap 3 and 4.InstallationInstall latest stable version into your python path usingpip:pip install -U django-bootstrap-fieldsAdddbs_fieldsto yourINSTALLED_APPSinsettings.py:INSTALLED_APPS = (
    ...
    'dbs_fields',
)TemplatesYou can set your default template pack for your project using theDBS_TEMPLATESDjango settings variable:DBS_TEMPLATES = 'bootstrap4'  # Options: 'bootstrap3', 'bootstrap4', 'bootstrap4custom'UsageOne tag to rule them all!django-bootstrap-fieldsonly comes with one easy to use tag that will detect which field is being rendered and style it accordingly.{% dbs_field field inline=True sr_label=True prepend="$" append=".00" %}Example{% extends "base.html" %}
{% load dbs_tags %}

{% block content %}

<form action="." method="post">
    {% csrf_token %}
    {% for field in form %}
        {% dbs_field field %}
    {% endfor %}
</form>

{% endblock content %}Preview