Saravanan666/pypi-org huggingface dataset:
Package: aldryn-mailchimp
Aldryn MailChimp is the easiest way to integrate MailChimp intoAldrynanddjango CMSsites.With Aldryn MailChimp you can:Allow users to subscribe to mailing listsDisplays existing campaignsTo activate MailChimp integration:provide anAPI Keywhile installing an appcreate an CMS page for hooking the app (navigate toAdvanced Settings->Applicationon CMS edit page)When all above is done, you can add MailChimp integration plugins to
placeholders.Categories + Automatic MatchingVersion 0.2.4 introduced categories with automatic matching. You can define
categories and add keywords to those categories to automatically sort synced
campaigns into categories. You can define priorities for both campaigns and
their keywords.MatchingOnce the campaigns have been fetched, the automatic matcher will go through all
categories (starting from the top as defined in/admin/aldryn_mailchimp/category/) and scan each campaign for the defined
keywords. You can specify keywords to be searched in any or multiple of the
following three:campaign titlecampaign subjectcampaign contentOnce a match is found, the search for the current campaign will be stopped, the
found category will be assigned to the campaign and the matcher will then
continue with the next campaign.
Package: aldryn-news
Simple news application. It allows you to:write a tagable newsplug in latest new messages (optionally filtered by tags)attach news archive viewInstallationAldryn Platrofm UsersChoose a site you want to install the add-on to from the dashboard. Then go toApps->Install appand clickInstallnext toNewsapp.Redeploy the site.Manuall InstallationRunpip installaldryn-news.Add below apps toINSTALLED_APPS:INSTALLED_APPS = [
    …
    'taggit',
    'aldryn_news',
    'aldryn_search',
    'django_select2',
    'djangocms_text_ckeditor',
    'easy_thumbnails',
    'filer',
    'hvad',
    'haystack', # for search
    …
]Posting newsYou can add news in the admin interface now. Search for the labelAldryn_News.In order to display them, create a CMS page and install the app there (chooseNewsfrom theAdvanced Settings->Applicationdropdown).Now redeploy the site again.The above CMS site has become a news archive view.Available Plug-insLatest News Entriesplugin lets you listnmost frequent news filtered by tags.SearchIf you want the news entries to be searchable, be sure to installaldryn-searchand its dependencies.
Your entries will be searchable usingdjango-haystack.You can turn it this behavior off by settingALDRYN_NEWS_SEARCH = Falsein your django settings.
Package: aldryn-newsblog
Aldryn News & Blog is anAldryn-compatible news and
weblog application fordjango CMS.Content editorslooking for documentation on how to use the editing
interface should refer to ouruser manualsection.Django developerswho want to learn more about django CMS, as well as
how to install, configure and customize it for their own projects should
refer to thedocumentationsections.Aldryn News & Blog is intended to serve as a model of good practice for
development of django CMS and Aldryn applications.Installation & UpdatesPlease head over to ourdocumentationfor all the details on how to install,
configure and use Aldryn News & Blog.You can also find instructions onhow to upgradefrom earlier versions.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.
Package: aldryn-newsblog-extra-plugins
aldryn-newsblog-extra-pluginsThis projects contains extra plugins for thealdryn-newsblogblogging system
for DjangoCMS. It requiresaldryn-newsblogto be installed and setup correctly.ConfigurationPlugins that show a list of articles can be configured to show template choices,
inspired byaldryn-events. To add, for example, a template namedlist, save
it attemplates/aldryn-newsblog/plugins/(template name)and add the following
to yoursettings.py:ALDRYN_NEWSBLOG_PLUGIN_STYLES=('list',)PluginsNewsBlogTaggedArticlesPluginShownor all articles that are tagged with a certain tag.
This plugin shows style choices as described in "Configuration".NewsBlogTagRelatedPluginShownor all articles that are similarly tagged as the currently displayed
article.This plugin only works correctly in a static placeholder on the aldryn_newsblog
detail view.Changelog0.1.0NewsBlogTaggedArticlesPlugin now uses a separate template
(aldryn_newsblog/plugins/tagged_articles.html).0.2.0Added NewsBlogCategoryRelatedPlugin.Changed NewsBlogTagRelatedPlugin behaviour: The plugin'sexcluded_tagsnow don't exclude articles
from the queryset anymore, they just aren't taken into account for selecting the related articles of the currently displayed article.
Package: aldryn-people
Aldryn People allows you to:add people and groups of people to your websitedisplay them on CMS pagesdownload vCardsPlease see theAldryn People documentation,
which includes information on installation and getting started.It also containsdocumentation for content editors and end-users.ContributingAldryn People 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 ourguidelines for Aldryn Addons.We’re grateful to all contributors who have helped create and maintain this package.Contributors are listed atcontributions page.RequirementsPython 2.7, 3.4, 3.5, 3.6django CMS 3.4.5, 3.5, 3.6Django 1.11, 2.0, 2.1
Package: aldryn-redirects
################Aldryn Redirects################This is a modified version of Django's ``django.contrib.redirects`` app thatsupports language-dependent target URLs, using ``django-parler``.This is useful for cases in which another middleware strips the languageprefix from the URL, like django CMS. It allows to define different urls toredirect to, depending on the user's language.************Installation************Aldryn Platform Users#####################To install the addon on Aldryn, all you need to do is follow this`installation link <https://control.aldryn.com/control/?select_project_for_addon=aldryn-redirects>`_on the Aldryn Marketplace and follow the instructions.Manually you can:#. Choose a site you want to install the Addon to from the dashboard.#. Go to Apps > Install App#. Click Install next to the Aldryn Redirects app.#. Redeploy the site.Manual Installation###################```bashpip install aldryn-redirects```Follow the `setup instructions for django-parler <http://django-parler.readthedocs.org/>`_.```python# settings.pyINSTALLED_APPS += ['parler','aldryn_redirects']# add the middleware somewhere near the top of MIDDLEWARE_CLASSESMIDDLEWARE_CLASSES.insert(0, 'aldryn_redirects.middleware.RedirectFallbackMiddleware')```
Package: aldryn-reversion
DescriptionA collection of shared helpers and mixins to provide support for
django-reversion on models with translatable (using django-parler)
fields and/or django-cms placeholder fields.Note:django-parler is optional and is not required. However, if your model is
translated with Parler, aldryn-reversion will take translations and the
resulting internal Parler translation cache into consideration when making
revisions.UsagePlease refer todocumentation.RequirementsPython 2.6, 2.7, 3.4Django 1.6 - 1.9django-reversionOptionaldjango CMS 3.0.12 or laterdjango-parlerInstallationMost likely you won’t need to install this addon - it will be installed as a dependency for some
other addon. If you do need to install it manually, follow these steps:Runpip install aldryn-reversion.Add below apps toINSTALLED_APPS:INSTALLED_APPS = [
    …
    'reversion',
    'aldryn_reversion',
    …
](Re-)Start your application server.More detailed installation guidanceis also
available.
Package: aldryn-sites
Extensions to django.contrib.sites.FeaturesDomain redirects: handles smart redirecting to a main domain from alias domains.
Taking http/https into consideration.Site auto-population: automatically populates the Domain name indjango.contrib.sites.Site.domainbased
on theALDRYN_SITES_DOMAINSsetting.Installationaddaldryn_sitestoINSTALLED_APPS.addaldryn_sites.middleware.SiteMiddlewaretoMIDDLEWARE_CLASSES(place itbeforedjangosecure.middleware.SecurityMiddlewareif redirects should be smart about alias domains
possibly not having a valid certificate of their own. The middleware will pick up onSECURE_SSL_REDIRECTfromdjango-secure.)configureALDRYN_SITES_DOMAINS:ALDRYN_SITES_DOMAINS = {
    1: {  # matches SITE_ID
        'domain': 'www.example.com',  # main domain that all domains in redirects will redirect to.
                                      # Auto populates ``django.contrib.sites.Site.domain``
        'aliases': [                  # these domains will be accessible like the main domain (no redirect).
            'an.other.domain.com',
            r'^[a-z0-9-]+\.anysub\.com$',  # regexes are supported
        ],
        'redirects': [                # these domains will be redirected to the main domain.
            'example.com',            # add ``'*'`` to redirect all non-main domains to the main one.
            'example.ch',
            'www.example.ch',
            r'^[a-z0-9-]+\.my-redirect-domain\.com$',  # regexes are supported
            r'.*',  # matches any domain (Makes the above rules useless. It's just an example)
        ],
    }
}When using regexes:exact matches win over pattern matchespattern redirect matches win over pattern alias matchesFurther SettingssetALDRYN_SITES_SET_DOMAIN_NAMEtoFalseif you don’t wantdjango.contrib.sites.Site.domainto be
auto-populated (default:True).TODOSvalidate settingstest settings validatorslog warning if there are Sites in the database that are not in the settingspretty display of how redirects will work (in admin and as a simple util)regex support for aliasesform to test redirect logicpre-compile and cache regexes
Package: aldryn-snake
Aldryn Snakeadds tail and head context processors for addons similar todjango-sekizai.This addon still uses the legacy “Aldryn” naming. You can read more about this in oursupport section.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.DocumentationSeeREQUIREMENTSin thesetup.pyfile for additional dependencies:Installationaddaldryn_snake.template_api.template_processorto your TEMPLATE_CONTEXT_PROCESSORS settingssomewhere in your app (that will be imported on startup (models, admin etc) add something to the api:from aldryn_snake.template_api import registry
from django.conf import settings

OPTIMIZELY_SCRIPT = """<script src="//cdn.optimizely.com/js/%(account_number)s.js"></script>"""


def get_crazyegg_script():
  optimizely_number = getattr(settings, 'OPTIMIZELY_ACCOUNT_NUMBER', None)
  if optimizely_number:
      return OPTIMIZELY_SCRIPT % {'account_number': optimizely_number}
   else:
      return ''

registry.add_to_tail(get_crazyegg_script())Ifadd_to_tailoradd_to_headreceive a callable, it will be called with therequestkeyword argument.add the following in your base template to the HEAD:{{ ALDRYN_SNAKE.render_head }}add the following in your base template right above </BODY>:{{ ALDRYN_SNAKE.render_tail }}Running TestsYou can run tests by executing:virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python setup.py test
Package: aldryn-sso
Aldryn SSOadds single-sign-on to Divio Cloud.This addon still uses the legacy “Aldryn” naming. You can read more about this in oursupport section.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.DocumentationSeeREQUIREMENTSin thesetup.pyfile for additional dependencies:InstallationNothing to do.aldryn-ssois part of the Divio Cloud.Running TestsYou can run tests by executing:virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python setup.py testSharing Links and TokensAldryn SSO supports a “test link” or “preview mode” feature to bypass the password protection of test environments. This is normally useful to share a test environment with other people without complicated setups and passwords, a link is enough.The links are in the following form:https://{aldryn_url}/?sharing_token={token}, where the token is the value of theSHARING_VIEW_ONLY_SECRET_TOKENenvironment variable.This environment variable can bet set in the container as part of your build process. The argument name (sharing_token) can also be overridden by setting theSHARING_VIEW_ONLY_TOKEN_KEY_NAMEenvironment variable to your desired value.
Package: aldryn-style
Aldryn Style provides a plugin that wraps other plugins in CSS styling, by
placing a class name on a containing element.InstallationThis plugin requiresdjango CMS2.4 or higher to be properly installed.Within yourvirtualenvrunpip installaldryn-styleAdd'aldryn_style'to yourINSTALLED_APPSsetting.Runmanage.py migrate aldryn_style.UsageYou can define styles and tag-types in your settings.py:# define this lambda if it isn't already defined in your settings...
_ = lambda s: s

ALDRYN_STYLE_CLASS_NAMES = (
    ('info', _('info')),
    ('new', _('new')),
    ('hint', _('hint')),
)

ALDRYN_STYLE_ALLOWED_TAGS = [
    'div', 'p', 'span', 'article', 'section', 'header', 'footer',
]By default, ifALDRYN_STYLE_ALLOWED_TAGSis not supplied, or contains an
empty list, then it will default to the following list for backwards
compatibility with previous versions:ALDRYN_STYLE_ALLOWED_TAGS = [
    'div', 'article', 'section', 'p', 'span',
    'h1', 'h2', 'h3', 'h4', 'h5', 'h6',
    'header', 'footer',
]NOTICE:All tags included in this list should be "paired tags" that require a
closing tag. It does not make sense to attempt to use 'button', 'input',
'img', or other self-closing tag in this setting.

Also, the developer is advised to choose the tag-types wisely to avoid HTML
validation issues and/or unintentional security vulnerabilities. For
example, the 'script' tag should never be allowed in
``ALDRYN_STYLE_ALLOWED_TAGS`` (though, we do not prevent this). If you have
an application where you find yourself wishing to do this, please see
djangocms-snippet or aldryn-snippet as an alternative, but note these
projects also come with appropriate security warnings.After that you can place any number of other plugins inside this style plugin.
It will create a div (or other tag-type) with a class that was prior selected
around the contained plugins.TranslationsIf you want to help translate the plugin please do it on Transifex:https://www.transifex.com/projects/p/django-cms/resource/aldryn-style/
Package: aldryn-video
Aldryn Video provides an elegant way to embed videos in your django CMS sites.A number of video hosting providers are supported, including:VimeoYouTube(any provider that uses theoEmbed specificationshould be supported).The plugin also provides access to various control and sizing parameters for embedded video.InstallationAldryn Platform UsersChoose a site you want to install the add-on to from the dashboard. Then go toApps->Install appand clickInstallnext toVideoapp.Redeploy the site.Manuall Installationpip install aldryn-videoAddaldryn_videotoINSTALLED_APPS.Configurealdryn-boilerplates(https://pypi.python.org/pypi/aldryn-boilerplates/).To use the old templates, setALDRYN_BOILERPLATE_NAME='legacy'.
To usehttps://github.com/aldryn/aldryn-boilerplate-standard(recommended, will be renamed toaldryn-boilerplate-bootstrap3) setALDRYN_BOILERPLATE_NAME='bootstrap3'.CreditsVideo file type icon by dreamxis,http://dreamxis.themex.net/,
under Creative Commons Attribution license.
Package: aldryn-wow
Plugin for django-cms to include awesome animations fromWOW.js andAnimate.cssInstallationThis plugin requiresdjango CMS3.0 or higher to be properly installed.In your projectsvirtualenv, runpip installaldryn-wowIf using Django 1.6 add'aldryn_wow': 'aldryn_wow.south_migrations',toSOUTH_MIGRATION_MODULES(or defineSOUTH_MIGRATION_MODULESif it does not exists);Runmanage.py migrate aldryn_wowUsageDefault content in PlaceholderIf you use Django-CMS >= 3.0, you can useAnimationandWow Animationin “default_plugins”
(see docs about the CMS_PLACEHOLDER_CONF setting in Django CMS 3.0).ChangelogVersion 1.0.0Drop backward compatibilty.Tested and status upgraded to Production/Stable.Version 0.0.3Make parameter fields in WOW animations optional.Version 0.0.2Fixed packaging issues.Added tests to cover all plugins.Add south and django migrations.Drop support for Python 2.6.Version 0.0.1Initial Release.
Package: aldServer
aldServer - a template serverInspired by Flask and Jinja. Super easy to use!Installationpip3installaldSeverSimple Code Example# importsfromaldServerimportcreateServer,Route,DebugfromaldServerimportRESPONSE,CONTENT_TYPE,CHARSET# server debugging (false by default)Debug.debug=True# crete route objroute=Route()# create static folderroute.static_folder('/static')# create simple route@route.create_route('/api/v2/json',CONTENT_TYPE.JSON,RESPONSE.OK,CHARSET.UTF8)defjson_test():return"{'json': 'is the best'}"# simple templating, passing arguments@route.create_route('/me',CONTENT_TYPE.TEXT_HTML,RESPONSE.OK,CHARSET.UTF8)deftemplate_test():returnroute.render_template('/me.html',name="aldison")''' - me.html file:<h3>Hello my name is {{%name%}},</h3><h4>and this server is made with aldServer.</h4>'''''' - me.html file after rendering<h3>Hello my name is aldison,</h3><h4>and this server is made with aldServer.</h4>'''# create the serverserver=createServer(hostname="localhost",port=3333)# run the creted serverserver.run()Template SupportsDifferent loops:#1 -  to_dos - is given as a parameter{%forto_dointo_dos%}<li>{{to_do}}</li>{%endloop%}#2{%foriinrange(5)%}<li>{{i}}</li>{%endloop%}#3{%fori,xinenumerate(range(5))%}<li>{{i}}-{{x}}</li>{%endloop%}#4{%foriinrange(5)%}{{i}}x7={{i*7}}<br>{%endloop%}#5{%foritemin["hello","world"]}<li>{{item}}</li>{%endloop%}Printing variables<h3>Hellomynameis{{%name%}},</h3><h4>andthisserverismadewithaldServer.</h4>
Package: aleat1
Aleatoryous 1The original Aleatoryous project.WARNING! Newer generation availableSince January 20, 2021, the3rth generationof Aleatoryous objects is available atPyPi. We strongly recommend you to install the latest version ofaleat3library by
this reasons:aleat1does not contain this features fromaleat3:"Roulette" algorithm"CoinToBinary" functionaleat3operations are much easier and fast.
Package: aleat2
Aleatoryous 1The second generation of Aleatoryous project.WARNING! Newer generation availableSince January 20, 2021, the3rth generationof Aleatoryous objects is available atPyPi. We strongly recommend you to install the latest version ofaleat3library by
this reasons:aleat2does not contain this features fromaleat3:"CoinToBinary" functionaleat3operations are easier and faster, and also much cleaner.We are only distributing versions 1 and 2 to record releases, but we only recommend
the 3rth version of Aleatoryous.
Package: aleat3
Aleatoryous 3This is the 3rth Generation of aleatory objects, built by Diego
Ramirez.IntroductionThe Aleatoryous package allows you to build:Aleatory Syntax objectsDice: aleatory.diceCoin: aleatory.coinRoulette: aleatory.rouletteBy using thePythonlibraryrandom, Aleatoryous object can build many solutions
for problems where aleatory numbers or specific output are needed.This package is built to be used with Python versions 3.5 to 3.9.To enjoy the Aleatoryous materials, you must download the package from thePyPiand install it with pip by one of this ways:pip install aleat3_[version]_[platform].whl

pip install aleat3_[version]_[platform].tar.gzAlso, you can install it with Pip from Internet without downloading:pip install aleat3==[version]

pip install --upgrade aleat3

pip install aleat3To view moreCheck out more docs here:General documentationGet some useful info about the package, issues, etc.Contributing pageLearn about how to contribute to aleat3.Some aleat3 examples
Package: aleatoire
title: Aleatoire
description: A set of tools for the probabilistic analysis of systems.
...AleatoireA set of tools for the probabilistic analysis of systems.Table of contentsInstallationA rough compilation of general-purpose system reliability functions and classes written over the course of a semester. This package implements probability transformations composed of marginal distributions which are defined using objects from the popular scipy.stats statistical library. This package is largely built upon the framework for reliability computations layed out in CalRel and FERUM.Installationpip install aleatoireYou can also install the in-development version with:pip install https://github.com/claudioperez/aleatoire/archive/master.zipChangelog0.00.0.2Match version with Github tag.0.0.1Fix long description on PyPi.0.0.0First release on PyPi.
Package: aleatora
AleatoraAleatora is a music composition framework, implemented as a Python library, built around the abstraction of lazy, effectful streams.What does that mean? Like most audio synthesis frameworks, Aleatora lets you build up complex sounds by connecting generators in an audio graph (function composition + parallel composition). Unlike most, it also lets you build things uphorizontally: streams can be composed sequentially, so the audio graphchange over timeon its own (based on the computation described in the graph itself).Additionally, streams may contain any kind of data type, not just samples. So you can use the same basic abstraction, and all the operations that it offers, to work with strings, events, arrays, MIDI data, etc., just as well as with individual audio samples.InstallationFirst, set up the environment:virtualenv venv -p python3  # or pypy3 for better performance
source venv/bin/activateThen, get the stable version of Aleatora:pip install aleatora  # for optional features, append a list like `[speech,foxdot]` (or `[all]`)Or, get the latest version instead:pip install git+https://github.com/ijc8/aleatora.gitTo ensure installation succeeded and that you can get sound out, try playing a sine tone:fromaleatoraimport*play(osc(440))Documentation
Package: aleatory
aleatoryGit HomepagePip RepositoryDocumentationOverviewThealeatory(/ˈeɪliətəri/) Python library provides functionality for simulating and visualising
stochastic processes. More precisely, it introduces objects representing a number of continuous-time
stochastic processes $X = (X_t : t\geq 0)$ and provides methods to:generate realizations/trajectories from each process —over discrete time setscreate visualisations to illustrate the processes properties and behaviourCurrently,aleatorysupports the following processes:Brownian MotionGeometric Brownian MotionOrnstein–UhlenbeckVasicekCox–Ingersoll–RossConstant ElasticityBessel ProcessSquared Bessel ProcesssInstallationAleatory is available onpypiand can be
installed as followspip install aleatoryDependenciesAleatory relies heavily onnumpyfor random number generationscipyandstatsmodelsfor support for a number of one-dimensional distributions.matplotlibfor creating visualisationsCompatibilityAleatory is tested on Python versions 3.8, 3.9, and 3.10Quick-StartAleatory allows you to create fancy visualisations from different stochastic processes in an easy and concise way.For example, the following codefromaleatory.processesimportBrownianMotionbrownian=BrownianMotion()brownian.draw(n=100,N=100,colormap="cool",figsize=(12,9))generates a chart like this:For more example visit theQuick-Start Guide.Thanks for Visiting! ✨Connect with me via:🦜Twitter👩🏽‍💼Linkedin📸Instagram👾Personal Website⭐️If you like this projet, please give it a star!⭐️