Saravanan666/pypi-org huggingface dataset:
Package: djinn_forms
djinn_formsDjinn module for forms, fields and widgets.1.3.6label add/change in ImageWidget1.3.5django 1.8 compatibility1.3.4layout changes1.3.3allowing space in keywords1.3.2Fix for image attachments widget1.3.1Move to Django 1.6.x1.3.0Moved to TinyMCE 4.x seriesFixed relate widget for single useCleanup of old pg dependencies1.2.5Fixed setting of add/rm values for relate widget1.2.4Added keyword field and widgetmoved relate widget views and template into this modulei18n issues fixed1.2.3JS fixes for relate widget1.2.2More conservative checks on widget valuesMoved relate widget JS into separate fileAdded media setting to relate widget1.2.1Moved link widget JS into djinn_forms_link.jsFixes for link popup1.2.0PEP8 fixesfixes for relate fields/widgetsAdded richtext stuffi18n fixesfixes for link widget1.1.1Fixes for attachment field/widget1.1.0Added fields and widgets for relating contentAdded fields and widgets for adding roles1.0.1Moved to django 1.5.x series1.0.0Initial version
Package: djinn_i18n
djinn_i18nDjinn i18n module providing overrides of djinn translations. Other
than for instance Rosetta, this tool writes it’s overrides to a
separate .po file that resides outside of your or other people’s
sources, so you won’t get into trouble when updating source code.The one single .po file is written to settings.PO_OVERRIDES, or if
that doesn’t exist, to: settings.PROJECT_ROOT/var/locale.Make sure to add the path to your settings.LOCALE_PATHS, like so:LOCALE_PATHS = [PO_OVERRIDES] + LOCALE_PATHSor:LOCALE_PATHS = [PROJECT_ROOT + “/var/locale”] + LOCALE_PATHS1.0.8now supporting unicode in msgid’s as well1.0.7newline support in po-file msgid’s1.0.5added reload button on i18n index page for
reloading po files in running server1.0.4made urls more flexible with respect to locale-name1.0.3Move to Django 1.6.x1.0.1Skip monkey patch for translations in front end for now1.0.0Initial version
Package: djinn_news
djinn_newsDjinn module for news content types1.1.9issue 1602 homepage en nieuwsbericht als verborgen1.1.8multiple newsitems may be sticky1.1.6date/time formatstranslationshomepage image editing fixed1.1.5changes in presentation1.1.4bugfix in newsviewlet for highlights pointing to removed news1.1.3added support for Likes1.1.2added userkeywords1.1.2Fixed override option for news form for groupFixed url for group add and some other typos…Fixed call to super of news on homepageFix for proper display of embedded video - deleted, the user adds ?wmode=transparent in the youtube url himself.1.1.1small modification to highlights: no removal of highlight after owner-edit1.1.0made news use the new djinn_contenttypes.Highlight modelMove to Django 1.6.x1.0.6translation fixes1.0.5Fix for related documents url1.0.4dependency on djinn_forms 1.2.21.0.3Moved to djinn_forms richtext widgetPEP8 fixesnews now creates a tmp object on addAdded signal handlerstemplate fixes1.0.2Fixes for news to redaction group1.0.1Admin settingsAdded post save hook1.0.0Initial version
Package: djinn_search
djinn_searchDjinn intranet search utilities.
Base classes for forms, views, etc.1.0.7not using RealtimeSearchIndex anymore. Better for performance1.0.6allowing spaces in keywords1.0.5release version conflict1.0.4form data may not be mutable or may be a dict1.0.3Move to Django 1.6.ximplement history mixin for search1.0.2Added get_defaults for default settings to search form1.0.1Fixed missing super callpep8 fixes1.0.0Initial version
Package: dj-input-flow
Django app to handle data flowDocumentationThe full documentation is athttps://dj-input-flow.readthedocs.io.QuickstartInstall dj-input-flow:pip install dj-input-flowAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'adminsortable','inputflow',...)Add dj-input-flow’s URL patterns:urlpatterns=[...path('inputflow/',include('inputflow.urls','inputflow')),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2019-10-10)First release on PyPI.
Package: dj-input-googlesheets
Input rows from google sheets into input-flowDocumentationThe full documentation is athttps://dj-input-googlesheets.readthedocs.io.QuickstartInstall dj-input-googlesheets:pip install dj-input-googlesheetsAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'inputgooglesheets.apps.InputGoogleSheetsConfig',...)Add dj-input-googlesheets’s URL patterns:frominputgooglesheetsimporturlsasinputgooglesheets_urlsurlpatterns=[...url(r'^',include(inputgooglesheets_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2019-10-22)First release on PyPI.
Package: djitellopy
DJITelloPy中文文档 (Chinese version of this readme)DJI Tello drone python interface using the officialTello SDKandTello EDU SDK. This library has the following features:implementation of all tello commandseasily retrieve a video streamreceive and parse state packetscontrol a swarm of dronessupport for python >= 3.6Feel free to contribute!Install using pippip install djitellopyFor Linux distributions with both python2 and python3 (e.g. Debian, Ubuntu, ...) you need to runpip3 install djitellopyInstall in developer modeUsing the commands below you can install the repository in aneditableway. This allows you to modify the library and use the modified version as if you had installed it regularly.git clone https://github.com/damiafuentes/DJITelloPy.git
cd DJITelloPy
pip install -e .UsageAPI ReferenceSeedjitellopy.readthedocs.iofor a full reference of all classes and methods available.Simple examplefromdjitellopyimportTellotello=Tello()tello.connect()tello.takeoff()tello.move_left(100)tello.rotate_counter_clockwise(90)tello.move_forward(100)tello.land()More examplesIn theexamplesdirectory there are some code examples.
Comments in the examples are mostly in both english and chinese.taking a picturerecording a videoflying a swarm (multiple Tellos at once)simple controlling using your keyboardmission pad detectionfully featured manual control using pygameNotesIf you are using thestreamoncommand and the response isUnknown commandmeans you have to update the Tello firmware. That can be done through the Tello app.Mission pad detection and navigation is only supported by the Tello EDU.Bright environment is necessary for successful use of mission pads.Connecting to an existing wifi network is only supported by the Tello EDU.When connected to an existing wifi network video streaming is not available (TODO: needs confirmation with the new SDK3portcommands)DJITelloPy in the media and in the wild>1.5 Million views Youtube:Drone Programming With Python CourseGerman magazine "Make":"KI steuert Follow-Me-Drohne" (paywall),authors notes,github repoWebinar on learn.droneblocks.io:"DJITelloPy Drone Coding",github repoUniversities & Schools using DJITelloPy in projects or in class:Ball State University in Muncie, IndianaTechnical University KaiserslauternSha Tin College, Hong KongUniversity of São Pauloadd yours...AuthorsDamià Fuentes EscotéJakob Löwand moreLicenseThis project is licensed under the MIT License - see theLICENSE.txtfile for details
Package: djitellopy2
DJITelloPyDJI Tello drone python interface using the officialTello SDKandTello EDU SDK. This library has the following features:implementation of all tello commandseasily retrieve a video streamreceive and parse state packetscontrol a swarm of dronessupport for python >= 3.6Feel free to contribute!Install using pip$ pip install djitellopy2For Linux distributions with both python2 and python3 (e.g. Debian, Ubuntu, ...) you need to run$ pip3 install djitellopy2Install in developer modeUsing the commands below you can install the repository in aneditableway. This allows you to modify the library and use the modified version as if you had installed it regularly.$ git clone https://github.com/damiafuentes/DJITelloPy.git
$ cd DJITelloPy
$ pip install -e .UsageAPI ReferenceSeedjitellopy.readthedocs.iofor a full reference of all classes and methods available.Simple examplefromdjitellopyimportTellotello=Tello()tello.connect()tello.takeoff()tello.move_left(100)tello.rotate_counter_clockwise(90)tello.move_forward(100)tello.land()More examplesIn theexamplesdirectory there are some code examples:taking a picturerecording a videoflying a swarm (multiple Tellos at once)simple controlling using your keyboardmission pad detectionfully featured manual control using pygameNotesIf you are using thestreamoncommand and the response isUnknown commandmeans you have to update the Tello firmware. That can be done through the Tello app.Mission pad detection and navigation is only supported by the Tello EDU.Bright environment is necessary for successful use of mission pads.Connecting to an existing wifi network is only supported by the Tello EDU.When connected to an existing wifi network video streaming is not available.AuthorsDamià Fuentes EscotéJakob Löwand moreLicenseThis project is licensed under the MIT License - see theLICENSE.txtfile for details
Package: dj-jkabachcha
Dj jkabachcha is a Django app to create Json WYSIWYG field for Django models.Quick startAdd “jkabachcha” to your INSTALLED_APPS like this:```
INSTALLED_APPS = (
    ...
    'jkabachcha',
)
```Collect static files by running:```
python manage.py collectstatic
```Import it in your models like:```
from jkabachcha.db.fields import JsonField
```Create model fields like:```
   json_text = JsonField()
```Use widget to override default Textarea in ModelAdmin class like:```
    # import widget
    from jkabachcha.forms.widgets import JsonTextWidget

    # in ModelAdmin class, like

    formfield_overrides = {
        models.TextField : {'widget': JsonTextWidget},
    }
```
Package: dj-jsonapi
# dj-jsonapi
A JSON-API server implementation built for Django on top of Django Rest Framework[![Build Status](https://travis-ci.org/ITNG/dj-jsonapi.svg?branch=master)](https://travis-ci.org/ITNG/dj-jsonapi)
[![codecov.io](https://codecov.io/github/ITNG/dj-jsonapi/coverage.svg?branch=master)](https://codecov.io/github/ITNG/dj-jsonapi?branch=master)
Package: dj-jwt
dj-jwtDj-JWT is a JSON Web Token authentication plugin for vanilla django built on Simple JWT. This is a thin layer on Simple JWT, it should not need to be updated too regularly.AcknowledgmentsSimple JWTis a great jwt library, and is updated regulary. However, it is based soley for rest framework. This library is a thin layer on top of that which uses Simple JWT, but lets you use it with vanilla django.Getting StartedInstalldj-jwt can be installed with pip:pip install dj-jwtAdd 'djjwt' to yourINSTALLED_APPSsetting.INSTALLED_APPS = [
    ...
    'djjwt',
]If you are wanting to use the urls built in just add the following your projectsurls.pypath("token/",include(("djjwt.urls","djjwt"),namespace="dj-jwt"))Add the middleware to your middlewareMIDDLEWARE=[..."django.contrib.auth.middleware.AuthenticationMiddleware","djjwt.middleware.DjangoJWTAuthentication",]URL Usage/token/authenticate/
/token/refresh/
/token/verify/fromdjango.urlsimportreverse_lazyreverse_lazy('jwt-token:authenticate')reverse_lazy('jwt-token:refresh')reverse_lazy('jwt-token:verify')CommandsYou can create an access and refresh token on the command line to make testing easier../manage.py create_tokens --userid=2
./manage.py create_tokens --email=buddy@example.com
./manage.py create_tokens    # Grabs the first user in the systemExample outputTokens for: Buddy Lindsey <buddy@example.com>
Access Token:  eyJ0...
Refresh Token: eyJ0...
Package: dj-jwt-auth
Django-JWTThis is a package to verify and validate JSON Web Tokens (JWT) in Django.InstallationInstall the package using pip.Add "django_jwt" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [
        ...
        'django_jwt',
    ]Add "django_jwt.middleware.JWTAuthMiddleware" to your MIDDLEWARE setting like this::MIDDLEWARE = [
        ...
        'django_jwt.middleware.JWTAuthMiddleware',
    ]Configuration:Required variables:OIDC_CERTS_URL - certificate endpoint, likehttps://keyCloak/realms/h/.well-known/openid-configurationOptional variables:OIDC_AUDIENCE - by default ["account", "broker"]
User retated variables:OIDC_USER_UPDATE - if True, user model will be updated from userinfo endpoint if MODIFIED date has changed, by default TrueOIDC_USER_MODIFIED_FIELD - user model field to store last modified date, by defaultmodified_timestampOIDC_TOKEN_MODIFIED_FIELD - access token field to store last modified date, by defaultupdated_atOIDC_USER_UID - User model' unique identifier, by defaultkc_idOIDC_USER_MAPPING - mapping between JWT claims and user model fields, by default:OIDC_USER_MAPPING = {
        'first_name': 'first_name',
        'last_name': 'last_name',
        'username': 'username',
    }OIDC_USER_DEFAULTS - default values for user model fields, by default:OIDC_USER_DEFAULTS = {
        'is_active': True,
    }OIDC_USER_ON_CREATE and OIDC_USER_ON_UPDATE - functions to be called on user creation and update, by default:OIDC_USER_ON_CREATE = None
    OIDC_USER_ON_UPDATE = NoneOIDC_CONFIG_ROUTES - dict of 'algorithm': 'config_url', by default is empty. If filled will be used instead of OIDC_CERTS_URLOIDC_CONFIG_ROUTES = {
       'RS256': 'https://keyCloak/realms/h/.well-known/openid-configuration',
       'HS256': 'https://keyCloak/realms/h/.well-known/openid-configuration',
   }These functions should accept two arguments: user and request.Testing:Run commandpython runtests.pyto run tests.
Package: dj-kaos-utils
Django Kaos UtilsSet of utilities and helpers for rapid development of Django applicationspipinstalldj-kaos-utilsDocumentation:https://dj-kaos-utils.readthedocs.io/Development and TestingVersion numbers followSemantic Versioning 2.0.0Note: Releases with major version zero (0.y.z) are in experimental public API. There is no guarantee of API
compatibility between0.y.zand0.b.cwherey != z. You may expect the public API to be backwards compatible
between0.y.zand0.y.cwherec >= z.IDE SetupAdd theexampledirectory to thePYTHONPATHin your IDE to avoid seeing import warnings in thetestsmodules. If
you are using PyCharm, this is already set up.Running the TestsInstall requirementspip install -r requirements.txtFor local environmentpytestFor all supported environmentstox
Package: dj-kaos-webclipper
Django KAOS web clipperClip web pages html and store in DjangoQuick startpip install dj-kaos-webclipperAddwebclippertoINSTALLED_APPSif you want to use the generic webclip model, or extendAbstractWebClipif you
want to customize it on your application.If you go with the generic WebClip model, you can get REST endpoint by using the router defined inrest.routes.Your end users will send the title, URL and HTML content of the page using the REST API endpoint, and they get saved to
the models. You can extend the WebClip model in a proxy model, and extendRawItemMixinfrom the library, which gives
you an interface to parse the page using Scrapy's API.Development and TestingIDE SetupAdd theexampledirectory to thePYTHONPATHin your IDE to avoid seeing import warnings in thetestsmodules. If
you are using PyCharm, this is already set up.Running the TestsInstall requirementspip install -r requirements.txtFor local environmentpytestFor all supported environmentstox
Package: djld
Structured data with DjangoInstallationpipinstalldjldConfigurationAdddjldto your INSTALLED_APPS in settings.py, you can specify the folder containing your structured data overriding theLD_JSON_PATHvariableUsageTo render structured data in your templates you need thestructured_datatemplate tag{%loaddjld%}{%structured_data'mydata.json'%}You can use Django template sintax in your json files, and pass a context to the template tagrender(request,'myapp/index.html',{'user_data':{'url':'https://lotrek.it','name':'Human Before Digital'}}){%loaddjld%}{%structured_data'mydata.json'user_data%}You can also render a structured data from a dictionary, without using templatesrender(request,'myapp/index.html',{'user_data':{'url':'https://lotrek.it','name':'Human Before Digital'}}){%loaddjld%}{%structured_datauser_data%}Run tests$pipinstall-rrequirements-dev.txt$maketest
Package: djlime-metatags
Django-приложение, позволяющее задать мета-теги для объектов базы данных и URL-путей.Установка$ pip install djlime-metatagsПодключениеДобавьте приложение metatags в кортеж INSTALLED_APPS:INSTALLED_APPS = (
    ...
    'metatags',
)Выполните команду:python manage.py syncdb (migrate для django=>1.7)Для подключения мета-тегов к объектам необходимо импортировать класс MetaTagInline в файл admin.py, вашего приложения и указать его в списке inlines, ModelAdmin-классаfrom metatags.admin import MetaTagInline

...

class PageAdmin(admin.ModelAdmin):
    list_display = ('url', 'title')
    inlines = (MetaTagInline,)

...Также приложение реализует свой ModelAdmin класс, реализующий интерфейс добавления мета-тегов для заданных URL-путей.Загрузите библиотеку тегов{% load meta_tags %}и создайте в секции head блок, для включения метатегов:{% load meta_tags %}

<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />

    {% block meta_tags %}
        {% include_meta_tags %}
    {% endblock %}
    ...
</head>Параметры включающего тега include_meta_tagsВcе параметры являются необязательными.page_object- Контекстный объект, для которого необходимо получить мета-теги. None по умолчанию.page_title_field- Поле контекстного объекта, хранящее альтернативный заголовок страницы. ‘title’ по умолчанию.default_title- Заголовок страницы по умолчанию. Используется совместно с URL-путями, и не имеет никакого смысла
при передаче контекстного объекта в включающий тег. ‘’ по умолчанию.default_keywords- Ключевые слова по умолчанию.default_description- Описание по умолчанию.Команды управленияsyncmetatags- синхронизация полей при совместном использовании с приложением django-modeltranslation.
Данная команда доступна начиная с версии0.9.11.
Package: djlimiter
djlimiter provides rate limiting features to django via a middleware.QuickstartAdd the rate limiter to your django projects’settings.pyand enable a global rate limit for all
views in your project:MIDDLEWARE_CLASSES+=("djlimiter.Limiter",)RATELIMIT_GLOBAL="10/second"If you only want to enable rate limits to certain endpoints, leave out theRATELIMIT_GLOBALsetting and
use the decorator approach instead in the respective view function:@limit("10/second")defindex(request):...For detailed documentation visitRead the docsChangelog0.2 2015-12-20Django 1.8/1.9 compatibility0.1.1 2015-01-09Bug Fix: remove duplicate hits when rate limits are stacked.Bug Fix: multiple rate limits returned by dynamic limits weren’t respected.Documentation tweaks.0.1.0 2015-01-09first release.
Package: djlint
🏗️ Maintainers needed, please reach out on discord or email!The missing formatter and linter for HTML templates.How to use•Как пользоваться•UtilisationWhat lang are you using?Django•Jinja•Nunjucks•Twig•Handlebars•Mustache•GoLang•Angular🤔 For What?Once upon a time all the other programming languages had a formatter and linter. Css, javascript, python, the c suite, typescript, ruby, php, go, swift, and you know the others. The cool kids on the block.HTML templates were left out there on their own, in the cold, unformatted and unlinted :( The dirty corner in your repository. Something had to change.djLint is a community build project to and add consistency to html templates.✨ How?Grab it withpippipinstalldjlintOr with the npm experimental install - Note, this requires python and pip to be on your system path.npmidjlintLint your projectdjlint.--extension=html.j2--lintCheck your formatdjlint.--extension=html.j2--checkFix my format!djlint.--extension=html.j2--reformat💙 Like it?Add a badge to your projectsreadme.md:[![Code style: djlint](https://img.shields.io/badge/html%20style-djlint-blue.svg)](https://www.djlint.com)Add a badge to yourreadme.rst:..image::https://img.shields.io/badge/html%20style-djlint-blue.svg:target:https://www.djlint.comLooks like this:🛠️ Can I help?Yes!Would you like to add a rule to the linter?Take a look at thelinter docsandsource codeAre you a regex pro?Benchmark and submit a pr with improved regex for thelinter rules⚠️ Help Needed! ⚠️Good with python?djLint was an experimental project and is catching on with other devs. Help out with a rewrite of the formatter to improve speed and html style for edge cases. Contribute on the2.0 branch🏃 Other Tools Of NoteDjHTMLA pure-Python Django/Jinja template indenter without dependencies.HTMLHintStatic code analysis tool you need for your HTMLcurlylintExperimental HTML templates linting for Jinja, Nunjucks, Django templates, Twig, Liquid
Package: dj-livesettings
# dj-livesettingsDjango app that provides possibility to add settings that can be changed in DB.Getting StartedAdd ‘livesettings’ to INSTALLED_APPSSet LIVESETTINGS_CACHE_TIME in settings.pyAdd livesettings in /admin/livesettings/Typical Usage# in settings.py
FOO = ‘foo’# in foo.py
from livesettings.api import live_settings
print(live_settings.FOO)
# >>> ‘foo’# if in admin we add livesetting FOO with value bar
print(live_settigns.FOO)
# >>> ‘bar’
Package: dj-logger
Django LoggerLog exceptions, errors and user activity for DjangoQuick startAdd "django_logger" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [ ... 'django_logger', ]Add 'django_logger.middleware.RequestLoggingMiddleware' to your MIDDLEWARE setting like this::MIDDLEWARE = [
...,
'django_logger.middleware.RequestLoggingMiddleware',
]Run python manage.py migrate to create the django_logger models.Visithttp://127.0.0.1:8000/admin/to see logs.
Package: dj-loopbreaker
dj-loopbreakerDjango library which breaks infinite loops in signalsInstallationpip install dj-loopbreakerUsagefromloopbreakerimportthrottleThe problemImagine you have a signal like this:@receiver(post_save,sender=Todo,dispatch_uid="example.say_hi")@throttle(signal_id="update.todo",expire_after=1)defupdate_todo(instance,created,**kwargs):# normally this would cause an infinte loopinstance.done=notinstance.doneinstance.save()Normally that would cause an infinite loop. However, include the@throttledecorator, and it will now make sure that this signal is only
executed again after 1 second for this specific instance.How it worksthrottleuses Django's caching mechanism. It will create a key using the  following format:{signal_id}.{app_label}{model_name}{instance_id}. The key will expire afterexpire_aftersecondsThis means:No longer need to worry about making infinite loops in your signalsNo dependencies, or dependencies at your own discretion (we use django's internal caching,so you can set up your caching backend)Throttling occurs per instance (not per model)
Package: djmail
djmail is a BSD Licensed, simple and nonobstructive django email middleware.Why use djmail? Because it:Sends emails asynchronously without additional libraries.Sends emails using celery tasks.Can retry sending failed messages (with cron task or celery periodic task).Can assign delivery priority.Has a powerfull class to build emails from templates.Works transparently (works as middleware for native django email backends)djmail was created by Andrey Antukh (@niwinz) and is maintened by David Barragán (@bameda).You can read the full documentation athttps://bameda.github.io/djmail/.