Saravanan666/pypi-org huggingface dataset:
Package: django-manuscript
A reusable Django application for managing scanned images of physical documents
(such as manuscripts or reprints of manuscripts), displaying OCR text, and
implementing an out of the box basic search functionality. This is itself
intended to be an out-of-the-box Django application to help an institution
manage a book digitization project.This project is under development. Consider this project in alpha phase, in
that there may be non-backwards compatible changes that come in version releases,
for the moment. I’ll put a notification up here when it becomes more stable.
Package: django-mapbox-baselayer
Django model and view to store, generate and serve configuration for MapBox GL JS map base layerGetting startedInstallationInstall it in your project like any dependencypipinstalldjango-mapbox-baselayerUsageDeclare django-mapbox-baselayer in theINSTALLED_APPS# settings.pyINSTALLED_APPS=[# ... other django apps"mapbox_baselayer",]For Mapbox base layers, you do not need to describe the tiles with theBaseLayerTileobject, but an url is mandatory.For Raster base layers, is it necessary to create aBaseLayerTilefor each url (a.tiles.xxx,b.tiles.xxx, etc ...)Tile size should be 256 for raster and 512 for vector.CommandsOSM base layer./manage.pyinstall_osm_baselayerOpenTopoMap base layer./manage.pyinstall_opentopomap_baselayerMapbox base layer./manage.pyinstall_mapbox_baselayer(usemapbox://styles/mapbox/streets-v11asdefault)./manage.pyinstall_mapbox_baselayer--mapbox-url=mapbox://styles/mapbox/satellite-streets-v11IGN base layer./manage.pyinstall_ign_baselayer_your_api_key_--layersorthoplanmapsse-classiquese-standardcadastreCHANGELOG1.0.0         (2023-07-11)Increase attribution size to 1024 chars.Support django 4.2, drop django 2.2Support python 3.110.0.9         (2022-11-09)Improve install_ign_baselayer command. Add Plan IGN V2 and fix multi layer import.Support django 3.2, 4.0 and 4.1Support python 3.100.0.8         (2020-11-03)Add command to create Mapbox layerAdd command to create different IGN layers0.0.7         (2020-10-30)Admin is now registered by default. Delete enabling code in your project.Set default mapbox glyphs to avoid map style problems on raster based layerAdd commands to create OSM and OpenTopoMap base layers0.0.6         (2020-09-09)Support django 3.10.0.5         (2020-06-03)Fix translations0.0.4         (2019-12-04)Allow using map_box_url to store vector external json0.0.3         (2019-12-03)add tile Size option for raster layersadd attribution option for all layersAdd real_url property to model MapBaseLayer, to get real url for mapbox stylesfix MapBaseLayer deletionEnable fr translation0.0.2         (2019-11-29)Increase tile url max size0.0.1         (2019-11-25)First release
Package: django-mapistration
===================django-mapistration===================Integrates maps with user registration formDescription:===========Mostly every user registration form has location fields, such as city, state, country etc. To provide better user experience,this app has a map feature(google map initially) which can be added to the registration form. The map will have auto-suggestand the user can use the auto-suggest box or directly put the map marker on his location.The map will give the required fields which will be saved along with other info.Documentation=============Read docs here at http://django-mapistration.readthedocs.org/
Package: django-mapit
MapIt is an open source project to help people run a web service that maps
geographical points to administrative areas. It is useful for anyone who has
the co-ordinates of a point on Earth, and who needs to find out what country,
region, city, constituency, or state it lies within. It’s also great for
looking up the shapes of all those boundaries.It was created in 2003 bymySociety, a UK
charity, for use by their various tools needing admin area lookup.InstallationMapIt can be installed as a Django app, or as a standalone server. For full
details, please see our site athttp://code.mapit.mysociety.org/for help
and documentation.ExamplesmySocietyruns public installations of MapIt that
you might be able to use:MapIt Global- global boundaries
from theOpenStreetMapproject.MapIt UK- UK boundaries from various
sources.The above are free for non-commercial, low-volume use. For details of
what constitutes “low-volume”, and for commercial licensing arrangements,
please consultMapIt pricing.Rate limitingUsage is rate limited by default; clients may be rate limited by IP address
or by a User Token passed in the User-Agent: header. Clients may be excluded
from the effects of rate limiting via the RATE_LIMIT option in the
configuration file.
Package: django-maploom
django-maploom==============A Django wrapper for [MapLoom](https://github.com/ROGUE-JCTD/MapLoom).Installation------------Install the latest stable version from PIP:```pip install django-maploom```Download django-maploom and install it directly from source:```python setup.py install```Project Configuration---------------------Once installed you can configure your project to usedjango-maploom with the following steps.Add ``maploom`` to ``INSTALLED_APPS`` in your project's``settings`` module:INSTALLED_APPS = ('maploom',# other apps)Usage-----Once installed, you can easily add maploom to any template on your site.First load the template tags in your template:{% load maploom_tags %}In the ```<head>``` section of your html section add the MapLoom js files:{% maploom_js %}Then add a map loom map to your page by placing the following tag anywhere in the ```<body>``` tags:{% maploom_html %}Adding in GeoNode-----------------To use MapLoom as your GeoNode map client, follow the Project Configuration steps above.  Next, add the MapLoom urlsto the bottom of the `urls.py` file in GeoNode and append them to the GeoNode url patterns.```from maploom.geonode.urls import urlpatterns as maploom_urlsurlpatterns += maploom_urls```**Note:** When adding `maploom` to the `INSTALLED_APPS` setting, order matters.  Django will return the first templateit finds that matches a given name, therefore be sure that the MapLoom application precedes the `geonode.maps`application in your `INSTALLED_APPS` setting.
Package: django-maploom-registry
django-maploom==============A Django wrapper for [MapLoom](https://github.com/ROGUE-JCTD/MapLoom).Installation------------Install the latest stable version from PIP:```pip install django-maploom```Download django-maploom and install it directly from source:```python setup.py install```Project Configuration---------------------Once installed you can configure your project to usedjango-maploom with the following steps.Add ``maploom`` to ``INSTALLED_APPS`` in your project's``settings`` module:INSTALLED_APPS = ('maploom',# other apps)Usage-----Once installed, you can easily add maploom to any template on your site.First load the template tags in your template:{% load maploom_tags %}In the ```<head>``` section of your html section add the MapLoom js files:{% maploom_js %}Then add a map loom map to your page by placing the following tag anywhere in the ```<body>``` tags:{% maploom_html %}Adding in GeoNode-----------------To use MapLoom as your GeoNode map client, follow the Project Configuration steps above.  Next, add the MapLoom urlsto the bottom of the `urls.py` file in GeoNode and append them to the GeoNode url patterns.```from maploom.geonode.urls import urlpatterns as maploom_urlsurlpatterns += maploom_urls```**Note:** When adding `maploom` to the `INSTALLED_APPS` setting, order matters.  Django will return the first templateit finds that matches a given name, therefore be sure that the MapLoom application precedes the `geonode.maps`application in your `INSTALLED_APPS` setting.
Package: django-mapped-fields
Django Mapped Fields====================A set of form fields to make it easier to accept semi-structured data with variable (but expected) keys. This data can now be mapped directly to your own Django Models and Forms with normalised field names.A common use case would be to take CSV or JSON files from external systems andnormalise them into your own data structures.Usage-----To use a map field, simply import it and set its `field_names` when creating thefield.```pythonfrom django import formsfrom mapped_fields import fieldsclass ContactCsv(forms.Form):"""Import a Contact from a CSV File."""first_name = fields.Charfield(max_length=50, field_names=('FirstName', 'Forename'))last_name = fields.Charfield(max_length=50, field_names=('LastName', 'Surname'))phone_number = fields.CharField(max_length=30, field_names=('Telephone', 'Mobile'))def map_from_csv():csv_files = [{'FirstName': 'Anne','LastName': 'Other','Mobile': '555-1234',},'Forename': 'David','Legal Surname': 'Anderson','Telephone': '555-2345',},]valid_form = ContactCsv(data=csv_files[0])valid_form.is_valid() == Truevalid_form.cleaned_data['first_name'] == 'Anne'valid_form.cleaned_data['last_name'] == 'Other'valid_form.cleaned_data['phone_number'] == '555-1234'invalid_form = ContactCsv(data=csv_files[1])invalid_form.is_valid() == False # Legal Surname is not in the mapped fields```Handling Multiple field_names in a single file----------------------------------------------If you have multiple different fields in the same file mapping to a singleoutput, the first match on field_names will be used:```pythonfrom mapped_fields import fieldsclass ContactForm(forms.Form):"""Demonstrate multiple field_names."""name = fields.CharField(max_length=100, field_names=('Name', 'ContactName'))def map_from_dict():data = {'ContactName': 'James','Name': 'Anderson',}form = ContactForm(data=data)form.is_valid() == Trueform.cleaned_data['name'] == 'Name' # Name was listed first in field_names```This is potentially useful if you are importing file formats that areinconsistent, and where you want a fallback if the "best" header isn'tthere.Fields------The Mapped Fields plugin works by extending existing django fields. Thecurrently supported fields are:- `mapped_fields.fields.BooleanField`- `mapped_fields.fields.NullBooleanField`- `mapped_fields.fields.CharField`- `mapped_fields.fields.DateField`- `mapped_fields.fields.DateTimeField`- `mapped_fields.fields.DecimalField`- `mapped_fields.fields.FloatField`- `mapped_fields.fields.IntegerField`- `mapped_fields.fields.EmailField`- `mapped_fields.fields.SlugField`- `mapped_fields.fields.URLField`All fields work as in Django, but take a mandatory extra argument `field_names` -- a list or tupleof field names to map from the source data into the field.Testing-------To test, install the requirements inside your virtualenv then run testinside test_project:```virtualenv venv. venv/bin/activatepip install -r requirements.txtpython setup.py installcd test_project./manage.py test```
Package: django-marion
Marion, The Documents FactoryMarion is a styled documents factory using HTML/CSS Django templates and a
headless browser that render them as PDF files. It can be used as a library or
an application in your Django project.DocumentationWe try our best to maintain an up-to-date reference documentation for this
project. If you intend to install, test or contribute to Marion or Howard, we
invite you to read thisdocumentationand
give us feedback if some parts are unclear or your use case is not (or poorly)
covered.ContributingThis project is intended to be community-driven, so please, do not hesitate to
get in touch if you have any questions related to our implementation or design
decisions.We try to raise our code quality standards and expect contributors to follow
the recommendations from ourhandbook.LicenseThis work is released under the MIT License (seeLICENSE)
Package: django-marionettejs
=======================django-marionettejs=======================django-marionette-js is a simple Django app to conduct Web-based django-marionettejs. For eachquestion, visitors can choose between a fixed number of answers.Detailed documentation is in the "docs" directory.Quick start-----------1. Add "django-marionettejs" to your INSTALLED_APPS setting like this::.. code-block:: pythonINSTALLED_APPS = ('marionettejs',)2. in yourtemplate, just extends 'base.html', you get a template with preconfigured backbone3. or just include the fragment.. code-block::html{% include 'marionettejs.html' %}
Package: django-marion-howard
Howard, FUN documents for Marion, The Documents FactoryHoward is a collection of document issuers forMarion.ContributingThis project is intended to be community-driven, so please, do not hesitate to
get in touch if you have any questions related to our implementation or design
decisions.We try to raise our code quality standards and expect contributors to follow
the recommendations from ourhandbook.LicenseThis work is released under the MIT License (seeLICENSE)
Package: django-markdown2
[![changelog](http://allmychanges.com/p/python/django-markdown2/badge/)](http://allmychanges.com/p/python/django-markdown2/?utm_source=badge)This is a simple app, which supplies a single template tag for
markdown markup.Dependenciesdjango-markdown2 depends on python-markdown2, which can be found
athttp://code.google.com/p/python-markdown2.Installation and usagePlacedjango_markdown2somewhere in yourPYTHONPATH.Adddjango_markdown2to youINSTALLED_APPS.In any template do:{% load md2 %}
{{ variable|markdown }}Or specify additional extensions:{% load md2 %}
{{ variable|markdown:”safe, code-friendly, code-color” }}Also, if you use my recent markdown2-with-blackjack fromhttp://pypi.aartemenko.com,
then you can pass additional options to code-color extension:{% load md2 %}
{{ variable|markdown:”safe, code-friendly, code-color: noclasses|linenos” }}Options from this example switch off css classes and turn on line numbers.ContributionCode for this application available at:
<http://github.com/svetlyak40wt/django-markdown2>
Package: django-markdown-blog
=====Django Markdown Blog=====Django Markdown Blog is a simple Django app that will give any Django project a blog that works with markdown.Detailed documentation is in the "docs" directory.Quick start-----------1. Add "django_markdown" and "blog" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [...'django_markdown','blog']2. Include the blog URLconf and django_markdown URLconf in your project urls.py like this::url(r'^markdown/', include( 'django_markdown.urls')),url(r'^blog/', include('blog.urls', namespace='blog')),3. Run `python manage.py migrate` to create the blog models.4. Start the development server and visit http://localhost:8000/admin/to create your first blog post (you'll need the Admin app enabled).5. Visit http://localhost:8000/blog/ to view your latest blog posts.
Package: django-markdown-editor
This is a markdown editor supported for Django.
[Github](https://github.com/Activity00/django_markdown_editor)Quick startAdd “markdown_editor” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'markdown_editor',
]Include the markdown_editor URLconf in your project urls.py like this:path('markdown_editor/', include('markdown_editor.urls')),
Package: django-markdown-filter
# django-markdown-filter# Usage```{% markdown_filter %}{{ model|markdown_filter|safe }}```See example.# Install```pip install django-markdown-filter```To enable dajngo-markdown-filter in your project you need to add it to INSTALLED_APPS in your projects settings.py file:```INSTALLED_APPS = [...'markdown_filter',...]```Add whitelist HTML tags to your projects settings.py file:```MARKDOWNIFY_WHITELIST_TAGS = ['a','p','code','h1',]```
Package: django-markdownify
Django Markdownify - A Django Markdown filterDjango Markdownify is a template filter to convert Markdown to HTML in Django. Markdown is converted to HTML and sanitized.Read the full documentation onRead the docsor check out the package onpypi.UsageLoad the tag inside your template:{% load markdownify %}Then you can change markdown to html as follows:{{ 'text'|markdownify }}or{{ somevariable|markdownify }}Example{% load markdownify %}
{{'Some *test* [link](#)'|markdownify }}Is transformed to:<p>Some<em>test</em><ahref="#">link</a></p>The filter is a wrapper aroundMarkdownandBleachand as such supports their settings.
It is possible to define multiple settings for multiple usecases.For example:# settings.pyMARKDOWNIFY={"default":{"WHITELIST_TAGS":["a","p","h1",]},"alternative":{"WHITELIST_TAGS":["a","p",],"MARKDOWN_EXTENSIONS":["markdown.extensions.fenced_code",]}}And in your templates:<!-- page1.html -->{{ mytext|markdownify }}<!-- Uses your default settings --><!-- page2.html -->{{ mytext|markdownify:"alternative" }}<!-- Uses your alternative settings -->DocumentationRead the full documentation onRead the docs.CreditsThis filter is a slightly richer and packaged version of the snippet:using-markdown-django-17.
Package: django-markdown-it
django-markdown-itMarkdown template filter for Django followingCommonMarkspecs.InstallationInstall the package:poetryadddjango-markdown-itor using pip:pipinstalldjango-markdown-itAddmarkdownitto yourINSTALLED_APPS:INSTALLED_APPS=[# ...'markdownit',]UsageLoad the template tag library in your template:{%loadmarkdownit%}Use themarkdownitfilter on a string:{{my_string|markdownit}}CreditsInspired bydjango-markdownify.Usingmarkdown-it-pyfor Markdown rendering.Usingnh3/ammoniafor HTML sanitization.
Package: django-markdownme
Markdownme is a text editor component with Markdown syntax support,
simplified file upload and deletion and a history of text changes.
Its file-uploading history-containing nature makes it a better choice
for more complex text entries which are edited by trusted users such
as blog posts, as opposed to short text comments which anyone can post.Detailed documentation is in the github project repository.Quick startAdd “markdownme” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'markdownme',
]Include the markdownme URLconf in your project urls.py like this:url(r'^markdownme/', include('markdownme.urls')),Runpython manage.py migrateto create the markdownme models.Runpython manage.py collectstaticto collect markdownme static files.Create your desired model and derive it from ‘MarkdownmeEntry’ like this:class Article(MarkdownmeEntry):Your model now has access to 3 new fields called:markdown_text
parsed_text
markdown_identifierInclude these in your Article admin fields like this:fields = ('title', 'date', 'markdown_text', 'markdown_identifier')Start the development server and visithttp://127.0.0.1:8000/admin/to create an article (you’ll need the Admin app enabled).Your article text now has a fancy editor and you can also use ‘parsed_text’
to access the HTML resulting from your parsed Markdown text.
Package: django-markdown-messaging
Django messaging applicationThis messaging app has to be integrated into an existing django website.Quick startAdd "messaging" to your INSTALLED_APPS setting like this:INSTALLED_APPS = [  
    ...  
    'django_markdown_messaging',  
]Include the messaging URLconf in your project urls.py like this:path('msg/', include(('django_markdown_messaging.urls', 'messaging'))),Runpython manage.py migrateto create the messaging models.Start the development server and visithttp://127.0.0.1:8000/msgto check if everything is ok.How to useGo tohttp://127.0.0.1:8000/msgand click on "new message"Write your message using plain text or markdown syntaxYou can choose to allow editing or deleting of this messageThen, click on "Save" buttonLink of the message appears on screen, just copy and paste it to your friends! :-)If you go on the message page, you'll see your message and eventually a link to edit or delete this message.Override those ugly templatesYou can add atemplates/messagingfolder in your base application to override default templates.There are four pages that you can override safely:base.html: the base page for all the messaging templatesindex.html: index page with a form to search a messagemessage.html: page to display an existing messageedit-message.html: page to add a new message or to edit an existing oneIf you have any questions, I can help you! :-)
Package: django_markdownplus
django markdownplusis tiny django application that allows to use extended markdown in the templates
Documentaton available atgithub.ContentsRequirementsInstallationSetupUse django_markdownplusBug trackerContributingLicenseCopyrightRequirementspython >= 3.4django >= 1.8markdownbleachInstallationDjango markdownshould be installed using pip3:pip3 install django-markdownplusSetupAdd ‘markdownplus’ to INSTALLED_APPSINSTALLED_APPS += ( 'markdownplus', )Use django_markdownplusSyntax:All basic markdown syntax
and
!a[alt](src title) # for <audio>
!v[alt](src title) # for <video>

Note that alt and title attributes are optionalTemplates:{% load markdownplus %}
<div>{{ some_markdown_text|markdownplus}}</div>Bug trackerIf you have any suggestions or bug reports
please report them to the issue tracker
athttps://github.com/makerj/django_markdownplusContributingContribution of django-markdownplus available at github:https://github.com/makerj/django_markdownplusLicenseLicensed under a The MIT License (MIT).CopyrightCopyright (c) 2016 Junhui Lee (ohenwkgdj@gmail.com)
Package: django-markdowns
django-markdownsProvides markdown functionality for Django via a template filter.Features:AddingmdDjango template filter.Adddjango_markdownstoINSTALLED_APPSinsettings.py.Load in template with{% load markdowns %}.AddingDjangoExtensionextension for markdown package.use of Django URL syntax.[Some link](APP_NAME:VIEW_NAME|PARAMS,COMMA,SEPARATED)
Package: django-markdown-shortcodes
# Markdown Shortcodes for DjangoProvides the ability to use WordPress-like "shortcodes" in your content, which get rendered as HTML.The idea here is to extend Markdown authoring capabilities. For example, rendering a more complex component in the flow of a content body that shows featured content - or as simple as rendering a full-width Vimeo video.This package does not come with a host of shortcodes defined, given these will be highly project-specific.Instead, it provides a registration system (via a tiny decorator), the shortcode processor, and a template filter for convenience.## InstallationInstall via pip:pip install django-markdown-shortcodesPlease add `markdown_shortcodes` to `INSTALLED_APPS` in your Django project's settings.## Defining ShortcodesShortcode functions names expected to start with `shortcode_` followed by the string/name that appears in your content.The following example creates support for a `[[youtube]]` shortcode.Define the processing function, using the `shortcode` decorator to register the function for processing:from markdown_shortcodes import shortcode@shortcodedef shortcode_youtube(*args):return render_to_string("shortcodes/youtube.html", {'id': args[0],'title': args[1] if len(args) > 1 else '','alternate_uri': args[2] if len(args) > 2 else '',})Create a template file:<div class="shortcode-block"><div class="fluid-iframe -ratio-16-9"><iframe src="//www.youtube.com/embed/#{{ id }}"title="{{ title }}"frameborder="0"webkitallowfullscreenmozallowfullscreenallowfullscreen>This video requires an frame-capable browser.{% if alternate_uri %}<a href="{{ alternate_uri }}">See alternative content for {{ title }}</a>{% else %}<a href="https://www.youtube.com/watch?v=#{{ id }}">Watch {{ title }} on YouTube</a>{% endif %}</iframe></div></div>Your content:So did you know about Whoa McTuggins? I saw an interview with him about preparing tomatos. It changed my life:[[youtube XTJIGGBN8l4 "A thrilling exploration of tomato dicing"]]Now I prepare pico de gallo almost weekly!And in your content's template, something like this (`expand_shortcodes` is a provided by this package):...{% load shortcodes %}<div class="Post-BodyText -u-awesome">{{ post.body|expand_shortcodes|safe|your_markdown_filter }}</div>...