Saravanan666/pypi-org huggingface dataset:
Package: djangocms-vimeo
djangocms-vimeo===============[![Build Status](https://travis-ci.org/nimbis/djangocms-vimeo.svg?branch=master)](https://travis-ci.org/nimbis/djangocms-vimeo)A [video.js](https://github.com/videojs/video.js) Vimeo video plugin for django CMS.Loosely based on the [djangocms-video](https://github.com/divio/djangocms-video) plugin.Uses the [videojs-vimeo](https://github.com/eXon/videojs-vimeo) plugin.Installation------------This plugin requires `django CMS` 3.3.1 or higher to be properly installed.* In your projects `virtualenv`_, run ``pip install djangocms-vimeo``.* Add ``'djangocms_vimeo'`` to your ``INSTALLED_APPS`` setting.* Run ``manage.py migrate djangocms_vimeo``.Contributing------------See the [Contributing Guidelines](CONTRIBUTING.md).History-------v0.4.0:* Adding migration required for Django CMS v3.3.1 and later, which is nowrequired for this app.v0.3.3:* Patch the vjs.vimeo.js according to https://github.com/eXon/videojs-vimeo/commit/0543812e2ebe58ed279d695667b4ae9d38029945v0.3.2:* Removing pip requirement from setup.py.v0.3.0:* Upgraded to Video.js v4.9.0. Fixed the broken Django 1.7 migration that existed in v0.2.0.v0.2.0:* Moved existing migrations directory to south_migrations and added Django 1.7 migrations. This version contained a broken Django 1.7 migration.v0.1.5:* Made fixes to videojs-vimeo to correctly detect HTTPS.v0.1.4:* Added missing static directory to MANIFEST.v0.1.0:* Inital release
Package: djangocms-votes
djangocms-votesDjango cms comments, and rate system with statsInstallationThis apps suppose you have django CMS installed and well configurated.$pipinstalldjangocms-votesAdddjcms_votesand django_ajax to your INSTALLED_APPSINSTALLED_APPS=[...'djcms_votes','django_ajax','ajax_select','aldryn_newsblog',]Theoretically aldryn_newsblog is not need, but I developed thinking in it, and I do my test with this app installedSet email per comment notificationsCOMMENT_EMAIL_NOTIFICATION=['myemail@example.com']Configure yours urls.pyfromajax_selectimporturlsasajax_select_urlsurlpatterns=[...url(r'^votes/',include('djcms_votes.urls')),url(r'^ajax_select/',include(ajax_select_urls)),]it’s also possible to include as url list for django>=1.10 using djcms_votes.urls.urlpatternsif you need a login view includefromdjango.contrib.authimportviewsfromdjcms_votes.formsimportLoginFormurlpatterns=[...url(r'^accounts/login/$',views.login,{'template_name':'djcms_votes/login.html','authentication_form':LoginForm},name="login"),]MigrationsRun migrations$pythonmanage.pymigrateInclude js requirements in htmlDjango ajax has a especial requirement that force to include js lib in your template, so
you can add this to your base template{% load staticfiles  %}Include jquery, you need to download from cdn o from official page and include in your static folder<scriptsrc="{% static 'js/jquery.js' %}"></script>add before jquery those lines<scripttype="text/javascript"src="{% static 'django_ajax/js/jquery.ajax.min.js' %}"></script><scripttype="text/javascript"src="{% static 'django_ajax/js/jquery.ajax-plugin.min.js' %}"></script>Use modedjangocms-votes provide the follow template tags,articleit’s a template variable that represent page or articule, so could be whatever variable name.{% load votes %}render_comments: If user is super user them show all comments, if user is logged then show a input comment field. Super users can vote comment as possitive, negative or neutral. Email is send toCOMMENT_EMAIL_NOTIFICATIONwhen user make a comment.{% render_comments article %}render_comment_chart: Show chart with super users comment votes for this article.{% render_comment_chart article %}render_poll_likes: Allow user to rate article with 1-5 starts.{% render_poll_likes article %}render_poll: Show chart with result of start rate.{% render_poll article %}{% load user_votes %}user_poll_likes_chart: likerender_pollbut for specific user.{% user_poll_likes_chart user %}user_comment_likes_chart: likerender_comment_chartbut for specific user.{% user_comment_likes_chart user %}Page applicationA filtrable stat system is available as page application, so you can add  Votes in page settings, in the application field.Note:Votes could be translated if your are not using english.
Package: django-cms_wg
A Django application for managing hierarchical pages of content, possibly in
multiple languages and/or on multiple sites.Django CMS handles the navigation rendering for you with clean, slug based URLs,
and this navigation can be extended by custom Django applicationsYou can define editable areas, called placeholders, in your templates which you
can fill with CMS plugins, by default we ship the following plugins:FileFlashGoogle MapLinkPictureHTML SnippetTeaserTextVideoTwitterHowever this is not the end of the list, there are many3rd party pluginsalready available for you to use. Should you be unable to find a suitable plugin
for you needs, writing your own is very simple.More information onour website.DocumentationPlease head over to ourdocumentationfor all
the details on how to install, extend and use the django CMS.Getting HelpPlease head over to our IRC channel, #django-cms, on irc.freenode.net or write
to ourmailing list.CreditsThis is a fork of thedjango-page-cms.Includes icons fromFamFamFam.Video plugin uses theOSFlashVideoPlayer.Includes theWymeditor.Python tree engine powered bydjango-mptt.Javascript tree in admin usesjsTree.Many thanks to theover 150 contributorsto the django CMS!
Package: djangocms-widgets
A widget plugin for djangocms: Include templates into cms pages.install:INSTALLED_APPS += (
    'djangocms_widgets',
    'djangocms_widgets_socialshareprivacy', # Optional
)

# The existing templates that can be selected:
WIDGET_TEMPLATES = (
    ('socialshareprivacy.html', 'SocialSharePrivacy'), # from djangocms_widgets_socialshareprivacy
)SocialSharePrivacy widgetThe SocialSharePrivacy widget is a jQuery plugin for adding social share buttons to your website
that don’t allow the social sites to track your users.The original code is released under MIT License and can be found here:http://www.heise.de/extras/socialshareprivacy/(de)historyv0.2.0 - 29.03.2015add initial migrationsv0.1.0 - 28.03.2015initial version
Package: djangocms_work
=====DJANGOCMS WORK=====DJANGO_CMS WORK is a simple Django app to add your best works for your differents customers.Detailed documentation is in the "docs" directory.Quick start-----------1. Add "djangocms_work" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [...'djangocms_work',]2. Include the polls URLconf in your project urls.py like this::path('djangocms_work/', include('djangocms_work.urls')),3. Run `python manage.py migrate` to create the djangocms_work models.4. Start the development server and visit http://127.0.0.1:8000/admin/to create a works (you'll need the Admin app enabled).
Package: djangocms-wow
Plugin for django-cms to include awesome animations fromWOW.js andAnimate.cssInstallationThis plugin requiresdjango CMS3.0 or higher to be properly installed.In your projectsvirtualenv, runpip installdjangocms-wowIf using Django 1.6 add'djangocms_wow': 'djangocms_wow.south_migrations',toSOUTH_MIGRATION_MODULES(or defineSOUTH_MIGRATION_MODULESif it does not exists);Runmanage.py migrate djangocms_wowUsageDefault content in PlaceholderIf you use Django-CMS >= 3.0, you can useAnimationandWow Animationin “default_plugins”
(see docs about the CMS_PLACEHOLDER_CONF setting in Django CMS 3.0).ChangelogVersion 1.0.0Drop backward compatibilty.Tested and status upgraded to Production/Stable.Version 0.0.3Make parameter fields in WOW animations optional.Version 0.0.2Fixed packaging issues.Added tests to cover all plugins.Add south and django migrations.Drop support for Python 2.6.Version 0.0.1Initial Release.
Package: django-cms-wunderground
django-cms-wunderground=================An extension for Django CMS that pulls current weather informationbased on the website visitor's IP address and displays it on thescreen.  You will need a www.wunderground.com API key to use this.Dependancies============- django (tested with 1.3)- django-cms (tested with 2.2)Getting Started=============To get started simply install using ``pip``:::pip install django-cms-wungergroundAdd ``cmsplugin_wunderground`` to your installed apps.Add WUNDERGROUND_KEY to your settings file.::WUNDERGROUND_KEY = 'abcdefgh12345678'Usage=============Simply drop a Current Local Weather plugin on a page.  You will probablywant to override the ``cmsplugin_wunderground/local_weather.html``template.  Any of the fields from the wunderground.com "conditions" apicall should be available in the template under the context variable``weather_info``.
Package: djangocms-youtube-lazyload
djangocms-youtube-lazyloadSpeed up your pageloads with this YouTube embed plugin for your Django CMS
powered site. It requires a (free) YouTube Data API Key.QuickstartInstalldjangocms-youtube:pip install djangocms-youtube-lazyloadAdddjangocms_youtube_lazyloadtoINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'djangocms_youtube_lazyload',
    ...
)Sync database :python manage.py migrateCollect static files to make sure you can edit your videos with Django CMSpython manage.py collectstaticPlugin requires Server API key to be able to use the YouTube Data APIDJANGOCMS_YOUTUBE_LAZYLOAD_API_KEY = '<youtube_data_api_server_key>'Instructions on how to obtain an API key are located here:https://developers.google.com/youtube/registering_an_applicationThis Youtube plugin reduces Page Load TimeWhen you embed any YouTube video on your website using standard IFRAME
tags, you’ll be surprised to know how much extra weight that YouTube
video will add to your page. The resources (CSS, images and JavaScript)
will download even if the visitor on your website has chosen not to
watch the embedded YouTube video. This will noticably slow down your page.djangocms-youtube-lazyload uses a clever workaround to reduce the time
it would normally take to initially load the YouTube video player.
Instead of embedding the full Youtube video player, which also takes a
big on your requests and data-loading, it displays just the thumbnail
images of the video and a 'play' icon is placed over the video so that
it looks like a video player.When the user hits the play button, the video thumbnail is replaced with
the standard YouTube video player. The extra resources are thus loaded
only when the user has decided to play the embedded video and not
otherwise.Note: Mobile devices require two taps to play the video. Tap the image
once to remove it and display the video player. Then, tap the play
button to begin the video.Schema.org IntegrationFull support for schema.orgvideoObjectmarkup.<div class="video-wrapper" itemprop="video" itemscope="" itemtype="http://schema.org/VideoObject">
    <meta itemprop="name" content="PSY - GANGNAM STYLE (강남스타일) M/V">
    <meta itemprop="duration" content="PT4M13S">
    <meta itemprop="thumbnailUrl" content="https://i.ytimg.com/vi/9bZkp7q19f0/maxresdefault.jpg">
    <meta itemprop="embedURL" content="https://www.youtube.com/embed/9bZkp7q19f0">
    <meta itemprop="uploadDate" content="2012-07-15T07:46:32.000Z">
    <meta itemprop="height" content="480">
    <meta itemprop="width" content="853">
    <meta itemprop="description" content="...">
</div>Seehttps://developers.google.com/webmasters/videosearch/schemaVideo EndscreenPlugin can have child plugins (i.e other plugins placed inside this
plugin), rendered as an overlay, when the video finishes. You can
disable this functionality by overridingDJANGOCMS_YOUTUBE_LAZYLOAD_ALLOW_CHILDRENin yoursettings.pyfile
Package: djangocms-zb-filer
Django CMS Zibanu Filer ExtensionDjango CMS Zibanu Filer Extension es un complemento para django CMS que le permite agregar publicaciones a su sitio, con
archivos, fecha de publicación, fecha de despublicación, icono, etc.
Al agregar en su sitio puede elegir mostrar una categoría.Utiliza archivos administrados por Django Filer .Utiliza PDF generados por xhtml2pdf .DocumentaciónVer requerimientos en el archivo setup.cfg para dependencias adicionales:python 3.9+ < 4.0 - django 3.2.11 - django CMS 3.9.0 - django-filer 2.1.2 - xhtml2pdf 0.2.7Asegúrese de que django-filer esté instalado y configurado correctamente.InstalaciónCorrer pip install djangocms-zb-filerAñadir 'djangocms_zb_filer' a su INSTALLED_APPSCorrer "python manage.py migrate"Incluya en urls.py de su proyecto la URLconf de Django CMS Zibanu Filer Extension antes de la de cms.urls así:urlpatterns = [
path('admin/', admin.site.urls),
path('djangocms_zb_filer/', include('djangocms_zb_filer.urls')),
path('', include('cms.urls')),
]Inicie el servidor de desarrollo y visite http://su_servidor/admin/
para crear una publicación (Necesitará que la aplicación Admin esté habilitada).ConfiguraciónTenga en cuenta que las plantillas proporcionadas son mínimas por diseño.
Los puede adaptar y anular según los requisitos de su proyecto.Este complemento proporciona una plantilla default para todas las instancias. Puede proporcionar opciones de plantilla
adicionales agregando la constante DJANGOCMS_ZB_FILER_TEMPLATES en su settings.py:DJANGOCMS_ZB_FILER_TEMPLATES = [
    ('template_mejorado', _('Template Mejorado')),
]Tendrá que crear la carpeta template_mejorado dentro de templates/djangocms_zb_filer/ de lo contrario, obtendrá un error de
plantilla que no existe. Puede hacer esto copiando la carpeta default dentro de ese directorio y renombrándola a
template_mejorado.
Package: django-CNPJField
CNPJField (pt-br)Campo validador deCNPJpara django>3.0Não valida perante a RFB.Válida independente da máscara aplicadaNão salva com máscara no banco de dadosComo instalar:PIPpip install django-cnpjfieldDjango settingsINSTALLED_APPS = [
...
'cnpj_field',
]Model djangoÉ permitidoincluirargumentos regulares(blank, null, e etc)deFieldsnoCNPJField.from django.db import models
from cnpj_field.models import CNPJField

