Saravanan666/pypi-org huggingface dataset:
Package: djangocms-lab-carousel
djangocms-lab-carouselis a Django app for adding a carousel of recent papers, etc. to a Django site with django CMS-specific features. It usesdjangocms-lab-publicationsmanage publications.Source code is available on GitHub atmfcovington/djangocms-lab-carousel. Information about and source code fordjangocms-lab-carouselis available on GitHub atmfcovington/djangocms-lab-publications.InstallationConfigurationMigrationsUsageRevision HistoryInstallationPyPIpipinstalldjangocms-lab-carouselGitHub (development branch)pipinstallgit+http://github.com/mfcovington/djangocms-lab-carousel.git@developConfigurationInstall django CMS and start a project, if one doesn’t already exist.Unless you use this app as part ofdjangocms-lab-siteor plan to style the app from scratch, you will want to choose theUse Twitter Bootstrap Themeoption (when runningdjangocms) and then edit the resultingtemplates/base.html. This will add style that looks like Bootstrap 2. To use Bootstrap 3 styling, remove the following line for thebootstrap-theme.min.cssstylesheet fromtemplates/base.html:<linkrel="stylesheet"href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.x.x/css/bootstrap-theme.min.css">Do the following insettings.py:Addcms_lab_carouseland its dependencies toINSTALLED_APPS:INSTALLED_APPS=(# ...'cms_lab_carousel','cms_lab_publications','easy_thumbnails','filer','mptt','taggit',)Addeasy_thumbnailsettings:# For easy_thumbnails to support retina displays (recent MacBooks, iOS)THUMBNAIL_HIGH_RESOLUTION=TrueTHUMBNAIL_QUALITY=95THUMBNAIL_PROCESSORS=('easy_thumbnails.processors.colorspace','easy_thumbnails.processors.autocrop','filer.thumbnail_processors.scale_and_crop_with_subject_location','easy_thumbnails.processors.filters',)THUMBNAIL_PRESERVE_EXTENSIONS=('png','gif')THUMBNAIL_SUBDIR='versions'MigrationsCreate and perform migrationscms_lab_carouseland its dependencies:pythonmanage.pymakemigrationscms_lab_carouselpythonmanage.pymakemigrationscms_lab_publicationspythonmanage.pymigrateUsageStart the development server:pythonmanage.pyrunserverVisit:http://127.0.0.1:8000/Create a CMS page.Insert theCarousel Plugininto a placeholder field.Version 0.2.1Revision History0.2.1 2015-12-07Set slide’s publication date based on article’s publication datePrevent deletion of publication that is being used by a slideOn carousel deletion, set slide’s carousel field to nullShow (and sort by) # of slides in carousel admin’s list displayAdd save buttons to top of carousel adminMinor behind-the-scenes improvementsUpdate README with more complete and accurate instructionsPrepare for distribution via PyPI0.2.0 2015-08-27Allow linking from a slide to a journal article (djangocms-lab-publication)Configure bumpversion & wheel for easier distribution0.1.4 2015-05-08Add optional CMS page link button for slides0.1.3 2015-04-21Make minor improvements to styling0.1.2 2015-04-19Make minor improvements to styling0.1.1 2015-04-17Correct app name insetup.py0.1.0 2015-04-17A Django app for adding carousel of recent papers, etc. to a Django site with django CMS-specific features
Package: djangocms-layout
Use your own grid system or a prepackaged CSS framework such as Twitter Bootstrap or Foundation Framework. It’s a quick, easy & flexible way to create a responsive web site.QuickstartInstalldjangocms-layout:pip install djangocms-layoutAdddjangocms_layouttoINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'djangocms_layout',
    ...
)Then sync and migrate:python manage.py syncdb
python manage.py migrateFeaturesTODODocumentationThe full documentation is athttps://djangocms-layout.readthedocs.org.History0.1.0 (2015-01-17)First release on PyPI.
Package: djangocms-layouter
Django-CMS Layouteris a plugin forDjango CMSwhich aims to provide a grid system for authors and editors
with a high ease of use and comprehensibility. It is leveragingBootstrap(version 3 and 4 supported) as it
is a very popular framework to create responsive websites.DocumentationPlease feel free to contribute and help us to improveDjango-CMS Layouter.Installation and ConfigurationDjango-CMS Layoutersupports Django-CMS>=3.4. It may work with any older version.Install via pip:pip installdjangocms-layouter.AddlayoutertoINSTALLED_APPS.Addurl(r'^layouter/',include('layouter.urls',namespace='layouter'),)to your url configRun migrations:python manage.py migrate layouter.Set the settingLAYOUTER_BOOTSTRAP_VERSIONto 3 or 4.Done.Please note: Migrations are generated each release. If you checkout the current state of development
migrations might be missing.Static filesThe required CSS and JavaScript files are added to the sekizai blockscssandjs. If you don’t use these blocks, you need to manually add the static files:layouter/css/layouter.csslayouter/js/layouter.jsBoth are only required when the toolbar is inedit_mode.FeaturesThese are the core features ofDjango-CMS Layouter:Flat tree in structure modeAutomatic arrangement of columns, for different screen sizesWarning, due to too many plugins, in structure modeOptional equal height for columns (uses CSS3 flexbox)Toggle grid - show and hide grid in content modeMigrating to Django>=2There is not much you need to do. Just run update andpython manage.py migrate.ToDo’sNo software is perfect, everyone’s code sucks. Feel free to suggest, criticize and/or contribute.Dynamic Warning Updates- Dragging and Dropping in the structure view does not update the warnings within the
plugin.Add support for Divio Cloud- Adding support for the Divio Cloud, so that the Layouter is installable via
Divio Cloud control panel.Author / Editor Documentation- IMHO this is one of the things Django-CMS lacks. We need more and better resources
for authors and editors. Not only for Django-CMS, this plugin needs it to, for sure.Advanced Mode- Not completely sure what it should look like. The current implementation is very limited
when it comes to adapting columns for different screen sizes or using more than 4 columns. It currently is completely
defined by this plugin, which can be good, but does not have to be. Some users want the plugin to take care, others want
to control the behaviour themselves.Tests- There should be something like casper.js tests, maybe there is something better.
Package: djangocms-layouttools
================
Django CMS LayoutTools|pypi| |build| |coverage|Django CMS LayoutToolsis a set of plugins fordjango CMS <http://django-cms.org>_
that allows you to design content sections on cms webpages that have specified
container properties (e.g., container-fluid) and css styling such as backgrounds.
It uses Bootstrap3 container classes by default, but doesn't necessarily require
Bootstrap to be a useful tool for sectioning and styling content. A Section plugin
is provided now, but further plugins may be created at a later date.It uses images/files managed byDjango Filer <https://github.com/divio/django-filer>_.ContributingThis is a an open-source project. We'll be delighted to receive your
feedback in the form of issues and pull requests. See the github repocontribution guidelines https://github.com/mci/djangocms-layouttools>_.DocumentationSeeREQUIREMENTSin thesetup.py <https://github.com/mci/djangocms-layouttools/blob/master/setup.py>_
file for additional dependencies:Python 2.7, 3.3 or higherDjango 1.8 or higherDjango Filer 1.2.4 or higherMake suredjango Filer <http://django-filer.readthedocs.io/en/latest/installation.html>_
is installed and configured appropriately.InstallationFor a manual install:runpip install djangocms-layouttoolsadddjangocms_layouttoolsto yourINSTALLED_APPSrunpython manage.py migrate djangocms_layouttoolsConfigurationTBDRunning TestsYou can run tests by executing::virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python setup.py test.. |pypi| image::https://badge.fury.io/py/djangocms-layouttools.svg:target:http://badge.fury.io/py/djangocms-layouttools.. |build| image::https://travis-ci.org/mci/djangocms-layouttools.svg?branch=master:target:https://travis-ci.org/mci/djangocms-layouttools
Package: djangocms-leaflet
djangocms-leafletThis app provides plug-ins for the JavaScript map libraryLeaflet.Table of ContentsInstallationLicenseInstallationpip install djangocms-leafletor adddjangocms-leafletto the dependencies of your project, e. g. inpyproject.toml:dependencies=[# …'djangocms-leaflet',# …]Add it toINSTALLED_APPSin the settings::INSTALLED_APPS:list[str]=[# …'djangocms_leaflet',# …]UsageAdd a map plugin to a placeholder and fill in the form. Add markers as sub plugins if needed.
In the templatesrc/djangocms_leaflet/templates/djangocms_leaflet/map.htmlthe tile server
of the OpenStreetMap website is defined. Make sure you comply with their usage policy or
use another tile server by replacing the tile server’s URL.You can either specify latitude and longitude of the map or marker or enter a search term.
If no coordinates are entered, they will be searched with Nominatim and the first hit in the result list location will
be used as coordinates.Licensedjangocms-leafletis distributed under the terms of theMITlicense.Integrated libraryNameDescriptionLicenseLeafletJavaScript library for mapsBSD-2-Clause license
Package: djangocms-lightgallery
DjangoCMS Plugin forLightGallery.DocumentationThe full documentation is athttps://djangocms-lightgallery.readthedocs.io.QuickstartRequirementsdjango-filerInstall djangocms-lightgallery:pip install djangocms-lightgalleryAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'djangocms_lightgallery',...)Featurescreate image galleries withlightGallerydisplays images in gallery as a thumbnail previewRunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageLightGalleryToDomake the thumbnail preview customizablegive more styling optionsHistory0.1.8 (2017-11-17)fixed icon overlay bug on thumbnails0.1.0 (2017-11-17)First release on PyPI.
Package: djangocms-light-gallery
django CMS plugin forLight Gallery
1.4.0Example light gallery using default settingsInstallationFirst, adddjangocms-light-galleryto your requirements.txt or install the pluginpip install djangocms-light-galleryThen add the plugin to settings.pyINSTALLED_APPS = [
  // ...
  'light_gallery',
  // ...Run the migrationspython manage.py migrate light_galleryThis plugin relies on javascript, ensure you have a js block in your template{% render_block "js" %}Should now seeLight Galleryas a component in django CMS
Package: djangocms-link
django CMS Linkis a plugin fordjango CMSthat
allows you to add links on your site.This plugin supports child plugins. If you add an other plugin as a
child it will take this content instead of the link name as the content of the link.This addon is compatible withDivio Cloudand is also available on thedjango CMS Marketplacefor easy installation.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.One of the easiest contributions you can make is helping to translate this addon onTransifex.DocumentationSeeREQUIREMENTSin thesetup.pyfile for additional dependencies:Django Filer 1.7 or higherMake suredjango Fileris installed and configured appropriately.InstallationFor a manual install:runpip installdjangocms-linkadddjangocms_linkto yourINSTALLED_APPSrunpython manage.py migrate djangocms_linkConfigurationNote that the provided templates are very minimal by design. You are encouraged
to adapt and override them to your project’s requirements.This addon provides adefaulttemplate for all instances. You can provide
additional template choices by adding aDJANGOCMS_LINK_TEMPLATESsetting:DJANGOCMS_LINK_TEMPLATES=[('feature',_('Featured Version')),]You’ll need to create thefeaturefolder insidetemplates/djangocms_link/otherwise you will get atemplate does not existerror. You can do this by
copying thedefaultfolder inside that directory and renaming it tofeature.To support environments where non-standard URLs would otherwise work, this
project supports the defining of an additional RegEx pattern for validating the
host-portion of the URL.For example:# RFC1123 Pattern:DJANGOCMS_LINK_INTRANET_HOSTNAME_PATTERN=r'[a-z,0-9,-]{1,15}'Either of these might accept a URL such as:http://SEARCHHOST/?q=some+search+stringIf left undefined, the normal Django URLValidator will be used.Django Select2This plugin supportsdjango-select2for simpler use of internal links. You need to manually enable it by:runpip installdjango-select2adddjango_select2to yourINSTALLED_APPSaddurl(r'^select2/',include('django_select2.urls')),to yoururls.pysetDJANGOCMS_LINK_USE_SELECT2 = Truein yoursettings.pyRunning TestsYou can run tests by executing:virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python setup.py test
Package: djangocms-link2
A link/-structure management plugin that replaces the plugin shipped with django-cms with a robust version that employs file fields from django-filer.
It can be used as a drop-in replacement forcmsplugin_filer_link. The package contains a management command to migrate
all existing Link-instances from cmsplugin_filer_link tolink2.Featurescmsplugin_filer_link is already a great plugin and link2 builds on it. The following advantages are available in this package:robust django-cms link plugin which doesn’t fail loudlypersists the internal url as wellcan be copied safely between languages (even if the target page is not yet available in this language)internal and external links are monitored (through a management command)faulty links are visually highlighted for the content editoran admin page lists all faulty linkseasy migration fromcmsplugin_filer_link(through a management command)Dependenciesdjango-filer >= 1.2Django >= 1.8django-cms >= 3.1djangocms-attributes-fieldrequestsInstallationTo get started usingdjangocms-link2:install it withpip:$ pip install djangocms-link2add the plugins toINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'cmsplugin_filer_link2',
    ...
)runmigrate cmsplugin_filer_link2.remove the defaultdjangocms-linkorcmsplugin_filer_linkfrom yourINSTALLED_APPSaddLINK_DOMAIN = 'www.yourdomain.com'to your settings to make sure files and relative paths can be checked
through the management command.Management Command./manage.py check_linksallows you to check allLinkinstances../manage.py check_links--timeout=20allows you to set a timeout for quicker checks. Default timeout is 60 seconds.
Package: djangocms-link-all
In order to add more link types add to yoursettings.pyLINK_ALL_MODELS, egfromlink_all.dataclassesimportLinkAllModelLINK_ALL_MODELS_ADDITIONAL=[LinkAllModel(app_label='djangocms_blog',model_name='Post'),LinkAllModel(app_label='djangocms_blog',model_name='BlogCategory',url_method='get_absolute_url',is_show_url_in_select=True),]The add the urls to your urls.py file:urlpatterns = [
    path('', include('link_all.api.urls')),
]You can also add link all field to your plugin by using theLinkAllMixinmodel mixin and inheriting fromLinkAllPluginsetup inlink_all.cms_plugins.Frontend developmentaddIS_LINK_ALL_DEV=trueto your.env-localfilecd link_all/static/link_allyarn installyarn startoryarn build
Package: djangocms-listyle
# Django CMS ListyleAdds a plugin to embed an ordered or unordered list to Django CMS. Children are automatically wrapped in `<li>` tags.The plugin extends the [Django CMS Style](https://github.com/divio/djangocms-style) plugin in order to make the same configurations available (index, classes, etc..)## Quick Start1. Install the easy way, using pip:$ pip install djangocms-listyle2. Add "djangocms\_listyle" to your INSTALLED\_APPS setting like this:INSTALLED_APPS = [...'djangocms_listyle',]3. Run `python manage.py migrate djangocms_listyle` to create the plugin models.## UsageLet say you want to build a set of social buttons like in the following example, which requires rendering an unordered list of elements:![Social Buttons Example](./docs/img/social_buttons_example.png "Social Buttons Example")The HTML being for the button row being:<ul class="list-inline intro-social-buttons"><li><a href="#" class="btn btn-default btn-lg network-name" role="button"><span class="icon fa fa-twitter" aria-hidden="true"></span>twitter</a></li><li><a href="#" class="btn btn-default btn-lg network-name" role="button"><span class="icon fa fa-github" aria-hidden="true"></span>github</a></li><li><a href="#" class="btn btn-default btn-lg network-name" role="button"><span class="icon fa fa-linkedin" aria-hidden="true"></span>linkedin</a></li><li><a href="#" class="btn btn-default btn-lg network-name" role="button"><span class="icon fa fa-envelope-o" aria-hidden="true"></span>email</a></li></ul>Using the Django CMS Listyle plugin, we can easily nest any listed objects.![Social Buttons Plugin Example](./docs/img/social_buttons_plugin_example.png "Social Buttons Plugin Example")What a time to be alive.## Running TestsYou can run tests by executing:$ virtualenv venv -p python3$ source venv/bin/activate$ pip install -r tests/requirements.txt$ python setup.py test## LicenseThis project is licensed under GPL 3.0 - see [LICENSE](LICENSE.md) for details.
Package: djangocms-livedraftswitch
DjangoCMS Live-Draft SwitchReturns classic DjangoCMS-style live-draft switch to DjangoCMS.Wait, what?With 3.1 release, DjangoCMS crew decided to replace the fabulous
live-draft toggle / switch with plain dumb boring buttons..I DON’T THINK SO!!!11number_oneThis is a quick’n’dirty response to that change. It’s a JavaScript
(jQuery, what else?!) hack that replaces those new buttons with
something resembling the old toggle..Oh common, that’s not really a problem!Well, it’s not, really. But IMHO it’s a step in the wrong direction, be
it a tiny one. And anyways, I find it simpler to quickly whip up this
app together then to explain to my clients that nothing has really
changed.But it’s different then it wasIt’s improooooved :)The differences are cosmetic. And I like to think this one is a bit
better, because:User can see what mode they are in, as well as what mode they will be
switching to. This is not a big deal, but it just might help a new
user with their first edit ever.Orange Draft indicator is more visible then the classic gray dot.Ok, how do I install this thing?pip install djangocms-livedraftswitchAdd beforecmsapp:INSTALLED_APPS = (
    ...
    'djangocms-livedraftswitch',  # before cms app
    'cms',
    ...
)If you don’t like Pypi, you can dumpdjangocms-livedraftswitchdirectory somewhere inPYTHONPATH.Compatibility?Not tested much really…Works with DjangoCMS 3.1.2 and Django 1.7.9.Browsers:Google Chrome 64Firefox 38Safari 8.0.7 - animation is a bit jerkyIE 10+IE 9 - no animationIs that a demo project there?If you clone this repo, you’ll get a full demo project. Not much of one,
though, just a default DjangoCMS setup with this app installed. But this
repo includes a SQLite database, so you can test it right away. Login
withadminandadmin.Changesdevelopment0.2.5Swapped “draft” and “live” positions to make it similar to original
toggle, and also because it’s more natural this way.0.2.4Sorting out PyPi wierdness0.2.0First release
Package: djangocms-local-navigation
# djangocms-local-navigationThis package provides a DjangoCMS plugin that displays a menu based on thestructure of the current page. You can for example create a local menu that isbased on all the h2 elements on your page.## Installation`$ pip install djangocms-local-navigation`Then add it to INSTALLED_APPS:```pythonINSTALLED_APPS = (# ...'djangocms_local_navigation',)```Also add the plugin processor, which will add the `id` attributes to yournavigation elements, allowing you to actually linking to them:```pythonCMS_PLUGIN_PROCESSORS = (# ...'djangocms_local_navigation.cms_plugin_processors.patch_elements',)```You should now be able to add the plugin "Local menu" to your pages.## Configuration### CMS_LOCAL_NAVIGATION_NAV_ELEMENTSDefault: `h2`Defines which elements are used to create the local menu. This is a CSSselector so if you want for example only elements with the class`local-navigation-heading` to be included in the navigation you could use`h2.local-navigation-heading`.### CMS_LOCAL_NAVIGATION_XML_PARSERDefault: `None` (means automatic detection)Defines which XML parser is used to add anchors to the elements and create themenu. Refer to [the BeautifulSoup documentation](https://www.crummy.com/software/BeautifulSoup/bs4/doc/#specifying-the-parser-to-use)for more information. Be advised that [lxml has known issues withmod_python](http://lxml.de/FAQ.html#my-program-crashes-when-run-with-mod-python-pyro-zope-plone)and can cause your processes to hang.## DevelopmentTo run the tests, use `./setup.py test`.
Package: djangocms-mailchimp
The easiest way to let your visitors sign up for a newsletter with MailChimp. It’s great way to connect with your visitors beyond your site.FeaturesTODOQuickstartInstalldjangocms-mailchimp:pip install djangocms-mailchimpAdddjangocms_mailchimptoINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'djangocms_mailchimp',
    ...
)Sync database (requires south>=1.0.1 if you are using Django 1.6.x)::python manage.py migrateDocumentationThe full documentation is athttps://djangocms-mailchimp.readthedocs.org.