Saravanan666/pypi-org huggingface dataset:
Package: django-material-saldoo
===============Django Material===============Material design for Django Forms and Admin. Template driven... image:: https://img.shields.io/pypi/v/django-material.svg:target: https://pypi.python.org/pypi/django-material.. image:: https://img.shields.io/pypi/wheel/django-material.svg.. image:: https://img.shields.io/pypi/status/django-material.svg.. image:: https://travis-ci.org/viewflow/django-material.svg:target: https://travis-ci.org/viewflow/django-material.. image:: https://img.shields.io/pypi/pyversions/django-material.svg.. image:: https://img.shields.io/pypi/l/Django.svg:target: https://raw.githubusercontent.com/viewflow/django-material/master/LICENSE.txt.. image:: https://badges.gitter.im/Join%20Chat.svg:alt: Join the chat at https://gitter.im/viewflow/django-material:target: https://gitter.im/viewflow/django-material?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badgeDjango-Material works with Django 1.8/1.9/1.10Tested with:.. image:: demo/static/img/browserstack_small.png:target:  http://browserstack.com/Overview========- Forms_ - New way to render django forms* Strong python/html code separation* Easy redefinition of particular fields rendering* Complex form layout support- Frontend_ - Quick starter template for modular applications development- Admin_ - Material-designed django adminDemo: http://forms.viewflow.io/.. image:: .screen.png:width: 400pxDocumentation=============http://docs.viewflow.io/material_forms.htmlLicense=======Django Material is an Open Source project licensed under the terms of the `BSD3 license <https://github.com/viewflow/django-material/blob/master/LICENSE.txt>`_Django Material Pro has a commercial-friendly license and distributed as part of Viewflow ProChangelog=========0.10.1 2016-11-10 - Beta------------------------- Fix admin raw_id select on django 1.10
Package: django-material-widgets
Easily convert your Django Forms and ModelForms to use widgets styled withMaterial Components for the Web.Quick StartInstall Django Material Widgets:pip install django-material-widgetsAddmaterial_widgetstoINSTALLED_APPSin yoursettings.py:INSTALLED_APPS = [
    ...
    'material_widgets',
]Edit yourforms.py:Importmaterial_widgets.widgets.MaterialFormand/ormaterial_widgets.widgets.MaterialModelForm:from material_widgets import MaterialForm, MaterialModelFormChange forms usingdjango.forms.Formand/ordjango.forms.ModelFormtoMaterialFormorMaterialModelFormrespectively:class MyForm(forms.Form): ⇨ class MyForm(MaterialForm):

class MyModelForm(forms.ModelForm): ⇨ class MyModelForm(MaterialModelForm):Edit your HTML templates:Change{{ form }}template variables to{{ form.as_components }}:{{ form.as_p }} ⇨ {{ form.as_components }}Add{{ form.media.css }}to your<head>tag:<head>
    {{ form.media.css }}
</head>Add themdc-typographyCSS class to your<body>tag:<body class="mdc-typography">Add{{ form.media.js }}to the bottom of your<body>tag:<body class="mdc-typography">
    ...

    {{ form.media.js }}
