Saravanan666/pypi-org huggingface dataset:
Package: django-pluggables
Django-Pluggables is a design pattern that endows reusable applications with a few additional features:Applications can exist at multiple URL locations (e.g.http://example.com/foo/app/andhttp://example.com/bar/app/).Applications can be “parented” to other applications or objects which can then deliver specialized context information.Posting form data and error handling can happen in locations that make sense to the user, as opposed to the common practice of using templatetags and standalone error or preview pages for form data processing.Views and templates remain generic and reusable.
Package: django-plugins
django-pluginsoffers functionality to make Django apps them more reusable.Originally developed by Mantas Zimnickas (sirexas@gmail.com).Home pagehttp://pypi.python.org/pypi/django-pluginsDocumentationhttp://packages.python.org/django-plugins/Source code:https://github.com/krischer/django-pluginsChanges0.3.0 (2016-07-06)Added support for Django 1.8 and 1.9.Now works for Django 1.6-1.9 and Python 2.7, 3.3, 3.4, and 3.5Using thesyncdbDjango command is no longer recommended. Please usemigrateinstead.Supports django migrations as well as a backwards compatible path for
south migrations.0.2.5 (2014-10-25)Officially supported Django versions are now 1.6.8 and 1.7.1.0.2.4 (2014-07-04)Support for Python 3. Currently Python 2.7, 3.2, 3.3, and 3.4 are officially supported.0.2.3 (2013-12-22)Django 1.6 support, thanks Felipe Ćlvarez for this.Added example-project to show how to usedjango-plugins.Added possibility forinclude_pluginsto specify more than one list of
url patterns with possibility to customise inclusion url pattern.include_pluginsnow automatically providespluginargument to view
functions.Now it is possible to get plugin instance from plugon point like this:MyPluginPoint.get_plugin('plugin-name').0.2.2 (2012-02-08)ImprovedPluginPoint.get_model()method, now this method also checks if
plugin is enabled.0.2.1 (2011-08-25)Fixed django-plugins setup.py, that was not installable.Fixed plugin fields introspection for south.0.2 (2011-05-30)Plugin points and plugins moved from__init__.pytoplugin_points.pyandplugins.pyImproved documentation.0.1 (2011-01-11)First public release.
Package: django-plugshop
Django Plugshop===============A set of useless abstract modelsRequirements============1. [django](https://github.com/django/django/) >= 1.4, <=1.52. [django-mptt](https://github.com/django-mptt/django-mptt/)Installation============* Add the `plugshop` directory to your Python path.* Add `plugshop` to your `INSTALLED_APPS`* Add the following middleware to your project's settings.py file:`plugshop.middleware.CartMiddleware`* Add the request context processor:TEMPLATE_CONTEXT_PROCESSORS = (# ...'django.core.context_processors.request',# ...)* Add URL-patterns:urlpatterns = patterns('',url(r'^shop/', include('plugshop.urls')),)* Override default models. Example:PLUGSHOP_MODELS = {'PRODUCT': 'myshop.Product','CATEGORY': 'myshop.Category','ORDER': 'myshop.Order',}* Run `python manage.py syncdb`* Profit!Configuration=============Models:PLUGSHOP_MODELS = {'PRODUCT': 'plugshop.Product','CATEGORY': 'plugshop.Category','ORDER': 'plugshop.Order','ORDER_PRODUCTS': 'plugshop.OrderProducts',}Forms:PLUGSHOP_FORMS = {'ORDER': 'plugshop.forms.OrderForm',}Config:PLUGSHOP_CONFIG = {'REQUEST_NAMESPACE': 'cart','SESSION_NAMESPACE': 'cart','URL_PREFIX': 'shop/',}Other options:PLUGSHOP_OPTIONS = {# Possible values of the status of the order. Default values:'STATUS_CHOICES': ((1, _('Created')),(2, _('Confirmed')),(3, _('Denied')),(4, _('Shipped')),(5, _('Completed')),),}Cart====#views.pydef my_view(request):cart = request.cartOr#settings.pyPLUGSHOP_CONFIG = {...'REQUEST_NAMESPACE': 'my_cart_namespace',...}#views.pydef my_view(request):cart = request.my_cart_namespace
Package: django-pluralize-pl
Simple Django plugin providingpluralize_pltemplate filter that works similarly to Django’s built-inpluralizeplugin but respects Polish grammar rules.The plugin only makes sense in project that doesn’t use Django’s translation system, which already hasbuilt-in support for pluralizationbased on grammar rules of the target language.Quick startInstall the plugin from PyPi:pip install django-pluralize-plAddpluralize_plto your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'pluralize_pl',
]Loadpluralize_plin your templates:{% load pluralize_pl %}Use thepluralize_plfilter when you need it:{{ comments | pluralize_pl:"komentarz,komentarzy,komentarze" }}Overviewpluralize_plis fully compatible with Django’spluralizefilter. It works the same as long as you are giving it up to 2 comma-separated arguments. The difference is, you can provide it with a third argument, which will be used as a second plural form and applied according to Polish grammar rules:If value is0,{{value|pluralize_pl:"komentarz,komentarzy,komentarze"}}displays “komentarzy”.If value is1,{{value|pluralize_pl:"komentarz,komentarzy,komentarze"}}displays “komentarz”.If value is2,{{value|pluralize_pl:"komentarz,komentarzy,komentarze"}}displays “komentarze”.If value is5,{{value|pluralize_pl:"komentarz,komentarzy,komentarze"}}displays “komentarzy”.
Package: djangoplus-documentos
Documentos=======Documentos is a simple djangoplus app that contains some document types used in Brazil.It has four model classes:- RG- TituloEleitor- Certidao- CertidaoMilitar### Dependeciesdjangoplus-enderecos### StepsExecute the following steps to use it:1. Install itpip install djangoplus_documentos1. Add "documentos" to your INSTALLED_APPS settingsINSTALLED_APPS = \[..., 'documentos']2. Create the tablespython manage.py sync3. Use the models
Package: djangoplus-pessoas
Pessoas is simple djangoplus application that contains classes for representing citizens and companies in Brazil.
It has three model classes:PessoaPessoaJuridicaAbstrataPessoaFisicaAbstrata### Dependeciesdjangoplus_enderecos### StepsExecute the following steps to use it:Install itpip install djangoplus_pessoas djangoplus_enderecosAdd “pessoas” and “enderecos” to your INSTALLED_APPS settingsINSTALLED_APPS = […, ‘pessoas’, ‘enderecos’]Create the tablessyncUse the models
Package: django-pmedien-export
General export for a complete model with languagesUsage:project/urls.py:from django_pmedien_export import pmedien_export as export

...

urlpatterns = [
...    
url(r'^export/((?P<appname>[\w-]+)/)?$', export.export),
...
]also set LANGUAGES in settings.py like:...
LANGUAGES = (
    ('de', 'deutsch'),
)
...The appname should be an existing app. Otherwise nothing is returned.
Package: django-po2xls
django-po2xls is a Django management command to convert project translation .po files to .xlsContentsWarningInstallationConfigurationUsageContributingLicensingContactsWarningdjango-po2xls does not support plural.InstallationObtain your copy of source code from the git repository:$ git clonehttps://github.com/vint21h/django-po2xls.git. Or download the latest release fromhttps://github.com/vint21h/django-po2xls/tags/.Run$ python ./setup.py installfrom the repository source tree or unpacked archive. Or use pip:$ pip installdjango-po2xls.ConfigurationAdd"po2xls"tosettings.INSTALLED_APPS.INSTALLED_APPS+=["po2xls",]UsageJust run:$ python ./manage.pypo-to-xlsDjango management command from project folder and .xls files will be dropped near all of your project .po files.ContributingFork itInstallGNU MakeInstall and configurepyenvandpyenv-virtualenv pluginInstall and configuredirenvCreate environment config from examplecp.env.example.envInstall development dependencies:makeinstallCreate your fix/feature branch:gitcheckout-bmy-new-fix-or-featureCheck code style and moreover:makecheckRun tests:maketestPush to the branch:gitpushoriginmy-new-fix-or-featureCreate a new Pull RequestLicensingdjango-po2xls is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
For complete license text see COPYING file.ContactsProject Website:https://github.com/vint21h/django-po2xls/Author: Alexei Andrushievich <vint21h@vint21h.pp.ua>For other authors list see AUTHORS file.
Package: django-podcast
django-podcastA small django app to easily publish podcastsInstallationAddpodcastto yourINSTALLED_APPSinsettings.pyINSTALLED_APPS=(...'podcast',)Add these lines to your URL configuration,urls.pyurlpatterns=((r'^podcasts/',include('podcast.urls')),)Relevant linksRSS 2.0 specificationDjangoAppChecklistFeed NerdCast
Package: django-podcast-feed
Extra attributes or methods to set onPodcastFeed:subtitleartwork_linkitunes_categoryexplicitowner_nameowner_emailitem_durationFor example:MyPodcastFeed(podcast_feed.PodcastFeed):
    artwork_link = static('artwork.png')

    def get_items(self):
        Episode.objects.all()

    def item_duration(self, item):
        return item.duration_fieldA more involved usage can be found injeffbr13/br-rss’s views.
Package: django-podcast-feed-py2
This version is only usable for Python 2.X versions.Extra attributes or methods to set onPodcastFeed:subtitleartwork_linkitunes_categoryexplicitowner_nameowner_emailitem_durationFor example:MyPodcastFeed(podcast_feed.PodcastFeed):
    artwork_link = static('artwork.png')

    def get_items(self):
        Episode.objects.all()

    def item_duration(self, item):
        return item.duration_fieldA more involved usage can be found injeffbr13/br-rss’s views.
Package: django-podcasting
Django PodcastingDjango Podcasting is a reusable application which provides audio
podcasting functionality for websites running on the Django Web
framework.More documentation about the usage and installation of Django Podcasting
can be found ondjango-podcasting.readthedocs.org.The source code for Django Podcasting can be found and contributed to ongithub.com/rizumu/django-podcasting. There you can alsofile issues.To find out what’s new in this version of django-podcasting, please seethe changelogQuick Installation GuidePlease visitdjango-podcasting.readthedocs.orgfor the full
installation guide including optional thumbnailing, tagging and
twitter support.Tested against Django 1.8 and greater.Install Django Podcasting with your favorite Python package manager:pip install django-podcastingAdd"podcasting","django.contrib.sites",
and the optional apps of your choice to theINSTALLED_APPSsetting
in yoursettings.py:INSTALLED_APPS = (
    ...
    "django.contrib.admin",
    "django.contrib.sites",
    ...
    "podcasting",
    ...
)Includepodcasting.urlsandpodcasting.urls_feedsin your urls definition:url(r"^podcasts/", include("podcasting.urls")),
url(r"^feeds/podcasts/", include("podcasting.urls_feeds")),To run the test suite:./runtests.sh
Package: django-pods
NoteFor the latest source, discussions, bug reports, etc., please visit theGitHub repositoryDjango PodsDjango Pods is a minimalist package that lets you configure default settings for yourreusable apps, and allows developers using your apps to override these defaults in their own project settings.This package is largely inspired byDjango Rest FrameworkandDjango AllAuthand adapted to work withDjango Applications, but also with any classes extendingpods.apps.AppSettings.PreviewDjango Pods allows developers to customise app settings in two ways:Dictionary style (as perDjango Rest Framework):YOUR_APP = {
    "SETTING": "VALUE"
}Prefix style:YOUR_APP_SETTING = "VALUE"Installationpip install django-podsUsage in Reusable AppsIf you are publishing a packaged application, adddjango-podsto theinstall_requiresof yoursetup.py:setup(
    name="rock_n_roll",
    install_requires=["django-pods", ...],
    ...
)Add theAppSettingsmixin to your AppConfig implementation inrock_n_roll/apps.py:from django.apps import AppConfig
from pods.apps import AppSettings


class RockNRollConfig(AppSettings, AppConfig):
    name = 'rock_n_roll'
    verbose_name = "Rock ’n’ roll"

    # Path to app settings module
    settings_module = "rock_n_roll.app_settings"

    # Optional
    settings_imports = ("CLASS_TO_IMPORT",)

    # Optional
    # defaults to the capitalized class name, e.g. ROCK_N_ROLL_CONFIG
    settings_key = "ROCK_N_ROLL"Declare your default app settings inrock_n_roll/app_settings.py:QUESTION = "What is your favourite band?"
ANSWER = "The Rolling Stones"
CLASS_TO_IMPORT = "path.to.ClassToImport"Access your settings anywhere in your package:from django.apps import apps

app = apps.get_app_config('rock_n_roll')

app.QUESTION
# What is your favourite band?

app.ANSWER
# The Rolling Stomes

app.CLASS_TO_IMPORT
# <class 'path.to.ClassToImport'>Settings can also be accessed directly via the class:from rock_n_roll.apps import RockNRollConfig


RockNRollConfig.QUESTION
RockNRollConfig.ANSWER
RockNRollConfig.CLASS_TO_IMPORTNoteAppSettings ``settings`` PropertyAppSettingsimplements__getattr__to proxy to thesettingsattributes of the class:app.QUESTION == app.settings.QUESTION

# or

RockNRollConfig.QUESTION == RockNRollConfig.settings.QUESTIONNoteUsage with Django < 1.7Prior to Django 1.7, there wasn’t a logical place to create a class representing an app. However, any class can extendAppSettings. For example, inmodels.py:from pods.apps import AppSettings


class AnyClass(AppSettings):
    settings_module = "rock_n_roll.app_settings"Import your app class directly:from .models import AnyClass

AnyClass.QUESTIONUsage in ProjectsInstall the app that uses Django Pods:pip install rock_n_rollAdd the app to theINSTALLED_APPSof yourproject/settings.py:INSTALLED_APPS = (
    ...
    "rock_n_roll",
    ...
)Override the app’s settings as needed:# Dictionary style
ROCK_N_ROLL = {
    "ANSWER": "The Beatles",
}


# Prefix style
ROCK_N_ROLL_ANSWER = "The Beatles"Running TeststoxContributionsAll contributions and comments are welcome.
Package: django-poeditor-com-field
=============================Django poeditor.com Model Field=============================.. image:: https://badge.fury.io/py/django-poeditor-com-field.svg:target: https://badge.fury.io/py/django-poeditor-com-field.. image:: https://travis-ci.org/runekaagaard/django-poeditor-com-field.svg?branch=master:target: https://travis-ci.org/runekaagaard/django-poeditor-com-field.. image:: https://codecov.io/gh/runekaagaard/django-poeditor-com-field/branch/master/graph/badge.svg:target: https://codecov.io/gh/runekaagaard/django-poeditor-com-fieldTranslate your model data with poeditor.com.Documentation-------------The full documentation is at https://django-poeditor-com-field.readthedocs.io.Quickstart----------Install Django poeditor.com Model Field::pip install django-poeditor-com-fieldAdd it to your `INSTALLED_APPS`:.. code-block:: pythonINSTALLED_APPS = (...'poeditor_com_field.apps.PoeditorComFieldConfig',...)Add Django poeditor.com Model Field's URL patterns:.. code-block:: pythonfrom poeditor_com_field import urls as poeditor_com_field_urlsurlpatterns = [...url(r'^', include(poeditor_com_field_urls)),...]Features--------* TODORunning Tests-------------Does the code actually work?::source <YOURVIRTUALENV>/bin/activate(myenv) $ pip install tox(myenv) $ toxCredits-------Tools used in rendering this package:*  Cookiecutter_*  `cookiecutter-djangopackage`_.. _Cookiecutter: https://github.com/audreyr/cookiecutter.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackageHistory-------0.1.0 (2017-02-07)++++++++++++++++++* First release on PyPI.
Package: django-polaris
Polaris is an extendabledjango appfor Stellar Ecosystem Proposal (SEP) implementations maintained by theStellar Development Foundation(SDF). Using Polaris, you can run a web server supporting any combination of SEP-1, 6, 10, 12, 24, 31, & 38.See the completedocumentationfor information on how to get started with Polaris. The SDF also runs areference serverusing Polaris that can be tested using ourdemo wallet.For important updates on Polaris’s development and releases, please join theemail list.
Package: django-polibras-login
=====
polibrasloginpolibraslogin is a Django app to conduct Web-based polibraslogin. For each question,
visitors can choose between a fixed number of answers.Detailed documentation is in the "docs" directory.Quick startAdd "polibraslogin" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [
'polibraslogin',
'django.contrib.sites',
'allauth',
'allauth.account',
'allauth.socialaccount',
'allauth.socialaccount.providers.google',
...
]1.1 Add next lines in your settings.py::ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_AUTHENTICATION_METHOD = 'email'
SOCIALACCOUNT_ADAPTER = 'polibraslogin.social.CustomSocialAccountAdapter'Include the polibraslogin URLconf in your project urls.py like this::path('accounts/', include('allauth.urls')),Runpython manage.py migrateto create the polls models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a poll (you'll need the Admin app enabled).
Package: django-pollapps
Polls is a simple Django app to conduct Web-based polls. For each
question, visitors can choose between a fixed number of answers.Detailed documentation is in the “docs” directory.Quick startAdd “polls” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'polls',
]Include the polls URLconf in your project urls.py like this:path('polls/', include('polls.urls')),Runpython manage.py migrateto create the polls models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a poll (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/polls/to participate in the poll.
Package: django-poll-devin
poll是用django开发的应用快速上手将该应用添加到django项目设置文件中的已安装app列表，如下::INSTALLED_APPS = [
...
'app1.apps.App1Config',
]在主urls文件添加路径如下::path('app1/', include('app1.urls')),运行python manage.py migrate指令  创建模型和迁移到数据库启动服务器，访问http://127.0.0.1:8000/admin/进入管理页面 添加和修改问题访问http://127.0.0.1:8000/app1/查看问题
Package: django-poller
Poll is a complex poll creation app, to create dynamic polls.
The usage of it is to create a set of questions with optional
predefined answers.Detailed documentation is in the “docs” directory.Quick startAdd “poll” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'poll',
]Include the polls URLconf in your project urls.py like this:path('poll/', include('poll.urls')),Runpython manage.py migrateto create the polls models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a poll (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/poll/to participate in the poll.
Package: django-pollinos
Polls is a Django app to conduct web-based polls. For each question,
visitors can choose between a fixed number of answers.Detailed documentation is in the “docs” directory.Quick startAdd “polls” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'polls',
]Include the polls URLconf in your project urls.py like this:path('polls/', include('polls.urls')),Runpython manage.py migrateto create the polls models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a poll (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/polls/to participate in the poll.
Package: django-polls
# django-polls[![Build status](https://travis-ci.org/byteweaver/django-polls.svg?branch=master)](https://travis-ci.org/byteweaver/django-polls)A simple and reusable polls application for django.## Key features* basic poll handling (poll, choices, votes)* easy to extend## InstallationIf you want to install the latest stable release from PyPi:$ pip install django-pollsIf you want to install the latest development version from GitHub:$ pip install -e git://github.com/byteweaver/django-polls#egg=django-pollsAdd `polls` to your `INSTALLED_APPS`:INSTALLED_APPS = (...'polls',...)Hook this app into your ``urls.py``:urlpatterns = patterns('',...url(r'^polls/', include('polls.urls', namespace='polls')),...)
Package: django-polls02
===== Polls =====
Polls is a Django app to conduct Web-based polls. For each question, visitors can choose between a fixed number of answers.
Detailed documentation is in the “docs” directory.
Quick start ———-
1. Add “polls” to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ … ‘polls’, ]
2. Include the polls URLconf in your project urls.py like this::
path(‘polls/’, include(‘polls.urls’)),
3. Runpython manage.py migrateto create the polls models.
4. Start the development server and visithttp://127.0.0.1:8000/admin/to create a poll (you’ll need the Admin app enabled).
5. Visithttp://127.0.0.1:8000/polls/to participate in the poll
Package: django-polls-0744
Polls is a Django app to conduct Web-based polls. For each question,
visitors can choose between a fixed number of answers.Detailed documentation is in the “docs” directory.Quick startAdd “polls” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'polls',
]Include the polls URLconf in your project urls.py like this:path('polls/', include('polls.urls')),Runpython manage.py migrateto create the polls models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a poll (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/polls/to participate in the poll.
Package: django-polls_1_10
Polls is a simple Django app to conduct Web-based polls. For each
question, visitors can choose between a fixed number of answers.Detailed documentation is in the “docs” directory.Quick startAdd “polls” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'polls',
]Include the polls URLconf in your project urls.py like this:url(r'^polls/', include('polls.urls')),Runpython manage.py migrateto create the polls models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a poll (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/polls/to participate in the poll.
Package: django-polls13253451345
Polls is a Django app to conduct Web-based polls. For each question,
visitors can choose between a fixed number of answers.Detailed documentation is in the “docs” directory.Quick startAdd “polls” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'polls',
]Include the polls URLconf in your project urls.py like this:path('polls/', include('polls.urls')),Runpython manage.py migrateto create the polls models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a poll (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/polls/to participate in the poll.
Package: django-polls-babis
Polls is a Django app to conduct Web-based polls. For each question,
visitors can choose between a fixed number of answers.Detailed documentation is in the “docs” directory.Quick startAdd “polls” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'polls',
]Include the polls URLconf in your project urls.py like this:path('polls/', include('polls.urls')),Runpython manage.py migrateto create the polls models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a poll (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/polls/to participate in the poll.
Package: django-polls-ben-merryman-2023-08-09
Note: Tutorial completed 2023-08-09 (August) by Ben MerrymanPolls is a Django app to conduct web-based polls. For each question,
visitors can choose between a fixed number of answers.Detailed documentation is in the “docs” directory.Quick startAdd “polls” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...,
    "polls",
]Include the polls URLconf in your project urls.py like this:path("polls/", include("polls.urls")),Runpython manage.py migrateto create the polls models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a poll (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/polls/to participate in the poll.