Saravanan666/pypi-org huggingface dataset:
Package: djangocms-filer-video
djangocms-filer-video==================Video extension for Django filer... image:: https://travis-ci.org/Air-Mark/djangocms-filer-video.svg?branch=master:target: https://travis-ci.org/Air-Mark/djangocms-filer-video.. image:: https://coveralls.io/repos/Air-Mark/djangocms-filer-video/badge.svg?branch=master&service=github:target: https://coveralls.io/github/Air-Mark/djangocms-filer-video?branch=masterQuick start************#. Install ``djangocms-filer-video``:::pip install djangocms-filer-videoor from sources::pip install git+https://github.com/Air-Mark/djangocms-filer-video.git#. Add ``djangocms_filer_video`` to ``INSTALLED_APPS`` in your Django settings.#. Add video field to filer settings into settings file. Note: the order is important.::FILER_FILE_MODELS = ('filer.Image','djangocms_filer_video.VideoFile','filer.File',)#. Usage of template tags:::{% load filer_video_tags %}{% video_thumbnail video '1280x0' 'mp4' as video_large_mp4 %}{% video_thumbnail video '640x0' 'mp4' as video_small_mp4 %}<div class="product__video-in"><video style="width: 50%" loop="loop" data-width="{{ video_small_mp4.meta_width }}" data-height="{{ video_small_mp4.meta_height }}" muted="muted" poster="{{ poster }}"><source src="{{ video_small_mp4.file.url }}" data-large="{{ video_large_mp4.file.url }}" type="video/{{ video_small_mp4.video_format }}"></video></div>#. Usage of model fields::from django.db import modelsfrom djangocms_filer_video.fields.video import FilerVideoFileFieldclass ExampleModel(models.Model):main_video = FilerVideoFileField(verbose_name=_('Main video'), blank=True, null=True,on_delete=models.SET_NULL,related_name='post_properties_video')Release 0.1 (Januar 17, 2019)--------------------------- Initial release
Package: djangocms-flash
djangocms-flash===============A flash plugin for django CMS.Installation------------This plugin requires `django CMS` 3.0 or higher to be properly installed.* In your projects `virtualenv`_, run ``pip install djangocms-flash``.* Add ``'djangocms_flash'`` to your ``INSTALLED_APPS`` setting.* If using Django 1.6 and South < 1.0.2 add ``'djangocms_flash': 'djangocms_flash.migrations_django',``to ``SOUTH_MIGRATION_MODULES``  (or define ``SOUTH_MIGRATION_MODULES`` if itdoes not exist);* Run ``manage.py migrate djangocms_flash``.Translations------------If you want to help translate the plugin please do it on transifex:https://www.transifex.com/projects/p/django-cms/resource/djangocms-flash/
Package: djangocms-flexslider
djangocms-flexsliderThis is a simpledjango-cmsplugin that implements the JavaScriptFlexSliderlibrary.Dependenciesdjango>=1.8django-cms>=3.2InstallationTo install:pip install djangocms-flexsliderThen add djangocms-flexslider to your installed apps:INSTALLED_APPS = [
    ...
    'djangocms_flexslider',
    ...
]If you’re not already usingdjango-filer,easy-thumbnailsanddjangocms-text-ckeditorthen these too will need to be added to your installed apps:INSTALLED_APPS = [
    ...
    'djangocms_text_ckeditor',
    'easy_thumbnails',
    'filer',
    ...
]And run the migrations:./manage.py migrateThe package assume that jQuery has been added to the site already. So if you’re not using already, please add to you templates/base.html:<scriptsrc="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>ConfigurationThe FlexSlider JS and CSS are by default loaded from the below CDN. If you wish to override this, this can be done in your settings.py file by adding the below with your updated URLs. This is optional.DJANGOCMS_FLEXSLIDER={'JS_URL':'https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.6.1/jquery.flexslider.min.js','CSS_URL':'https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.6.1/flexslider.min.css'}UsageThe slider plugin is added to page, where the configuration for the slider is set. The settings allow you to add a carousel thumbnail slider if you wish, you are also provided the ability to pass the JSON config for both the carousel and the slider.There are manyFlexSlider exampleson their site, or you can view the fullFlexSlider properties. The configuration JSON object is optional, so you have no obligation to provide this. A simple example of the config with a carousel is provided below.Once the slider has been setup, slides are added by adding child slide plugins to the slider. Each slide has to have an image, (I’ve useddjango-filerfor the images), and can optionally have an explicit height and/or width, a caption, url link or page link as well.Example JSON ConfigSlider:{animation:"slide",smoothHeight:true,controlNav:false,animationLoop:false,slideshow:false,sync:"#carousel"}Carousel:{animation:"slide",controlNav:false,animationLoop:false,slideshow:false,itemWidth:210,itemMargin:5,asNavFor:'#slider'}
Package: djangocms-form-builder
djangocms-form-buildersupports rendering of styled forms. The objective is
to tightly integrate forms in the website design.djangocms-form-builderallows as many forms as you wish on one page. All forms areajax/xhr-based.
To this end,djangocms-form-builderextends the django CMS plugin model
allowing a form plugin to receive ajax post requests.There are two different ways to manage forms withdjangocms-form-builder:Building a form with django CMS’ powerful structure board.This is
fast an easy. It integrates smoothly with other design elements, especially
the grid elements allowing to design simple responsive forms.Form actions can be configured by form. Built in actions include saving the
results in the database for later evaluation and mailing submitted forms to
the site admins. Other form actions can be registered.Works withdjango CMS v4anddjangocms-aliasto manage your forms centrally.
Djangocms-alias becomes your form editor and forms can be placed on pages by
refering to them with their alias.Registering an application-specific form with djangocms-form-builder.If you
already have forms you may register them with djangocms-form-builder and allow
editors to use them in the form plugin. If you only have simpler design
requirements,djangocms-form-builderallows you to use fieldsets as with
admin forms.Key featuresSupportsBootstrap 5.Open architecture to support other css frameworks.Integrates withdjango-crispy-formsFeedbackThis project is in a early stage. All feedback is welcome! Please
mail me at fsbraun(at)gmx.deAlso, all contributions are welcome.ContributingThis is a an open-source project. We’ll be delighted to receive your
feedback in the form of issues and pull requests. Before submitting your
pull request, please review ourcontribution guidelines.We’re grateful to all contributors who have helped create and maintain
this package. Contributors are listed at thecontributorssection.InstallationFor a manual install:runpip installgit+https://github.com/fsbraun/djangocms-form-builder@master#egg=djangocms-form-builderadddjangocms_form_builderto yourINSTALLED_APPS:runpython manage.py migrateTo use thedjangocms-form-builderyou will have to have
jQuery installed in your project.djangocms-form-builderdoes not include
jQuery.
Package: django-cms-forms
Django CMS FormsSource:https://github.com/sim1234/cms_forms/InstallationInstalldjango-cms-formspackage.Addcms_formstoINSTALLED_APPSdjango setting.Addpath("forms/", include("cms_forms.urls"))to your main url config.ConfigurationConfigure this package by setting these variables in your django settings.
All settings are optional. The default values can be imported fromcms_forms.config_defaults.CMS_FORMS_REGISTER_PLUGINS: bool - A flag indicating if the package should register to cms all plugins mentioned in the following lists.CMS_FORM_PLUGINS: List[str] - List of dot delimited paths to form plugins.CMS_FIELD_PLUGINS: List[str] - List of dot delimited paths to form field plugins.CMS_WIDGET_PLUGINS: List[str] - List of dot delimited paths to field widget plugins.CMS_CHOICE_OPTION_PLUGINS: List[str] - List of dot delimited paths to choice option plugins.CMS_CHOICE_FIELD_PLUGINS: List[str] - List of dot delimited paths to choice field plugins.CMS_BUTTON_PLUGINS: List[str] - List of dot delimited paths to button plugins.DocumentationTODOContributingFeel free to propose any change, as long as it tested and passes the repo checks.Here is a simple guide to development installation of the project:git clone https://github.com/sim1234/cms_forms.git && cd cms_forms
apt-get install python3.8 docker docker-compose  # these are system requirements
python3.8 -m venv venv && source venv/bin/activate
export PYTHONPATH=$PYTHONPATH:$(pwd)/examples
export DJANGO_SETTINGS_MODULE=installation.settings
pip install -r requirements-test.txt
flake8 .
black --line-length 120 .
pytest --cov cms_forms tests
docker-compose down && docker volume prune -f && docker-compose up --build --abort-on-container-exit # run selenium testsThe project  is automatically built on tag push and a new release is published.
Package: djangocms-forms
This project requires django-cms v3.0 or higher to be properly installed and configured.This package is compatible withAldryn.QuickstartInstalldjangocms-forms:pip install djangocms-formsAdddjangocms_formstoINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'djangocms_forms',
    ...
)Sync database tables (requires south>=1.0.1 if you are using Django 1.6.x):python manage.py migrateAdddjangocms_forms.urlsto your project’surlsmodule or create a django CMS page to hook the application into. InAdvanced Settings, set its Application toForms(this requires a server restart):urlpatterns = patterns(
    ...
    url(r'^', include('djangocms_forms.urls')),
    ...
)To use reCAPTCHA for spam protection, you need to sign up for an API key pair for your site:DJANGOCMS_FORMS_RECAPTCHA_PUBLIC_KEY = '<recaptcha_site_key>'
DJANGOCMS_FORMS_RECAPTCHA_SECRET_KEY = '<recaptcha_secret_key>'You can register a new site viahttps://www.google.com/recaptcha/adminConfigurationPlugin(s) Module - If module is None, plugin is grouped Generic group:DJANGOCMS_FORMS_PLUGIN_MODULE = _('Generic')Name of the plugin:DJANGOCMS_FORMS_PLUGIN_NAME = _('Form')The path to the default template used to render the template:DJANGOCMS_FORMS_DEFAULT_TEMPLATE = 'djangocms_forms/form_template/default.html'or override theForm Templatedropdown choices to have different template options:DJANGOCMS_FORMS_TEMPLATES = (
    ('djangocms_forms/form_template/default.html', _('Default')),
)HTML5 required - When set to True all required fields inputs will be rendered with HTML5required=requiredattribute:DJANGOCMS_FORMS_USE_HTML5_REQUIRED = FalseBy default,djangocms-formsadds additional css classes to all form inputs. e.g. aTextfield generates an<inputclass="textinput">You can override this to integrate your own CSS framework:DJANGOCMS_FORMS_WIDGET_CSS_CLASSES = {'__all__': ('form-control', ) }e.g. the above setting would generate<inputclass"form-control"....for all fields.By default, djangocms-forms will redirect a successful form submission after 1000 milliseconds (1 second). You may provide your own redirect delay value for all forms site-wide via settings:DJANGOCMS_FORMS_REDIRECT_DELAY = 10000  # 10 secondsor on a per-form basis via theredirect_delayfield. The order of precedence for the redirect value is always:instance.redirect_delay > DJANGOCMS_FORMS_REDIRECT_DELAY > 1000 (default)PreviewYou may also like…djangocms-disqus -https://github.com/mishbahr/djangocms-disqusdjangocms-embed -https://github.com/mishbahr/djangocms-embeddjangocms-fbcomments -https://github.com/mishbahr/djangocms-fbcommentsdjangocms-gmaps -https://github.com/mishbahr/djangocms-gmapsdjangocms-instagram -https://github.com/mishbahr/djangocms-instagramdjangocms-responsive-wrapper -https://github.com/mishbahr/djangocms-responsive-wrapperdjangocms-twitter2 -https://github.com/mishbahr/djangocms-twitter2djangocms-youtube -https://github.com/mishbahr/djangocms-youtube
Package: django-cms-fragments
django-cms-fragments is a plugin for django-cms.
With this plugin you can include several fragments of js, css and html in the
context of a cms page.
Fragments can be added by uploading a file, providing an external url(for js and css),
or writing inline code.The plugin basically adds jss and js to the page, using sekizai tags.
It relies on the fact that django-cms requires “js” and “css” blocks to work.
The html fragments are rendered within the plugin template.This package is in an alpha stage, don’t use it in production.I created the project because i didn’t want to have to modify my cms installation
by adding templates or app_hooks for displaying rich visualizations such as
Openlayers Maps or jQplot charts.
Another use of the plugin is overriding some css in a particular cms page.InstallationInstall via pip:pip install django-cms-fragmentsAdd ‘cms_fragments’ to your INSTALLED_APPSUse ‘django.contrib.staticfiles’, or copy the static subfolder of django-cms-fragments
to your static folderUsageFragmentsFragmentsBlocksTBW
A “fragment block is”RegionsTBW
Regions must be declared in your settings.py, with the CMS_FRAGMENTS_REGIONS setting.To use the plugin, you must create some Fragment or FragmentCollection instances with the Django admin.
FragmentCollections are a collection of Fragments.
Once you have one or more Fragments or FragmentCollections in the DB, you can choose which one to put in a
plugin, with the usual django-cms interface.
…Implemented Featurescurrent version:0.0.5FragmentRegions an FragmentBlockFragmentCollection and Fragment models, with admin integrationFragmentPlugin and FragmentCollectionPlugin for django-cmscss fragments from files, url or inline codejs fragments from files, url or inline codehtml fragments from files or inline codeintegration with ace editorordering of elements in a FragmentCollection…RoadMap/Planned Featuresplanned version:0.1.0example fixtures for FragmentCollection and Fragment modelslive examplesdrag and drop ordering in adminwrite docsseparate models for css, js and HTML fragmentsRelease Notesversion 0.0.5:Introduced FragmentRegionsversion 0.0.4:Using ace editor instead of editareaPartial documentation at readthedocs.orgCompatibilityThe app is being developed for Django >= 1.3.1. I’m not checking compatibility with other
Django versions right now.CreditsThe project borrows from the following other codebases:ace editor by ajax.org. The ace license is included in the folder cms_fragments/static/acsjs/LICENSE
Package: djangocms-fullslider
# djangocms-fullsliderFull page slider plugin for Django CMSdjangocms-fullslider uses [Vegas Background Slider](https://vegas.jaysalvat.com/)([MIT License](https://github.com/jaysalvat/vegas/blob/master/LICENSE.md)) inside.## How to use pugin1. Install through pip:```bashpip install djangocms-fullslider```2. Add `djangocms_fullslider` to your `INSTALLED_APPS` setting3. Enjoy Fullpage Slider in placeholderPlugin settings description could be found at [Vegas settings documentation](http://vegas.jaysalvat.com/documentation/settings/)## Customize css and js locationsYou can declare `FULLSLIDER` variable in your django settings with following optional fields:* `JS_URL` - specify URL to custom Vegas JS file. By default value is `STATIC_URL + 'djangocms_fullslider/js/vegas.min.js'`* `CSS_URL` - specify URL to custom Vegas CSS file. By default value is `STATIC_URL + 'djangocms_fullslider/css/vegas.min.css'`So, your final config could looks like:```pythonFULLSLIDER = {"JS_URL": "<URL TO YOUR CUSTOM VEGAS JS>","CSS_URL": "<URL TO YOUR CUSTOM VEGAS CSS>"}```## Development proceduresEnsure that all python sources contain license notice:```bash./development/copyright-update```Building distribution package:```bash./build.sh clean build```Uploading package to PyPi:```bash./build.sh publish```
Package: djangocms-gallery
# djangocms-galleryGallery plugin for django-cms. Still in development.## Installation
You can easily install it via pip:pip install djangocms-galleryadddjangocms_galleryto yourINSTALLED_APPSrunsyncdbandmigrate## Requirements
* django-filer
* easy-thumbnails## Settings
### GALLERY_TEMPLATES
A Tuple of Tuples containing the available Templates:((‘djangocms_gallery/default.html’, _(‘default’),)### ADVANCED_OPTIONS
Default is False. If True, additional options will be available in the admin.## People
This plugin uses cl.gallery.js out of the classjs-plugins-library:
*https://github.com/FinalAngel/classjs-plugins
Package: djangocms-ga-optout
Copyright (c) 2018 BlueshoePermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.Description: UNKNOWN
Keywords: django,Django CMS,ga,google analytics,GDPR,CMS,Blueshoe
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Django
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Package: djangocms-geoplaceholder
Плагин-контейнер для Django CMS, выводящий дочерние плагины только для
посетителей из определённых регионов, определяемых с помощьюdjango-geoip.Установка и настройкаПроще всего установить его с помощьюpip$ pip install djangocms-geoplaceholderДобавьте ‘djangocms_geoplaceholder’ в INSTALLED_APPS вашего проекта и запустите$ manage.py migrateНе забудьте обновить базу адресов django-geoip$ manage.py geoip_updateИстория изменений1.1.0 (2019-07-28)Поддержка Django 2.1 и Django CMS 3.6.
Package: djangocms-git-md-page
djangocms-git-md-pageDjangoCMS plugin for displaying a page with markdown in git repository.InstallationAdd thedjangocms-git-md-plugininto requirements and install it into the environment.# setup.pysetup(install_requires=[# ...'djangocms-git-md-page',])Addgit_md_pageinto theINSTALLED_APPS# settings.pyINSTALLED_APPS=[# ...'git_md_page',]Create an entry inurlsfor incoming notifications from GitHub.# urls.pyurlpatterns=[# ...path('git_md_page/',include('git_md_page.urls')),]Run migrations$pythonmanage.pymigrateUsageIn the CMS administration, click the+symbol to add a new plugin. This plugin is namedGit MD pageand is located
in theOtherssection.First of all, it is required to select the source repository. One can choose from the available choices or create a new
choice (new source repository) by clicking the+symbol next to the select box. Every repository is defined by its
address and branch. In the form, there are hints what value should be used. Also, there is another field calledsecret. Its default value is a random string which can be left for further usage. Thissecretvalue is then used for
security purposes in the GitHub administration.When a repository is successfully selected, next fill the path to the desired MD file.After that, it is required to set up awebhookin the GitHub project administration. It updates the content of
the plugin every time the content of the file in the repository is changed. In your GitHub project administration, clickSettings(horizontal navigation on the top of the page),Webhooks(left vertical navigation),Add webhook(a
button in the right top corner).Note: If the itemWebhooksis not in the vertical navigation, you probably do not have permissions to manage webhooks
and you should ask the project owner to do it or for the permissions.In the form of a new webhook you set thePayload URLtohttps://your.domain/git_md_page/endpoints/git_update/<repository-id>/. Theyour-domainis the domain where the web
page will be served, the<repository-id>will be explained later. Set theContentTypetoapplication/jsonand
finally set theSecretto the very same value as theSecretof the repository in your django-cms web application, as
mentioned before (it should be the random string, by default).Last thing to mention is the<repository-id>. Getting this ID is a little confusing. In the django-cms web
administration edit the repository instance and check the URL address. It should look likehttps://your.domain/en/admin/git_md_page/gitrepository/1/change/?_to_field=id&_popup=1. The partgitrepository/1/(aliasgitrepository/<repository-id>/) is important, because it carries the repository identifier,1. This
identifier is then used in thePayload URLwhen setting up the webhook, as mentioned before.For more information about the GitHub webhooks, check thedocumentation.
Package: djangocms-glyphicon-awesome
A django app that eases the incorporation of the two ckeditor plugins (http://ckeditor.com/addon/glyphiconsandhttp://ckeditor.com/addon/fontawesome) into djangocms’s ckeditor.InstallationTo get started usingdjangocms-glyphicon-awesome:install it withpip:$ pip install djangocms-glyphicon-awesomeadd the app toINSTALLED_APPSand make sure it’s beforedjangocms_text_ckeditor:INSTALLED_APPS = (
    ...
    'djangocms_glyphicon_awesome',
    'djangocms_text_ckeditor',
    ...
)ConfigurationYou need aCKEDITOR_SETTINGSinsettings.pythat hastoolbar_CMSattribute containingGlyphiconsYou can copy the following configuration into yoursettings.py:CKEDITOR_SETTINGS = {
    'language': '{{ language }}',
    'extraPlugins': 'cmsplugins,glyphicons,lineutils,widget',
    'toolbar_CMS': [
        [ 'Source', 'Maximize' ],
        [ 'cmsplugins', '-', 'ShowBlocks' ],
        [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ],
        [ 'Find', 'Replace', '-', 'SelectAll', '-', 'Scayt' ],
        [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ],
        [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ],
        [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language' ],
        [ 'Link', 'Unlink', 'Anchor' ],
        [ 'Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ],
        [ 'Styles', 'Format', 'Font', 'FontSize' ],
        [ 'TextColor', 'BGColor'],
        [ 'Glyphicons' ],
    ],
    'contentsCss': 'http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css',
    'skin': 'moono',
}Now when you edit any text plugin with ckeditor, you will see a red cross button. Click the button and you will find all the Glyphicons.TodoAlthough the app’s name suggests that Font Awesome should be included in this app, it’s not done in the first release. Would add it in the future release.