Saravanan666/pypi-org huggingface dataset:
Package: djangocms-column-fork
A Multi Column Plugin for django CMS.Note about the forkThis is a release of the master branch ofdjangocms-column,
which is compatible with newer versions of Django but not
published on PyPI.InstallationThis plugin requiresdjango CMS2.4 or higher to be properly installed.In your projects virtualenv, runpip installdjangocms-column-fork.Add'djangocms_column'to yourINSTALLED_APPSsetting.If using Django 1.6 and South < 1.0.2, add'djangocms_column': 'djangocms_column.south_migrations',toSOUTH_MIGRATION_MODULES(or defineSOUTH_MIGRATION_MODULESif it
does not exist);Runmanage.py migrate djangocms_column.UsageThere are 2 plugins: MultiColumn and Column
The first is MultiColumn that should be added to your placeholder conf.
MultiColumn only allows one plugin as a child: the Column plugin.
The Column plugin has a parameter width. With this parameter you can control the width
of the column.You can add a new setting to your settings.py calledCOLUMN_WIDTH_CHOICESthe default is:COLUMN_WIDTH_CHOICES = (
    ('10%', _("10%")),
    ('25%', _("25%")),
    ('33.33%', _('33%')),
    ('50%', _("50%")),
    ('66.66%', _('66%')),
    ('75%', _("75%")),
    ('100%', _('100%')),
)but you can change that to fit your CSS grid framework or other purposes.TranslationsIf you want to help translate the plugin please do it on transifex:https://www.transifex.com/projects/p/django-cms/resource/djangocms-column/
Package: djangocms-concurrent-users
djangocms-concurrent-usersA Django-CMS plugin for blocking pages which are edited by another user.
This provides a simple mechanism to prevent two users working on the same page. Due to the
fact, that only the version of the last user hitting the save button is stored, data loss is very likely.This plugin adds a hidden toolbar item in order to provide the required code to the client. Once the browser
enters a page, it checks for another user and gets blocked in case the page has been locked. If the page is
not edited at this moment, the client acquires a lock and hence blocks it for other users for the time of working.
The check if performed by polling the server with an specified interval. Once the client lefts the page, the lock
is released and the next user will be able to make changes.Featuresblocks a page with an overlay in case another user is already working on itreloads the page once it is released, in order to fetch the latest changesdisplays the username and time of the blocking userInstallationTo get started usingdjangocms-concurrent-users:install it withpip:$ pip install djangocms-concurrent-usersadd the plugins toINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'djangocms-concurrent-users',
    ...
)runmigrate.addurl(r'',include('djangocms_concurrent_users.urls',namespace='concurrent_users'),),to your urlsConfigurationCONCURRENT_BLOCKING_OFFSET: Time to wait until the page is release just after the user left; is20by default; Must not be shorter thanCONCURRENT_POLLING_INTERVALCONCURRENT_POLLING_INTERVAL: Interval for the clients to poll the server; is20by default; Must not be greater thanCONCURRENT_BLOCKING_OFFSETCONCURRENT_BLOCK_EDITING: Specifies if the blocking actually happens; isTrueby default;
Package: djangocms-conditional
Django CMS plugin that shows content if a user is logged in and a member of a specific Django group.DocumentationThe full documentation is athttps://djangocms-conditional.readthedocs.orgQuickstartInstall djangocms-conditional::
pip install djangocms-conditionalAdd “djangocms_conditional” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'djangocms_conditional',
]Runpython manage.py migrateto create the djangocms_conditional models.FeaturesShows and hides child plugins according to group membership, as configured in the plugin instance.CaveatsThis plugin only prevents rendering of plugins, just like djangocms-timer,
and is subject to the same limitations:In 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.1.2 (2018-01-01)First release on PyPi.
Package: djangocms-css-background
Descriptiondjangocms-css-backgroundis adjango-cmsplugin which allow
you to edit css background image or color from the edit modeDependsdjango-cmsdjangocms-placeholder-attrdjango-filerInstallationuse pippip installdjangocms-css-backgroundSyncronize the models:python manage.py syncdb(with south or
django 1.7 use migrations)Put in your INSTALLED_APPS:INSTALLED_APPS +=('djangocms-css-background',)Usageyou can define your template like this:{%loadplaceholder_attr%}<div style="{%placeholder_attr'My Background Css Placeholder''CssBackground''css_background'%}">{%placeholder'My Background Css Placeholder'%}</div>remember to set the same name of a placeholder in the placeholder_attr
name parameter.after that set the provide aCSS Backgroundplugin for this
placeholder, and chose an image, or set rgb or rgba for a colored
background
Package: djangocms-currentuser-field
An extension to the Aldryn Forms plugin that adds a Current User form field type.  If there is a valid logged-in user session (request.user), that user’s information will be saved along with the form submission.When you build your form, you can select to save the user’s:User IDUsernameEmail AddressFull NameA “Current User Email Field” is also available that provides the same funcationality of the Aldryn Forms Email Field, allowing you to send the user who submitted the form an email confirmation.InstallationInstall via pip:pip install djangocms-currentuser-fieldAdd to yourINSTALLED_APPS(insettings.py):INSTALLED_APPS = (
...
 'djangocms-currentuser-field',
...
)