class MyModel(models.Model):
	...
	cnpj = CNPJField()RequisitosDjango>=3.0Python 3.8CNPJ inválido e válidoCNPJ inválido e todo e qualquer CNPJ que não contiver dígitos verificadores válidos ou não tenha o tamanho de um CNPJ (max_lenght = 14).CNPJ válido é todo aquele que conter os dois últimos dígitos verificadores confirmados e possuir tamanho de 14 caracteres.O ALGORITMO NÃO VÁLIDA PERANTE A RECEITA FEDERALAgradecimentosAgradeço aogabrielloliveirapor disponibilizar o seu CPFField, cujo qual utilizei como base na criação desse algoritmo.
Package: django-coap
Your project description goes hereDocumentationThe full documentation is athttps://django-coap.readthedocs.io.QuickstartInstall django-coap:pip install django-coapAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'django_coap.apps.DjangoCoapConfig',...)Add django-coap’s URL patterns:fromdjango_coapimporturlsasdjango_coap_urlsurlpatterns=[...url(r'^',include(django_coap_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2018-03-23)First release on PyPI.
Package: django-cockatiel
This is a django storage backend that makes use of the cockatiel distributed
file storage. Please read the [cockateal documentation](https://cockatiel.readthedocs.org/)
if you are unsure about what this is.RequirementsDjango 1.8 or 1.9Python 3.4 or newerInstallationYou can simply run:pip install django-cockatiel
Package: django-codebase
=====CodeBase=====codebase is a simple Django app to conduct Web-based polls. For eachquestion, visitors can choose between a fixed number of answers.Detailed documentation is in the "docs" directory.Quick start-----------1. Add "codebase" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [...'codebase',]2. Include the polls URLconf in your project urls.py like this::url(r'^codebase/', include('coodebase.urls')),3. Run `python manage.py migrate` to create the codebase models.4. Start the development server and visit http://127.0.0.1:8000/admin/to create a poll (you'll need the Admin app enabled).5. Visit http://127.0.0.1:8000/codebase/ to participate in the poll.
Package: django-code-generator
Generate code from Django models for faster development. This project can generate a Django Rest Framework API
or an admin for your app. You can alsocreate your own templatesso you can generate code for whatever you want.To install django-code-generator, run this command in your terminal:$sudopipinstalldjango-code-generatorThis is the preferred method to install django-code-generator, as it will always install the most recent stable release.More info in the documentationThen add it to yourINSTALLED_APPS:INSTALLED_APPS=[# ...'django_code_generator',]UsageGenerating code is as easy as:$ python manage.py generator <template> <project app>This project includes two default templates:adminandapi. For example:$ python manage.py generator admin myappRead the documentationfor more info.Create templatesA template is a directory with files that will be copied to the final path in your app.
Template files can useDjango Templates Syntax. When
templates are generated, the app models are available to be used with the django template syntax.For example if you create the templatemytemplateyou can use it for your appmyappwith the command:$ python manage.py generate mytemplate myappA template file example:{%loadcode_generator_tags%}from django.contrib import admin{%from_module_importapp.name|add:'.models'models%}{%comment%}{%endcomment%}{%formodelinmodels%}@admin.register({{model.name}})
class{{model.name}}Admin(admin.ModelAdmin):
    """
    """
    list_display = ({%indent_itemsmodel.filter_field_names8quote='simple'%})
    search_fields = ({%indent_itemsmodel.char_field_names8quote='simple'%}){%ifmodel.foreign_field_names%}autocomplete_fields = ({%indent_itemsmodel.foreign_field_names8quote='simple'%}){%endif%}{%endfor%}For more information seethe docs.
Package: djangocodemirror
This is aDjangoapplication to embedCodeMirror.It works exclusively from configuration sets to manage CodeMirror options and
assets. A dedicated field, widget and some template tags are available to make
CodeMirror instances using these configurations on any element.Since configurations are aware of every assets to load this enable you to
use CodeMirror without a Javascript module loader (likeBrowserifyorRequireJS).LinksRead the documentation onRead the docs;Download itsPyPi package;Clone it on itsGithub repository;DependanciesDjango>= 1.10;Optionallydjango-assets;CreditsCodeMirror is a software from Marijn Haverbeke <marijnh@gmail.com> under MIT license.
Package: django-codemirror2
Django widgets for replacing textareas with CodeMirror, an in-browser code editor.
Tested on Django 1.6+, support Python 2.7 and Python 3.4+.Installingrunpip installdjango-codemirror2Addcodemirror2to INSTALLED_APPSCollect static files:python manage.py collectstaticTo use django-codemirror2 directly from git, you need to initialize
the Codemirror submodule by runninggit submodule init && git submodule update.Usagefrom django import forms
from codemirror2.widgets import CodeMirrorEditor

class TestForm(forms.Form):
    css = forms.Charfield(widget=CodeMirrorEditor(options={'mode': 'css'}))Theoptionsargument will be passed as JSON toCodeMirror.fromTextArea, seehttp://codemirror.net/manual.html#configfor possible values. Do not pass user-controlled
data as options, as this can lead to an XSS vulnerability.If you want to use a mode that depends on other modes, for examplehtmlmixed, you
need to load the dependencies, too, by passing themodesparameter:html = forms.Charfield(widget=CodeMirrorEditor(modes=['css', 'xml', 'javascript', 'htmlmixed'],
            options={'mode': 'htmlmixed'}))If you want to customize the Javascript used to initialize the CodeMirror editor, usescript_template:foo = forms.Charfield(widget=CodeMirrorEditor(options={'mode': 'xml'},
            script_template='some/template.html'))You can base your script template on the included templatecodemirror_script.html.Example appThere is a simple example app included. To run it:runtox-edevenvrun./run_example_server.shvisithttp://localhost:8000/admin/testapp/in your browser.
Package: django-codemirror6
Django CodeMirror 6is
an Apache2 licensed Django application to support CodeMirror 6.FeaturesPre-compiled bundles for Code Mirror 6Tested on Python 3.7, 3.8, 3.9, 3.10, 3.11Tested on Django 3.2 LTS and Django 4.1Tested on Linux, Mac, and WindowsQuickstartInstalling Django CodeMirror 6 is simple withpip:$ pip install django-codemirror6Changesettings.pylike:INSTALLED_APPS += ['django_codemirror6']In the template:{% load static %}
...
<script src="{% static 'cm6/cm6-all-yjs.min.js' %}"></script>Bundles are named as:cm6[-language][-yjs][.min].js[-language]is optional and any of cpp, css, html, java, javascript,
json, markdown, php, python, rust, sql, xml, or the special “all”[-yjs]is optional for real-time sharing/collaboration[.min]is optional for minified sourcesExamples:cm6.jsis a text editor with no specific language support and no yjscm6-python.min.jsis a minified text editor with Python language supportcm6-all-yjs.min.jsis a minified text editor with everythingSee thedemofor a Code Mirror 6 example configuration.Reference and IndicesDjango CodeMirror 6 DocumentationDjango CodeMirror 6 at PyPIDjango CodeMirror 6 at GitHubDjango CodeMirror 6 Issue TrackerDjango CodeMirror 6 LicenseCopyright 2022-2023 Grant JenksLicensed under the Apache License, Version 2.0 (the “License”); you may not use
this file except in compliance with the License.  You may obtain a copy of the
License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.  See the License for the
specific language governing permissions and limitations under the License.
Package: django-codemirror-widget
Djangoform widget library for usingCodeMirroronTextarea.Installationpipinstalldjango-codemirror-widgetUsageFirst, you need to specifiedCODEMIRROR_PATHonsettings.py.CODEMIRROR_PATHis the URI of CodeMirror directory likeCODEMIRROR_PATH = r"javascript/codemirror".
If you don’t specify it, it defaults to'codemirror'.
CodeMirror should be put there.Usecodemirror.CodeMirrorTextareawidget for target Textarea like below:fromdjangoimportformsfromcodemirrorimportCodeMirrorTextareacodemirror_widget=CodeMirrorTextarea(mode="python",theme="cobalt",config={'fixedGutter':True},)document=forms.TextField(widget=codemirror_widget)SettingsUse the followings in yoursettings.py.CODEMIRROR_PATHThe URI of CodeMirror directory (your CodeMirror installation should live in{{ STATIC_URL}}/{{CODEMIRROR_PATH }})CODEMIRROR_MODEThe default mode which may be a string or configuration map (DEFAULT:'javascript')CODEMIRROR_THEMEThe default theme applied (DEFAULT:'default')CODEMIRROR_CONFIGBase mapping for the rest of the CodeMirror options (DEFAULT:{ 'lineNumbers': True })CODEMIRROR_JS_VAR_FORMATA format string interpolated with the form field name to name a global JS variable that will hold the CodeMirror
editor object. For example withCODEMIRROR_JS_VAR_FORMAT = "%s_editor"and a field named ‘code’, the JS variable
name would be ‘code_editor’. IfCODEMIRROR_JS_VAR_FORMATis None, no global variable is created (DEFAULT: None)