</body>(Optional) Add stylesheet links:<head>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
</head>Demohttps://ooknosi.github.com/django_material_widgetsTo view the demo locally athttp://localhost:8000:gitclonehttps://github.com/ooknosi/django_material_widgets.gitcddjango_material_widgets/srcpythonmanage.pymigrate--settings=demo.settingspythonmanage.pyrunserver--settings=demo.settingsDocumentationhttp://django-material-widgets.readthedocs.io/en/latest/
Package: django-mathcalc
========Mathcalc========Mathcalc is a simple app created for the class requirement.Detailed documentation (if any!) is with in the source files as comments.(I'd suggested to go through the source, since that would be an easier task than tofigure out manually)Quick start-----------1. Add "shopcart" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [...'mathcalc',]2. Include the shopcart urlconf in your project urls.py like this::urlpatterns = [...url(r'^mathcalc/', include('mathcalc.urls')),]3. Start the development server and visit http://127.0.0.1:8000/mathcalc/ to view themathcalc app
Package: django-math-captcha
Authors:Justin Quick <justquick@gmail.com>Version:0.1Django Math Captcha is an easy way to add mathematical captcha verification to your already existing forms.
It asks you a simple math question (eg'1 + 2 =') and validates the form if your response is correct.
All you have to do is subclass eitherMathCaptchaFormorMathCaptchaModelFormin your own forms.Use it in your forms:from math_captcha import MathCaptchaModelForm
from myapp.models import Blog

class MyExistingForm(MathCaptchaModelForm): # instead of forms.ModelForm
    #... extra fields here

    class Meta:
        model = BlogNow you can be certain that the only users who create blogs are humansCheck out the example project for more practical use and tests.SettingsSet the behavior of the math captcha interaction in your settings.pyMATH_CAPTCHA_NUMBERSA list of numbers to randomly choose from when generating the questions.
Defaults to[1,2,3,4,5].MATH_CAPTCHA_OPERATORSList of mathematical operators to use. Default is only add (+) and subtract (-).
Available operators are: add (+), subtract (-), multiply (*), divide (/), and modulo (%)MATH_CAPTCHA_QUESTIONQuestion that appears on forms as a label for math questions. By default it is'Are youhuman?'
Package: django-math-captcha-update
Authors:Justin Quick <justquick@gmail.com>Version:0.1.2Note: this includes an update to a deprecated import in the util.py file in order to make this Django 1.6+ compatible.Django Math Captcha is an easy way to add mathematical captcha verification to your already existing forms.
It asks you a simple math question (eg'1 + 2 =') and validates the form if your response is correct.
All you have to do is subclass eitherMathCaptchaFormorMathCaptchaModelFormin your own forms.Extending your forms:from math_captcha import MathCaptchaModelForm
from myapp.forms import BlogForm

class MyExistingForm(BlogForm,MathCaptchaModelForm): # instead of forms.ModelForm
    #... extra fields hereNow you can be certain that the only users who create blogs are humans.Check out the example project for more practical use and tests.Using with other appsIf you are running an app like, saydjango-contact-formand want to add math captcha here is how to go about it.Add the following in yoururls.py:from contact_form.forms import ContactForm
from math_captcha.forms import MathCaptchaForm

class CaptchaContactForm(ContactForm,MathCaptchaForm):
    pass

urlpatterns = patterns('',
    ...
    url(r'^contact/$','contact_form.views.contact_form',{'form_class':CaptchaContactForm},name='contact_form'),
    url(r'^contact/sent/$','django.views.generic.simple.direct_to_template',{ 'template': 'contact_form/contact_form_sent.html' },name='contact_form_sent'),
    ...
)Now the contact form will block robots who cant do math.SettingsSet the behavior of the math captcha interaction in yoursettings.pyMATH_CAPTCHA_NUMBERS = (1,2,3,4,5)A list of numbers to randomly choose from when generating the questions.
Defaults to 1 through 5.MATH_CAPTCHA_OPERATORS ='+-'String containing mathematical operators to use. Default is only add (+) and subtract (-).
Available operators are: add (+), subtract (-), multiply (*), divide (/), and modulo (%)MATH_CAPTCHA_QUESTION = 'Are youhuman?'Question that appears on forms as a label for math questions. By default it is'Are youhuman?'
Package: django-mathfilters
django-mathfilters is a Python 3 module that provides different simple math
filters for Django.Django provides anaddtemplate filter, but no corresponding subtracting,
multiplying or dividing filters.Django ticket#361has been
closed aswontfix, so I had to create an alternative that is easy to install
in a new Django project.It currently supportsint,floatandDecimaltypes, or any other
type that can be converted to int or float.Installation$ pip install django-mathfiltersThen addmathfiltersto yourINSTALLED_APPS.UsageYou need to loadmathfiltersat the top of your template. The script
provides the following filters:sub– subtractionmul– multiplicationdiv– divisionintdiv– integer (floor) divisionabs– absolute valuemod– moduloaddition– replacement for theaddfilter with support for float /
decimal typesExample:{% load mathfilters %}

...<h1>Basic math filters</h1><ul><li>8 + 3 = {{ 8|add:3 }}</li><li>13 - 17 = {{ 13|sub:17 }}</li>{% with answer=42 %}<li>42 * 0.5 = {{ answer|mul:0.5 }}</li>{% endwith %}

    {% with numerator=12 denominator=3 %}<li>12 / 3 = {{ numerator|div:denominator }}</li>{% endwith %}<li>|-13| = {{ -13|abs }}</li></ul>Version SupportThis module officially supports Python 3.5+ as well as PyPy3. Support for Python
3.3 and 3.4 is provided on best-effort basis, but there are no CI tests for it.Supported Django versions are 1.11+, 2.x and 3.x.LicenseMIT License, see LICENSE file.
Package: django-matome
Django commands for reporting code statistics (Classes, KLOCs, etc) from
your django project. Reporting Ruby on Rails’ rake stats like stats.Featurepython manage.py matomethis command report something like this.+----------------------+---------+---------+---------+---------+---------+---------+---------+
| Name                 |  FILES  |  Lines  |   LOC   | Classes | Methods |   M/C   |  LOC/M  |
+----------------------+---------+---------+---------+---------+---------+---------+---------+
| View                 |       1 |       2 |       2 |       1 |       0 |     0.0 |     0.0 |
| Model                |       0 |       0 |       0 |       0 |       0 |     0.0 |     0.0 |
| Route                |       1 |      10 |       7 |       0 |       0 |     0.0 |     0.0 |
| Other Modules        |       4 |     108 |      95 |       0 |       0 |     0.0 |     0.0 |
| JS                   |       0 |       0 |       0 |       0 |       0 |     0.0 |     0.0 |
| Coffee               |       0 |       0 |       0 |       0 |       0 |     0.0 |     0.0 |
+----------------------+---------+---------+---------+---------+---------+---------+---------+
| Total                |       6 |     120 |     104 |       1 |       0 |     0.0 |     0.0 |
+----------------------+---------+---------+---------+---------+---------+---------+---------+TODOMany things.
Package: django-matomo
A simple app to add the Matomo JS tracking code to your template.django-matomois listed as an official Django integration package at:https://matomo.org/integrate/(since April 2022).The current repository has been forked fromdjango-piwik(legacy) by Raphael “jasjukaitis” Jasjukaitis.django-piwikwas listed as an official Django plugin for Matomo from 2013 to March 2022.RequirementsDjangoInstallationUsing PyPI you can simply type into a terminal:pip installdjango-matomooreasy_installdjango-matomoConfigurationAddmatomoto the list ofINSTALLED_APPSin yoursettings.pyfile.AlsoMATOMO_SITE_ID(e.g.51) andMATOMO_URL(e.g.'http://matomo.example.com/', please don’t forget the trailing slash!) are required.In the template, put{% load matomo_tags %}to the top and add{% tracking_code %}before the</body>tag.That’s it. Happy tracking!Uploading to PyPiArticle on Medium (Towards Data Science) onhow to upload packages to PyPi.In short:python setup.py sdisttwine upload dist/*Version historyVersion0.1.6README changes after acceptingdjango-matomoas an official Matomo plugin.Version0.1.5information on uploading to PyPi added to the README. Minor formatting changes.Versions up to0.1.4are mainly formatting changes for the RST README format.Main changes were introduced in0.1version of the package.Author(s)Copyright 2022 Mikolaj Buchwald <mikolaj.buchwald@gmail.com>asdjango-piwik: Copyright 2013 Raphael Jasjukaitis <webmaster@raphaa.de>Released under the BSD license.
Package: django-matomo-api-tracking
Django Matomo API TrackingThis django app enables server side traffic tracking. The code is greatly inspired by theDjango Google Analyticsapp.InstallationInstalldjango-matomo-api-trackingfrom pypi usingpip install django-matomo-api-trackingSetup / Configurationaddmatomo_api_trackingto yourINSTALLED_APPSsetting.add a new variableMATOMO_API_TRACKINGto your settings to configure the behaviour of the app:MATOMO_API_TRACKING = {
'url': 'https://your-matomo-server.com/matomo.php',
'site_id': <your_site_id>,
# 'ignore_paths': ["/debug/", "/health/"],
# 'token_auth': "",  # e.g.  "33dc3f2536d3025974cccb4b4d2d98f4"
}enable the middleware by adding the matomo_api_tracking middleware to the list of enabled middlewares in the settings:MIDDLEWARE = [
...
'matomo_api_tracking.middleware.MatomoApiTrackingMiddleware',
]In the settings part, theignore_pathcan be used to entirely skip certain
paths from being tracked. If you specify antoken_auth, the app will also send
the client's IP address (cip parameter). But this is not required.
Package: django-matplotlib
Django_matplotlib is a reusable
Django app for embedding matplotlib figures
into Django driven websites. It can be easily integrated with Django
admin app and used in templates via forms.Documentation:http://django-matplotlib.readthedocs.org/RequirementsDjango 1.11+, <3.0; Python 3.5+, <3.8.Quick startClone git repository to place where Django can find it:pip install django-matplotlibAdd “django_matplotlib” to your INSTALLED_APPS setting like this:INSTALLED_APPS=[...'django_matplotlib',...]Use MatplotlibField in yourmodels.py, e.g.:fromdjango.dbimportmodelsfromdjango_matplotlib.fieldsimportMatplotlibFigureFieldclassMyModelWithFigure(models.Model):# ... other fields# figures.py should be in the same directory where models.py is placed.# see  ./django_matplotlib/figures.py for example.fig=MatplotlibFigureField(figure='test_figure',verbose_name='figure',silent=True)# ... other fieldsGenerate and apply migrations.NoteIt is assumed that you have Django installed already. Additionally,
you will need to installmatplotlibto useMatplotlibFigureFieldin your models.AuthorDmitry E. KislovE-mail:kislov@easydan.com
Package: django-matrix-field
A Django app providing database and form fields for matrices (arrays of arrays).ExamplesDatabase Fieldfromdjango.dbimportmodelsfrommatrix_fieldimportMatrixFieldclassMyModel(models.Model):matrix1=MatrixField(datatype='float',dimensions=(3,2))matrix2=MatrixField(datatype='str',dimensions=(2,))my_inst=MyModel(matrix1=[[5.1,-1.2],[4.2,0.0],[3.14,2.71]],matrix2=['a list','of strings'],)my_inst.full_clean()# validates datatype, dimensionsmy_inst.save()# values stored in DB as jsonm1=my_inst.matrix1# values retrieved as matricesrepr(m1)# '[[5.1, -1.2], [4.2, 0.0], [3.14, 2.71]]'Form Fieldimportjsonfromdjangoimportformsfrommatrix_fieldimportMatrixFormFieldclassMyForm(forms.Form):matrix=MatrixFormField(datatype='int',dimensions=(2,1))my_form=MyForm({'matrix':json.dumps([[2],[1]]),# assignment of json representation})my_form.full_clean()# validates datatype, dimensionsm=my_form.cleaned_data['matrix']# values retrieved as matricesrepr(m)# '[[2], [1]]'InstallationNow onpypi!pipinstalldjango-matrix-fieldRunning the TestsUsingDoug Hellman’s virtualenvwrapper:mktmpenvpipinstalldjango-matrix-fieldexportDJANGO_SETTINGS_MODULE=matrix_field.test_settingsdjango-admin.pytestmatrix_fieldFound a Bug?To file a bug or submit a patch, please head over todjango-matrix-field on github.
Package: django-mauveinternet
A collection of extensions for Django, developed for internal use at Mauve
Internet.Most of this work was done in 2007-2011, and may not be up-to-date for use with
current Django.mauveinternet.calendar- Month and Week classes, for applications that
would like to manipulate and traverse dates in this way.mauveinternet.content_scoring- functionality to rate how good a piece of
content is.mauveinternet.devtools- management commands for introinspecting Django
projectsmauveinternet.emailing- tools for emailingmauveinternet.help- a self-service help systemmauveinternet.markdown- a Markdown-aware input widget and field typemauveinterent.ordering- a basket/cart system, and utilities for building  web shopsmauveinternet.svggraph- a server-rendered SVG graph systemmauveinternet.tags- miscellaneous useful template tagsmauveinternet.context_processors- miscellaneous useful context processorsmauveinternet.csvresponse- aHttpResponsesubclass for CSV datamauveinternet.decorators- miscellaneous decoratorsmauveinternet.formail- send a validated Django form as an e-mailmauveinternet.decorators- miscellaneous Django middlewaremauveintenet.models- miscellaneous Django modelsmauveinternet.money- a Money class following theEnterprise Design Patternmauveinternet.shortcuts- helper functions to make common operations
more concisemauveinternet.thumbnail- a Django model field that saves thumbnailed versions whenever a new original is saved
Package: django-mav
An implementation of model-attribute-value for Django, without using generic relations.InstallationInstall using pip (soon - use GitHub for now):pip installdjango-mavAlternatively, you can install download or clone this repo and callpip install-e..Add to INSTALLED_APPS in yoursettings.py:'mav',In your models, decorate models that need to store model-attribute-values with@mav.Example code (foo/models.py)from django.db import models

from mav.decorators import mav

@mav
class Foo(models.Model):
    name = models.CharField(max_length=100)

# The @mav decorator will generate a FooAttr class in mav.attrs:

class FooAttr(AbstractModelAttribute):
    # Inherited from AbstractModelAttribute
    attribute = models.ForeignKey(Attribute)
    value = models.TextField(...)
    # Generated
    object = models.ForeignKey(Foo, related_name='attrs')DocumentationTODORequirementsPython 2.6, 2.7, 3.2 or 3.3Django >= 1.4Contributions and pull requests for other Django and Python versions are welcome.Bugs and requestsIf you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.https://github.com/zostera/django-mav/issuesLicenseYou can use this under the MIT License. SeeLICENSEfile for details.AuthorDeveloped and maintained byZostera.Original author & Development lead:Dylan Verheul.Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words.Please see AUTHORS.rst for a list of contributors.
Package: django-maven
Capture exceptions in django management commands into Sentry by Raven.Problem And SolutionMany management commands running in cron and by default errors and exceptions not wrote in logs.
Or some people redirect all stdout in file (command >> file.txt) with log rotation or not.This package make possiblecapture exceptions(not all stdout/stderr) in your Sentry project.InstallationInstall package:$ pip install django-mavenAdddjango_maveninINSTALLED_APPS.Use it! ;)Example Of UsageIt’s simple!Addmavencommand by first argument for manage.py in your management command string.For example, this is command withoutdjango-maven:$ python manage.py rebuild_index –noinputAnd command withdjango-maven:$ python manage.py maven rebuild_index –noinputIfrebuild_indexcommand raising exception (server die or error creating index) you see their in your Sentry.The namedjango-mavenis django Management rAVEN.[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/saippuakauppias/django-maven/trend.png)](https://bitdeli.com/free“Bitdeli Badge”)Changes0.3 (2015-04-30)Add Django 1.8 support0.2 (2013-07-22)Fix compatable with new Raven config (thanks @mktums)0.1 (2013-07-17)Initial release
Package: django-mazer
#Django-Mazer##ChangeList:0.0.1 -  Init
0.0.2 -  Add All Package Data
0.0.3 -  Manage site_header
0.0.4 -  Modify CSS / stacked > to tabular (disable stacked mode)
0.0.5 -  Modify len submenu-item / Modify CSS Select2 / Add vertical-align in Table
0.0.6 -  Modify Table in Index Page
0.0.8 -  Modify Width Select2
0.0.9 -  Table Responsiv in Inline Mode / Fix Search Mode
0.0.10 - Fix CSS 
0.0.11 - Fix Css object-tools / Modify icons
0.0.12 - Fix object-tools padding
0.0.14 - Fix UI
0.0.15 - Change Author Name
0.0.16 - Select2 Width
0.0.17 - Add "Float:Left" in add-row
0.0.18 - another UI Fix
Package: django-mbrowse
Browse, view and search metabolomic datasetsFurther documentation available onReadTheDocsQuick startAdd “mbrowse” and django application dependencies to your INSTALLED_APPS setting like this (mbrowse should come before gfiles):INSTALLED_APPS = [
    ...
    'mbrowse',
    'gfiles',

    'django_tables2',
    'django_tables2_column_shifter',
    'django_filters',
    'bootstrap3',
    'django_sb_admin',
    'dal',
    'dal_select2',
]Include the polls URLconf in your project urls.py like this:url(r'^', include('gfiles.urls')),
url('mbrowse/', include('mbrowse.urls')),Runpython manage.py migrateto create the mbrowse models.Start the development server and visithttp://127.0.0.1:8000/mbrowse/general_summaryRegisterhttp://127.0.0.1:8000/register/and loginhttp://127.0.0.1:8000/login/Upload metabolomics mzML files (can also be done with djang-misa and django-mogi)http://127.0.0.1:8000/mbrowse/upload_mfiles_batch/Upload LC-MS data set (can be done through galaxy, see django-mogi)http://127.0.0.1:8000/mbrowse/upload_lcms_dataset/Browse and view the datasetshttp://127.0.0.1:8000/mbrowse/cpeakgroupmeta_summary/Browse and view the annotationshttp://127.0.0.1:8000/mbrowse/cpeakgroupmeta_summary/Search the datasetshttp://127.0.0.1:8000/mbrowse/search_result_summary/
Package: django-mbtiles
django-mbtilesserves maps from MBTiles files using Django.
It mainly relies onlandez.CheckoutLiveMbtilesa simple maps catalog project that takes advantage of django-mbtiles.INSTALLLast stable version:pip install django-mbtilesLast development version:pip install -e git+https://github.com/makinacorpus/django-mbtiles.git#egg=django-mbtilesUSAGEAddmbtilesmapto yourINSTALLED_APPSMake sure you have'django.core.context_processors.static'in yourcontext processorsInclude mbtilesmap urls into your projecturlpatterns = patterns('',
    ...
    ...
    url(r'^', include('mbtilesmap.urls', namespace='mb', app_name='mbtilesmap')),
)Add the HTML header and call the template tag{% load mbtilesmap_tags %}
...
{% block head %}
{% mbtilesmap_head %}
{{ block.super }}
{% endblock head %}

