Saravanan666/pypi-org huggingface dataset:
Package: djangocms-text-redactor
A django-cms plugin that displays text and uses the
[Redactor](http://imperavi.com/redactor) editor for editing.Note that Redactor requires a license, therefore it is not included in this
repository.InstallationTo get the latest stable release from PyPipipinstalldjangocms-text-redactorTo get the latest commit from GitHubpipinstall-egit+git://github.com/bitmazk/djangocms-text-redactor.git#egg=djangocms_text_redactorAdddjangocms_text_redactorto yourINSTALLED_APPSINSTALLED_APPS=(...,'djangocms_text_redactor',)Add the app’s URLs to yoururls.pyurlpatterns+=patterns('',url(r'^djangocms-text-redactor/',include('djangocms_text_redactor.urls')),...)Don’t forget to migrate your database./manage.pymigratedjangocms_text_redactorMake sure that you include the redactor CSS and JS files in the CMS template
that should contain the Redactor plugin.Make sure to set the settingsDJANGOCMS_TEXT_REDACTOR_IMAGE_UPLOAD_URLandDJANGOCMS_TEXT_REDACTOR_IMAGE_GET_JSON_URLto the url names of the two
views that handle this (see Redactor documentation).UsageAdd theRedactor pluginto one of your placeholders. It will have some
sane default settings. You can leave the settings fortoolbarExternal,imageUploadandimageGetJsonas they are because they will be set
according to your settings.ContributeIf you want to contribute to this project, please perform the following steps# Fork this repository
# Clone your forkmkvirtualenv-ppython2.7djangocms-text-redactormakedevelopgitco-bfeature_branchmaster# Implement your feature and testsgitadd.&&gitcommitgitpush-uoriginfeature_branch# Send us a pull request for your feature branch
Package: djangocms-themata
A set of themes for Django CMS projects.InstallationInstall with pip from PyPI:pipinstalldjangocms-themataOr install directory from Github:pipinstallgit+https://github.com/rbturnbull/djangocms-themataUsageStart with a Django project set up withDjango CMS.Adddjangocms_thematato the list of plugins:INSTALLED_APPS+=["djangocms_themata",]Get your templates to extendbase.html:{% extends "base.html" %}To import stylesheets from bootswatch (https://bootswatch.com/) run this command:./manage.pyimportbootswatchThen navigate to the admin section of the website and go to the djangocms-themata section. Activate the theme that you like there.CreditsApp designed by Robert Turnbull (Melbourne Data Analytics Platform)All bootstrap themes are taken from the bootswatch CDN.
Package: django-cms-themes
django-cms-themes=================A django app that lets you load theme packs that are bundled templates, andselect which theme a site should use.Dependencies============- django (tested with 1.3)- django-cms (tested with 2.2)Getting Started=============To get started simply install using ``pip``:::pip install django-cms-themesAdd ``'cms_themes',`` to your installed apps and ``syncdb`` (or migrate, ifyou have south installed).Your installed apps should look something like this:::INSTALLED_APPS = ('django.contrib.auth','django.contrib.contenttypes','django.contrib.sessions','django.contrib.sites','django.contrib.messages','django.contrib.admin','cms','cms_themes',)Per the django-cms quickstart guide, you should have a setting in yoursettings file called PROJECT_PATH that points to the root of your project, i.e.``PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))``If not, it will be assumed that your themes will live just beneath the ``MEDIA_ROOT``.Usage=============All usage is done through the admin.Simply create a new Theme record and upload a theme tarball (tar.gz) file fromhttp://www.djangocmsthemes.com.  All templates from themes uploaded should nowshow up in your Templates drop down on a django cms page.
Package: djangocms-thumbnail-slider
# djangocms-thumbnail-sliderThumbnail slider uses [lightslider](https://github.com/sachinchoolur/lightslider) inside (under [MIT License](https://github.com/sachinchoolur/lightslider/blob/master/README.md#mit–sachin))## How to use### RequirementsInstalled plugins:django-cmsdjango-sekizaicmsplugin-filerUI libraries:jQuery### InstallationInstall through the pip`bash pip installdjangocms-thumbnail-slider`Adddjangocms_thumbnail_sliderto yourINSTALLER_APPSsettingEnjoy thumbnail slider in placeholderYou are able to use it like image carousel, slider, with/without thumbnails - just specify necessary settings at a plugin configuration when using it in placeholder
Package: djangocms-timed
django CMS Timedis plugins fordjango CMSthat allow you to display plugins content within a defined period of time.This addon is compatible withAldrynand 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.DocumentationSeeREQUIREMENTSin thesetup.pyfile for additional dependencies:Python 2.7, 3.3 or higherDjango 1.6 or higherInstallationFor a manual install:runpip installdjangocms-timedadddjangocms_timedto yourINSTALLED_APPSrunpython manage.py migrate djangocms_timedConfigurationNote that the provided templates are very minimal by design. You are encouraged
to adapt and override them to your project’s requirements.Running TestsYou can run tests by executing:virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python setup.py test
Package: djangocms-timed-new
django CMS Timedis plugins fordjango CMSthat allow you to display plugins content within a defined period of time.This addon is compatible withAldrynand is also available on thedjango CMS Marketplacefor easy installation.NoteThis is a re-release of the original plugin by Aldryn, of which the development has ceased years ago.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.DocumentationSeeREQUIREMENTSin thesetup.pyfile for additional dependencies:Python 3.5 or higherDjango 2.2 or higherInstallationFor a manual install:runpip installdjangocms-timed-newadddjangocms_timedto yourINSTALLED_APPSrunpython manage.py migrate djangocms_timedConfigurationNote that the provided templates are very minimal by design. You are encouraged
to adapt and override them to your project’s requirements.Running TestsYou can run tests by executing:tox
Package: djangocms-timer
django CMS plugin that shows content between specified timesDocumentationThe full documentation is athttps://djangocms-timer.readthedocs.org.QuickstartInstall djangocms-timer:pip install djangocms-timerFeaturesShows and hides child plugins according to the timers set in the plugin instance.CaveatsIn its current form, plugin won’t save you from the queries to retrieve child
plugins due to the way plugin rendering works in django CMS. Still, therendermethod of child plugins is not executed (and grandchildren plugins
are not retrieved) with mitigating effect on performance hit.History0.2.0 (2014-11-28)Add localisation.Add migrations.0.1.0 (2014-10-12)First release on PyPI.
Package: djangocms-time-wizard
Simple plugins with django-time-wizard integration.Quick startInstall using pip:pip install djangocms-time-wizardAdd to yourINSTALLED_APPS:'time_wizard',
'djangocms_time_wizard',Include the time_wizard admin URLs in your project urls.py:path('admin/', include('time_wizard.urls')),Runpython manage.py migrateto create the time_wizard and
djangocms_time_wizard models.ConfigurationThe TimeWizard(Inline)-Plugin has a wrapper for its child-plugins if they are
not shown on published pages. You can also disable this in your settings.py:DJANGOCMS_TIME_WIZARD_WRAPPER = FalseThe wrapper is a simple div with the classtime-wizardand inline styling.
You can customize its appearance to whatever you want.Notethat
child-plugins withinlinestyling may appear different because of the
additional wrapper around.Requirementsdjango-cmsdjango-time-wizardTestsSetup your test environment withvirtualenvand install the requirements
withpip install .. Also installtoxvia pip and simply runtox.
Package: djangocms-transfer
django CMS Transferis anexperimentalpackage that allows you to export
and import plugin data from a page or a placeholder. It does not support foreign
key relations and won’t import/export related data, such asmedia.NoteThis project is endorsed by thedjango CMS Association.
That means that it is officially accepted by the dCA as being in line with our roadmap vision and development/plugin policy.
Join us onSlack.Contribute to this project and win rewardsBecause this is a an open-source project, we welcome everyone toget involved in the projectandreceive a rewardfor their contribution.
Become part of a fantastic community and help us make django CMS the best CMS in the world.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.DocumentationThe settingDJANGO_CMS_TRANSFER_SERIALIZERallows to register a custom json serializer. An example for an use case could be to subclass Django’s build-in python serializer and let it base64-encode inline image data base64.SeeREQUIREMENTSin thesetup.pyfile for additional dependencies:InstallationFor a manual install:runpip installdjangocms-transferadddjangocms_transferto yourINSTALLED_APPSrunpython manage.py migrate djangocms_transferRunning TestsYou can run tests by executing:virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python setup.py test
Package: djangocms-twitter2
Usedjangocms-twitter2to embed a timeline for Tweets from an individual user, a user’s favorites or any search query or hashtag.This project requiresdjango-connectedanddjango-cmsv3.0 or higher to be properly installed and configured. When installing thedjangocms-twitter2using pip,django-connectedwill also be installed automatically.PreviewPlease click on thumbnail for bigger image.QuickstartInstalldjangocms-twitter2:pip install djangocms-twitter2Adddjangocms_twittertoINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'connected_accounts',
    'connected_accounts.providers',
    'djangocms_twitter',
    ...
)To enableTwitteras a provider fordjango-connected— you can register an app on Twitter viahttps://apps.twitter.com/app/new:CONNECTED_ACCOUNTS_TWITTER_CONSUMER_KEY = '<twitter_consumer_key>'
CONNECTED_ACCOUNTS_TWITTER_CONSUMER_SECRET = '<twitter_consumer_secret>'Sync database (requiressouth>=1.0.1if you are using Django 1.6.x):python manage.py migrateConfigurationPlugin(s) Module - If module is None, plugin is grouped Generic group:DJANGOCMS_TWITTER_PLUGIN_MODULE = _('Generic')Name of the plugin:DJANGOCMS_TWITTER_PLUGIN_NAME = _('Twitter')Can this plugin only be attached to a placeholder that is attached to a page:DJANGOCMS_TWITTER_PAGE_ONLY = FalseA list of Plugin Class Names. If this is set, this plugin may only be added to plugins listed here:DJANGOCMS_TWITTER_PARENT_CLASSES = NoneIs it required that this plugin is a child of another plugin? Or can it be added to any placeholder:DJANGOCMS_TWITTER_REQUIRE_PARENT = FalseWhether this plugin can be used in text plugins or not:DJANGOCMS_TWITTER_TEXT_ENABLED = FalseThe path to the default template used to render the template:DJANGOCMS_TWITTER_DEFAULT_TEMPLATE = 'djangocms_twitter/default.html'or override theDesigndropdown choices to have different design options:DJANGOCMS_TWITTER_TEMPLATES = (
    ('djangocms_twitter/default.html', _('Default')),
)You may also like…djangocms-disqus -https://github.com/mishbahr/djangocms-disqusdjangocms-fbcomments -https://github.com/mishbahr/djangocms-fbcommentsdjangocms-forms —https://github.com/mishbahr/djangocms-formsdjangocms-gmaps —https://github.com/mishbahr/djangocms-gmapsdjangocms-instagram —https://github.com/mishbahr/djangocms-instagramdjangocms-responsive-wrapper —https://github.com/mishbahr/djangocms-responsive-wrapperdjangocms-youtube —https://github.com/mishbahr/djangocms-youtube
Package: djangocms-typedjs
djangocms-typedjsThis is a simpledjango-cmsplugin that implements theTyped.jsjQuery plugin.Dependenciesdjango>=1.8django-cms>=3.2InstallationTo install:pip install djangocms-typedjsThen add djangocms-typedjs to your installed apps:INSTALLED_APPS = [
    ...
    'djangocms_typedjs',
    ...
]If you’re not already usingdjangocms-text-ckeditorthen this too will need to be added to your installed apps:INSTALLED_APPS = [
    ...
    'djangocms_text_ckeditor',
    ...
]Then run the migrations:./manage.py migrateThe package assume that jQuery has been added to the site already. So if you’re not using, please add to you templates/base.html:<scriptsrc="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>ConfigurationThe Typed.js javascript by default is 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 URL. This is optional.DJANGOCMS_TYPEDJS={'JS_URL':'https://cdnjs.cloudflare.com/ajax/libs/typed.js/1.1.4/typed.min.js',}UsageWhen creating the plugin simply name the plugin for reference purposes, specifiy if you would like to have a blinking cursor and optionally specify the JSON configuration (seeTyped.jsfor more info). Next add a child text plugin for every sentance you would like to use.Djangocms-typedjs can also be used inside a text plugin. Simply add the child plugin to the text container and configure as usual, with one difference. Here child plugins cannot be added to djangocms-typedjs so the sentances need to be passed as part of the JSON config. The below code snippet demonstrates how to achieve this:{// each of the sentances need to be set here:strings:["First sentence.","Second sentence."],// the stringElement needs to be set to null as I'm using this method by default.stringsElement:null}
Package: djangocms-uikit
# DjangoCMS UiKitThis package implements the UIKit Elements as reusable Plugins for the DjangoCMS.### PrerequisitesYou need a Django CMS Project.
If you wanna know how to start a Django CMS Project check the the Docs.[Django-CMS.org](http://docs.django-cms.org/en/release-3.4.x/introduction/install.html) - Installing Django CMS### Quick Start
Install DjangoCMS-UIKit:python3 -m pip install djangocms-uikitThen adddjangocms-uikittoINSTALLED_APPSDon’t forget:python3 manage.py makemigrations
python3 manage.py migrateNext download the UIKit Files or add the CDNs to your project main template.Before the</head>tag:`html {% addtoblock 'css' %} <linkrel="stylesheet"href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.1.7/css/uikit.min.css">{% endaddtoblock %} `Before the</body>tag:`html {% addtoblock 'js' %} <scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.1.7/js/uikit.min.js"type="text/javascript"></script>{% endaddtoblock %} `and`html {% addtoblock 'js' %} <scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.1.7/js/uikit-icons.min.js"type="text/javascript"></script>{% endaddtoblock %} `## Built With[DjangoCms](https://github.com/divio/django-cms) - The easy-to-use and developer-friendly CMS## AuthorsDominik Lysiak-Main Contributor- [Personal Website](https://dominiklysiak.de)See also the list of [contributors](https://github.com/domlysi/djangocms-uikit/graphs/contributors) who participated in this project.## LicenseThis project is licensed - see the [LICENSE.md](LICENSE.md) file for details## TodoNearly everything for now
Package: djangocms-unitegallery
A gallery plugin for django CMS that uses the excellentUnite GalleryjQuery plugin.InstallationThis plugin requiresdjango CMS3.0 or higher andsorl-thumbnail12.0 or higher to work.Runpip installdjangocms-unitegalleryAdd'sorl.thumbnail'and'djangocms_unitegallery'to yourINSTALLED_APPSRunpython manage.py migrateNoteIt’s up to you to include jQuery js file in your templates, just make
sure you include itbeforethe sekizai{% render_block js %}.ConfigurationBy default djangocms-unitegallery generates thumbnails for better perfomance.
The default behavior is to generate thumbnails by resizing and cropping images
in a square of 250x250 px.You can disable completely the thumbnail generation and leave Unite Gallery
handles images and preview, or you can change the default size of generated
thumbnails and/or wether the image ratio should be preserved or not:DJANGOCMS_UNITEGALLERY_CONFIG = {
    'THUMBNAIL_ENABLED': true,
    'THUMBNAIL_MAX_WIDTH': 250,
    'THUMBNAIL_MAX_HEIGHT': 250,
    'THUMBNAIL_PRESERVE_RATIO': False,
}If you setTHUMBNAIL_PRESERVE_RATIOtoFalse, thumbnails will be
cropped to match the configured width and height.
If you setTHUMBNAIL_PRESERVE_RATIOtoTrue, thumbnails
will just be resized to match the configured max width (if image is landscape)
or height (if image is portrait).NoteDue to Unite Gallery behavior, and depending on configured options, you
are not guaranteed to have the thumbnail size you configured in settings.
Package: djangocms-usersettings2
This package integratesdjango-usersettings2withdjango-cms>=3.0.This allows a site editor to add/modify allusersettingsin the frontend editing mode of django CMS
and provide your users with a streamlined editing experience.This project requires django-usersettings2 and django CMS 3.0 or higher to be properly installed and configured. When
installing thedjangocms-usersettings2using pip,django-usersettings2will also be installed automatically.The full documentation fordjango-usersettings2is available athttps://django-usersettings2.readthedocs.org.QuickstartInstalldjangocms-usersettings2:pip install djangocms-usersettings2Addsites,usersettingsanddjangocms_usersettings2toINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'django.contrib.sites',
    'usersettings',
    'djangocms_usersettings2',
    ...
)3.UserSettingsToolbarwill be automatically loaded as long as theCMS_TOOLBARSis not set (or set to None).
Or you can addusersettings.cms_toolbar.UserSettingsToolbartoCMS_TOOLBARSsettings:CMS_TOOLBARS = [
    # CMS Toolbars
    ...

    # djangocms-usersettings2 Toolbar
   'djangocms_usersettings2.cms_toolbar.UserSettingsToolbar',
]You may also like…djangocms-disqus -https://github.com/mishbahr/djangocms-disqusdjangocms-fbcomments -https://github.com/mishbahr/djangocms-fbcommentsdjangocms-forms —https://github.com/mishbahr/djangocms-formsdjangocms-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-twitter2History0.1.0 (2014-09-14)First release on PyPI.
Package: djangocms-versioning
django CMS VersioningWarningThis is the development branch for django CMS version 4.1 support.For django CMS V4.0 support, seesupport/django-cms-4.0.x branchInstallationRequirementsdjango CMS Versioning requires that you have a django CMS 4.0 (or higher) project already running and set up.To installRun:pip install djangocms-versioningAdddjangocms_versioningto your project’sINSTALLED_APPS.Run:python manage.py migrate djangocms_versioningto perform the application’s database migrations.UsageVersioning integration instructions are available indocs/versioning_integration.rstAn example implementation can be found here:djangocms_versioning/test_utils/polls/cms_config.pydjangocms_versioning/test_utils/polls/models.pyTestingTo run all the tests the only thing you need to do is runpip install -r tests/requirements.txt
python setup.py testDocumentationWe maintain documentation under thedocsfolder using rst format.To generate the HTML documentation you will need to installsphinx(pip install sphinx) andgraphviz(as per your operating system’s package management system). You can then generate the docs using the following command:Run:cd docs/
make htmlThis should generate all html files from rst documents underdocs/_buildfolder, which can be browsed.ContributingBecause this is a an open-source project, we welcome everyone toget involved in the projectandreceive a rewardfor their contribution.
Become part of a fantastic community and help us make django CMS the best CMS in the world.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.The project makes use of git pre-commit hooks to maintain code quality.
Please follow the installation steps to getpre-commitsetup in your development environment.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.
To update transifex translation in this repo you need to download thetransifex cliand runtx pullfrom the repo’s root directory. After downloading the translations
do not forget to run thecompilemessagesmanagement command.
Package: djangocms-video
django CMS Videois a set of plugins fordjango CMSthat allow you to publish video content on your site (using an HTML5 player by default,
but you can override this in your own templates if required).It uses files managed byDjango Filer.NoteThis project is endorsed by thedjango CMS Association.
That means that it is officially accepted by the dCA as being in line with our roadmap vision and development/plugin policy.
Join us onSlack.Contribute to this project and win rewardsBecause this is a an open-source project, we welcome everyone toget involved in the projectandreceive a rewardfor their contribution.
Become part of a fantastic community and help us make django CMS the best CMS in the world.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.DocumentationSeeREQUIREMENTSin thesetup.pyfile for additional dependencies:Django Filer 1.7 or higherMake suredjango-fileris installed and configured appropriately.InstallationFor a manual install:runpip installdjangocms-videoadddjangocms_videoto yourINSTALLED_APPSrunpython manage.py migrate djangocms_videoConfigurationNote 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_VIDEO_TEMPLATESsetting:from django.utils.translation import gettext_lazy as _

DJANGOCMS_VIDEO_TEMPLATES = [
    ('feature', _('Featured Version')),
]You’ll need to create thefeaturefolder insidetemplates/djangocms_video/otherwise you will get atemplate does not existerror. You can do this by
copying thedefaultfolder inside that directory and renaming it tofeature.MP4,WEBMandOGVfiles are allowed by default. We recommend
adding all 3 source files for full browser compatibility. You can change
the default setting by overriding:DJANGOCMS_VIDEO_ALLOWED_EXTENSIONS = ['mp4', 'webm', 'ogv']The plugin detects YouTube URLs using a regular expression and canonicalizes
them to//www.youtube.com/embed/{}where the placeholder is replaced by the
video id.The canonical URL can be reconfigured with a configuration setting:DJANGOCMS_VIDEO_YOUTUBE_EMBED_URL = '//www.youtube-nocookie.com/embed/{}'Running TestsYou can run tests by executing:virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python setup.py test