# Optional, if you'd like to use a subclass (1:1 relationship) attached
# to user for the user id field, specify below
CURRENTUSER_FIELD_USER_SUBCLASS = 'staff'

# Optional, if you'd like to specify a custom fields off the user or
# sub-user class, set a list of tuples:
CURRENTUSER_FIELD_CUSTOM_VALUES = [
    ('canvote', 'Voting Status')
]Run migrations:python manage.py migrate djangocms-current-user“Current User Field” should now be available as a plugin in the CMS when you build a form!
Package: djangocms-custommenu
django CMS custommenuis a set of plugins fordjango CMSthat allow you to publish menu in the same way as it can be done viamenu template tagshard coded in the template.RequirementsPython 2.7, 3.3 or higherDjango 1.8 or higherInstallationFor a manual install:runpip installdjangocms-custommenuadddjangocms_custommenuto yourINSTALLED_APPSrunpython manage.py migrate djangocms_custommenuConfigurationYou are encouraged to adapt and override provided templates to your project’s requirements and optionally provide additional template choices by adding aDJANGOCMS_CUSTOMMENU_TEMPLATESorDJANGOCMS_CUSTOMMENU_AUTOMENU_TEMPLATESsettings:DJANGOCMS_CUSTOMMENU_TEMPLATES = [
    ('feature', _('Featured Version')),
]You’ll need to create the appropriate folders and files insidetemplates/djangocms_custommenu/otherwise you will get atemplate does not existerror.
Package: djangocms-dag-jetcode
djangocms-dag-jetcodeDjango CMS DAG Jetcodeis a plugin forDjango CMSthat allows you to addDAG System's Jetcodes on your site.RequirementsPython 3.8+Django 2.0+Django CMS 3.8.0+Installationrunpip install djangocms-dag-jetcodeadddjangocms_dag_jetcodeto yourINSTALLED_APPSinclude in yoururls.pypath("djangocms-dag-jetcode/",include("djangocms_dag_jetcode.urls",namespace="djangocms-dag-jetcode"),),runpython manage.py migrate djangocms_dag_jetcodeimport DAG's scripts before the closing</body>tag<scriptsrc="https://jetcode.dag-system.com/jetcodes/fr?customerID=<your customer id>"defer></script>add required<div>for the basket<divclass="basket-jetcode"data-basket-id="0"css-jetcode-href="https://absolute.path/to/custom.css"></div>add required<div>for the popups<divclass="rate-jetcode-def"css-jetcode-href="https://absolute.path/to/custom.css"></div><divclass="cart-jetcode-def"css-jetcode-href="https://absolute.path/to/custom.css"></div><divclass="checkout-jetcode-def"css-jetcode-href="https://absolute.path/to/custom.css"></div><divclass="payinresult-jetcode-def"css-jetcode-href="https://absolute.path/to/custom.css"></div><divclass="shippinginfo-jetcode-def"css-jetcode-href="https://absolute.path/to/custom.css"></div><divclass="productinfo-jetcode-def"css-jetcode-href="https://absolute.path/to/custom.css"></div>You can override some files to customize the style:static/djangocms_dag_jetcode/css/base.cssbase style for all Jetcodesstatic/djangocms_dag_jetcode/css/product.cssproduct Jetcodesstatic/djangocms_dag_jetcode/css/productselector.cssproduct selector Jetcodesstatic/djangocms_dag_jetcode/css/package.csspackage Jetcodesstatic/djangocms_dag_jetcode/css/container.csscontainer Jetcodesstatic/djangocms_dag_jetcode/img/calendar-icon.pngthe calendar icontemplates/djangocms_dag_jetcode/default.htmlthe template used to render the JetcodesSettingsStyles choicesDJANGOCMS_DAG_JETCODE_STYLE_CHOICES=[("my-style","My custom style"),]defaults to[]Each style defined in this setting must have a corresponding CSS file in{STATIC_ROOT}/djangocms_dag_jetcode/css/(for example:my-style.css).Cache timeoutSet the cache timeout for theget_cssview.DJANGOCMS_DAG_JETCODE_CACHE_TIMEOUT=15*60defaults to15 * 60(15 minutes)WhenDEBUG=True, you can set this setting to0to disable the cache.Reload Jetcode after CMS plugin editWhen you add or edit a plugin, the CMS does not reload the entire page. You should re-instantiate the Jetcodes to display them without a page refresh. Add this code to your pages:if(window.hasOwnProperty('CMS')===true){CMS.$(window).on('cms-content-refresh',function(){initJetcode()})}
Package: djangocms-darksky-api
The weather plugin that links djangocms andDark Sky.InstallationInstall module using pipenv:pipenv install djangocms-darksky-apiOr pip:pip install djangocms-darksky-apiAdd it to your installed apps:"djangocms_darksky_api",Apply migrationspy manage.py migrate djangocms_darksky_apiInclude your api key in your settings (get one ondarkskywebsite)DJANGOCMS_DARKSKY_API_SETTINGS={"api_key":"your key here"}Or load it using an environment var:importosDJANGOCMS_DARKSKY_API_SETTINGS={"api_key":os.getenv("DARKSKY_API_KEY",None)}Include weather plugin on your pages using djangocmsExamplesRaw resultsLight template (view & src)Full template (view & src)Error msg (if api.darksky.net is down)As the darksky api will sometimes sufferdowntimes, the plugin can display an error message ("Data is currently unavailable."), embedded in a dataset.Examples of rendered viewsLight templateFull template:MiscellaneousCssCss classes for the icons (e.g.<div class="darksky-icon darksky-rain"></div>) are of the formdarksky-icon darksky-[name].[name]can be any of the following values (seedarksky doc):clear-dayclear-nightrainsnowsleetwindfogcloudypartly-cloudy-daypartly-cloudy-nightUnitsAll values are returned using the International System (°C, km/h, ...) and are hard-coded in templates files.LanguageThe language is searched usingdjango.utils.translation.get_language()&django.conf.LANGUAGE_CODE.Languages supported by the Dark Sky api can be found ontheir documentation.CachePluginThe plugin is cached (with the same duration as the json content).JsonThe values are cached for one hour (which avoids hundreds of thousands of queries per day on the darksky api site).If you want to change the cache duration, add acacheentry in yourDJANGOCMS_DARKSKY_API_SETTINGSdict, in your settings.py:DJANGOCMS_DARKSKY_API_SETTINGS={"api_key":"mysuperapikey","cache":60*60,# one hour}Or load it using an environment var:importosDJANGOCMS_DARKSKY_API_SETTINGS={"api_key":os.getenv("DARKSKY_API_KEY",None),"cache":os.getenv("DARKSKY_CACHE_DURATION",60*60),# return content of DARKSKY_CACHE_DURATION if it exists, or one hour if it doesn't}As stated inDjango docs; "[The timeout is] the number of seconds the value should be stored in the cache. Passing in None for timeout will cache the value forever. A timeout of 0 won’t cache the value."
Package: djangocms-device-mockups
An extension for Django CMS that adds the Device Mockups CSS library to elements on DjangoCMS.InstallationInstall with pippip installdjangocms-device-mockupsAdddjangocms_device_mockupsto INSTALLED_APPSRun migrationspython manage.py migrateUsageSee notes here:https://github.com/pixelsign/html5-device-mockupsAfter installation simply add the plugins to the page.NotesIf putting onto a background, ensure the background has bothpositionandz-index< -1.Main CSS will limit device size to 300px, set.device-wrapper{max-width:100%; ..}to make it responsive/resize etc.
Package: djangocms-disqus
Disqus intergration for your django-cms powered site with options for Single Sign-On (SSO), lazy loading, analytics and more.This project requiresdjango-connectedanddjango-cmsv3.0 or
higher to be properly installed and configured. When installing thedjangocms-disqususing pip,django-connectedwill also be installed automatically.QuickstartInstalldjangocms-disqus:pip install djangocms-disqusAdddjangocms_disqustoINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'connected_accounts',
    'connected_accounts.providers',
    'djangocms_disqus',
    ...
)To enableDisqusas a provider fordjango-connected(register new applications athttps://disqus.com/api/applications/register/):CONNECTED_ACCOUNTS_DISQUS_CONSUMER_KEY = '<disqus_secret_key>'
CONNECTED_ACCOUNTS_DISQUS_CONSUMER_SECRET = '<disqus_public_key>'Sync database (requires south>=1.0.1 if you are using Django 1.6.x):python manage.py migrateAdd theDisqusMiddlewaretoMIDDLEWARE_CLASSES:MIDDLEWARE_CLASSES = (
    ...
    'djangocms_disqus.middleware.DisqusMiddleware',
    ...
)PreviewYou may also like…djangocms-forms —https://github.com/mishbahr/djangocms-formsdjangocms-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: djangocms-embed
Embedly supports more than 300+ content providers. Video, audio, photos, product and more. Seehttp://embed.ly/providersYou will need a Embedly API key, you can sign up for an API key athttp://app.embed.ly/signupFeaturesUses the Embedly APIEmbeds indexable by search engines (SEO-friendly)Make your Embeds Visible to Search Engines. Your content looks like this to crawlers:<blockquote>
    <h4><a href="http://embed.ly">
      Embedly makes your content
      more engaging and easier to share</a></h4>
    <p>
      Embed Content On Any Site. Bring engaging content
      to your viewers. Our embeds display whether you're
       on the web or mobile.
    </p>
</blockquote>Instead of a simple a tag like:<a href="http://embed.ly" class="embedly-card">Embedly makes your content more
  engaging and easier to share</a>Embedly FeaturesResponsive EmbedEmbeds are responsive and adapt to automatically fit the page they are placed in.Google AnalyticsEmbedly will send events in your Google Analytics dashboard! You can see clicks on social buttons, plays of a video and even when a user clicks on a video recommendation.Social SharingEmbedly allow you to publish content into your social networks with built-in sharing, tweeting, and reposting.For more information, see:http://embed.ly/cardsQuickstartInstalldjangocms-embed:pip install djangocms-embedAdddjangocms_embedtoINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'djangocms_embed',
    ...
)Sync database:python manage.py migrateAddDJANGOCMS_EMBED_API_KEYto your project settings:DJANGOCMS_EMBED_API_KEY = '<Embedly API Key>'
Package: djangocms-equation
djangocms-equationDjangoCMS plugin to write equations, utilizing KaTeXFeaturesEnables the use of LaTeX for equations with django-cmsLive editing of LaTeX Code, via KaTeXOut of the box support formhchemConfigurable allowing of copying of equation LaTeX codeInstallationInstall the plugin from PyPi$pipinstalldjangocms-equationAdd the plugin to the installed apps in thesettings.pyof your django-cms
project."INSTALLED_APPS":[...,"djangocms_equation"]For the Equations to be properly displayed indjangocms-text-ckeditor,
while edit them, you need to add the css file to the allowed files of ckeditor.
To do this simply add the following lines to yoursettings.pyof your django-cms project.CKEDITOR_SETTINGS={"contentsCss":["/static/djangocms_equation/css/change_form_template.css"]}Note:The equations might not be rendered properly in ckeditor-windows, when they
are added the first time. This can be fixed by saving the text plugin or
having another equation on the page.To allow copying of equations LaTeX code, add the following line to yoursettings.py."KATEX_EQUATION_SETTINGS"={"allow_copy":True}CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.2.4 (2021-05-11)Upgraded KaTeX to 0.13.9Updated javascript dependencies to fix security issues0.2.3 (2021-05-04)Upgraded KaTeX to 0.13.50.2.2 (2021-03-29)Added official python 3.9 supportUpgraded KaTeX to 0.13.00.2.1 (2020-08-09)Added official python 3.8 support0.2.0 (2020-08-09)Upgraded KaTeX to 0.12.0Dropped support for Django 2.00.1.1 (2020-02-20)Added project urls and removed conda badge0.1.0 (2020-02-20)First release on PyPI.
Package: djangocms-export-page
1Django CMS Export PageVersion:0.1.0Source:https://bitbucket.org/maykinmedia/djangocms-export-pageKeywords:djangocmsexportdocxPythonVersion:3.4Export a Django CMS page or a model view to a DOCX documentContents1Django CMS Export Page2Features3Installation3.1Requirements3.2Install4Usage4.1CMS Page4.2Django Model4.3Static Placeholders2FeaturesAdds a menu entry in the CMS toolbar to export the current pageAbility to export a custom model, including placeholder fields3Installation3.1RequirementsPython 3.4 or abovesetuptools 30.3.0 or aboveDjango 1.11 or aboveDjango CMS 3.4.6 or above3.2Installpipinstalldjangocms-export-page4UsageIn your Django settings:INSTALLED_APPS=[...'djangocms_export_page',...]4.1CMS PageCMS Page don’t need any extra configuration to work.If a Plugin has a reverse ForeignKey that would behave like children,
add the following to the CMSPlugin model class:_export_page={'children':'items'}@propertydefitems(self):returnself.frequentlyaskedquestion_set.all()whereitemsis a iterable attribute of the model class.And for on the ForeignKey Django model class:_export_page={'fields':['name',...]}If you want to export the contents of a ForeignKey or OneToOneField inside the regular model you can use_export_page_field_names. Now these fields will be put in the some level as the plugin fields._export_page_field_names=['number','title','lead','display_date','date','location']4.2Django ModelIf you need to export a Django model included in a AppHook,
add the following to the model class:_export_page={'sections':[{'name':'Meta','fields':['title',...]},{'name':'Body','fields':['content']}],}It’s better to put the PlaceholderField (herecontent) in a separate section.4.3Static PlaceholdersIf you also want to export the static placeholders of a page, some extra configuration
is required. There is a setting calledEXPORT_STATIC_PLACEHOLDERS.EXPORT_STATIC_PLACEHOLDERS={'template_name':['static_placeholder_code']}So with the cms settings it will look like this:# test.html<div>{%static_placeholder'test-placeholder'%}</div># settings.pyCMS_TEMPLATES=[('test.html',_('Test page')),]EXPORT_STATIC_PLACEHOLDERS={'test.html':['test-placeholder']}
Package: djangocms-fbcomments
The easiest way to integrate Facebook Comments for your django-cms powered site with lazy-loading, analytics and more.QuickstartInstalldjangocms-fbcomments:pip install djangocms-fbcommentsAdddjangocms_fbcommentstoINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'djangocms_fbcomments',
    ...
)Sync database (requires south>=1.0.1 if you are using Django 1.6.x):python manage.py migrateTo use the facebook moderation tool, you must include the followingsekizaiblock in the<head>section of every template in which you want to use the comments plugin:{% load sekizai_tags %}