...
...
{% mbtilesmap filename %}MBTiles files can be loaded from subfolders withMBTILES_ROOTsetting.{% mbtilesmap filename catalog="subfolder" %}ExampleYou can find a working demo project (MBTiles maps browserlivembtiles)
in theexample/folder of the source tree (see dedicatedREADME.rstfile).Cache with nginxDeclare a cache zone in thehttpsection :http {
    ...
    proxy_cache_path  /var/cache/nginx levels=1:2 keys_zone=master:10m inactive=7d max_size=1g;
    proxy_temp_path /var/tmp/nginx;
}Cache name will bemaster, index will be10m, will last7dand have a maximum size of1g.Serve from cache for a specific location :location @proxy {
    ...
    proxy_cache             master;
    proxy_cache_key         $$scheme$$host$$uri$$is_args$$args;
    proxy_cache_valid       200  7d;
    proxy_cache_use_stale   error timeout invalid_header;
}Seeexampleproject’s buildout for deployment automation.AUTHORSMathieu Leplatre <mathieu.leplatre@makina-corpus.com>Andreas TrawoegerLICENSELesser GNU Public LicenseCHANGELOG1.3.0 (2013-09-18)Safety check if root folder is empty, with no sub-foldersAdd grids urls in TileJSON1.2.1 (2013-09-16)Setup was zip safe, fixed it.1.2 (2013-09-13)Changed behaviour, looks for subfolders instead of multiple paths in MBTILES_ROOT1.1 (2013-09-11)Add ability to load MBTiles files from several folders1.0Initial version