<html>
    <head>
        {% render_block "meta" %}
    </head>
    <body>
    </body>
</html>PreviewYou may also like…djangocms-disqus -https://github.com/mishbahr/djangocms-disqusdjangocms-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-twitter2djangocms-youtube —https://github.com/mishbahr/djangocms-youtube
Package: djangocms-file
django CMS Fileis a set of plugins fordjango CMSthat allow you to add files to your site You can either choose a single file or
an entire folder.It uses files managed byDjango Filer.This addon is compatible withDivio Cloudfor 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-fileadddjangocms_fileto yourINSTALLED_APPSrunpython manage.py migrate djangocms_fileConfigurationNote 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_FILE_TEMPLATESsetting:DJANGOCMS_FILE_TEMPLATES = [
    ('feature', _('Featured Version')),
]You’ll need to create thefeaturefolder insidetemplates/djangocms_file/otherwise you will get atemplate does not existerror. You can do this by
copying thedefaultfolder inside that directory and renaming it tofeature.Running TestsYou can run tests by executing:virtualenv env
source env/bin/activate
pip install -r test_requirements/base.txt
python setup.py testUpdating fromcmsplugin-filerHistorically,cmsplugin-filerwas used to create file, folder, image, link, teaser & video plugins on your django CMS projects. Nowcmsplugin-filerhas been archived, you can still migrate your old instances without having to copy them manually to the newdjangocms-<file|picture|link|…>plugins.There’s a third-party management command that supports your migration:migrate_cmsplugin_filer.pyThis management command is only a starting point. Ithasworked out of the box for some people, but we encourage you to read the code, understand what it does, and test it on a development environment before running it on your production server.The management command is only configured to transfer yourcmsplugin_link,cmsplugin_file,cmsplugin_folderandcmsplugin_imageplugins to moderndjangocms_*plugins. If you need to transfer othercmsplugin_*plugins, you’ll have to write your own code.Alternatively you can use thedeprecate_cmsplugin_filerapp, which only adds a small migration that transfer the oldcmsplugin-filerplugins instances to the newdjangocms-<file|picture|link|…>plugins.
Package: djangocms-filer-display-pages-where-files-are-used-before-removing-them
Name of the module is self-explanatory.Lists all CMS pages that contain a plugin linked to the file you are trying to delete.InstallInstall the packagepython3-mpipinstalldjangocms-filer-display-pages-where-files-are-used-before-removing-themAdd itjust beforefilerin yourINSTALLED_APPS:'djangocms_filer_display_pages_where_files_are_used_before_removing_them',Old screenshots/video, the current look has slightly changedRemove multiple filesRemove folderVideo