Saravanan666/pypi-org huggingface dataset:
Package: django-zurb-foundation-6
django-zurb-foundation-6 (6.7.4)Django Zurb Foundation 6 package for Django 4.Version of this package is equal to the version of Zurb Foundation it provides.InstallationInstall with pip:pipinstall--upgradedjango-zurb-foundation-6UsageAddfoundationto yourINSTALLED_APPS.If you want to use the provided base template, extend fromfoundation/base.html. If you want to write one from scratch, see the example template.If you want to test if foundation works, includefoundation.urlsin your urls.py and visit the path. You should see the Foundation test page.Foundation iconsIf you have addedfoundation.urlsto your urls.py visiticons/on that path to see them.
Package: django-zurb-foundation-rtl
django-zurb-foundation 6.0.6 + rtl specific files============================Django Zurb Foundation 6 package.Version of this package is equal to the version of Zurb Foundation it provides.Usage=====- Add `foundation` to your `INSTALLED_APPS`.- If you want to use the provided base template, extend from `foundation/base.html`. If you want to write one from scratch, see the example template.- If you want to test if foundation works, include `foundation.urls` in your urls.py and visit the path. You should see the Foundation test page.Including Foundation js/css/vendor files=============================================To include Foundation js file, you can use `static` tag.{% static 'foundation/js/foundation.min.js' %}For example, to include `abide` library use:`<script src="{% static 'foundation/js/foundation/foundation.abide.js' %}"></script>`Foundation icons================The latest Foundation icons set is now included in this package.The icons are not enabled by default. To enable them use something like this in your template:{% block css %}{% static 'foundation/css/foundation-icons.css' %}{% endblock css %}If you have added `foundation.urls` to your urls.py visit `icons/` on that path to see them.
Package: django-zxcvbn-password-validator
django-zxcvbn-password-validatorA translatable password validator for django, based on zxcvbn-python and available with
pip.Professional support for django-zxcvbn-password-validator is available as part of theTidelift SubscriptionTranslating the projectThis project is available in multiple language. Your contribution would be very
appreciated if you know a language that is not yet available. Seehow to contributeLanguage availableThe software is developed in english. Other available languages are :Dutch thanks toThom WiggersFrench thanks toPierre SassoulasandLionel SausinEnglishCreating a user with django-zxcvbn-password-validatorIf the password is not strong enough, we provide errors explaining what you need to do :The error message are translated to your target language (even the string given by
zxcvbn that are in english only) :How to useAdddjango-zxcvbn-password-validatorto your requirements and get it with pip. Then
everything happens in your settings file.Add'django_zxcvbn_password_validator'in theINSTALLED_APPS:INSTALLED_APPS=[# ..."django_zxcvbn_password_validator"]ModifyAUTH_PASSWORD_VALIDATORS:AUTH_PASSWORD_VALIDATORS=[{"NAME":"django.contrib.auth.password_validation.UserAttributeSimilarityValidator",},{"NAME":"django_zxcvbn_password_validator.ZxcvbnPasswordValidator",},# ...]You could choose to use zxcvbn alone, but I personally still use Django'sUserAttributeSimilarityValidator, because there seems to be still be some problem with
it integrating user information with zxcvbn (as of june 2018).Finally, you can set thePASSWORD_MINIMAL_STRENGTHto your liking (default is 2),
every password scoring lower than this number will be rejected :# 0 too guessable: risky password. (guesses < 10^3)# 1 very guessable: protection from throttled online attacks.# (guesses < 10^6)# 2 somewhat guessable: protection from unthrottled online attacks.# (guesses < 10^8)# 3 safely unguessable: moderate protection from offline slow-hash scenario.# (guesses < 10^10)# 4 very unguessable: strong protection from offline slow-hash scenario.# (guesses >= 10^10)PASSWORD_MINIMAL_STRENGTH=0ifDEBUGelse4
Package: django-zy-polls
{\rtf1\ansi\ansicpg936\cocoartf1504\cocoasubrtf830{\fonttbl\f0\fnil\fcharset0 Menlo-Regular;}{\colortbl;\red255\green255\blue255;\red14\green60\blue38;}{\*\expandedcolortbl;;\cssrgb\c4706\c29412\c20000;}\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0\deftab720\pard\pardeftab720\sl280\partightenfactor0\f0\fs28 \cf2 \expnd0\expndtw0\kerning0\outl0\strokewidth0 \strokec2 =====\Polls\=====\\Polls is a simple Django app to conduct Web-based polls. For each\question, visitors can choose between a fixed number of answers.\\Detailed documentation is in the "docs" directory.\\Quick start\-----------\\1. Add "polls" to your INSTALLED_APPS setting like this::\\INSTALLED_APPS = (\...\'polls',\)\\2. Include the polls URLconf in your project urls.py like this::\\url(r'^polls/', include('polls.urls')),\\3. Run `python manage.py migrate` to create the polls models.\\4. Start the development server and visit http://127.0.0.1:8000/admin/\to create a poll (you'll need the Admin app enabled).\\5. Visit http://127.0.0.1:8000/polls/ to participate in the poll.\}
Package: djangular
A reusable app that provides better app integration with AngularJS.  Djangularallows you to create AngularJS content per app, instead of creating a single
massive AngularJS application inside of Django.  This allows you to selectively
use apps per site, as well as create a consistent structure across all of your
Django apps.This is intended to be a Django version of the Angular-Seed project
(https://github.com/angular/angular-seed).  The current mindset is to limit the
amount of changes introduced by Djangular.
Package: djangular-cli
DJANGULAR-CLIDJANGULAR-CLI aim to bring DJANGO and ANGULAR together with ease.This is for developers that intend on using Django as a back-end to their Angular app.
The methodology to using this client is to build a complete front-env application in angular and build it
to Django static to serve a single application.IMPORTANTTHIS PROJECT IS STILL IN DEVELOPMENT!Pypihttps://pypi.org/project/djangular-cli/1.2.4.dev2/VersionTODO:Clean-up of codeAdd sister package support for DJANGULAR-SERVEFix venv bugsAdd more styleGetting StartedEnsure you have the following prerequisites on your machine.PrerequisitesNode.js
npm
Angular-CliInstallingIt is best to install DJANGULAR-CLI globally.pip install djangular-cli
or
pip3 install djangular-cliTo start a session, run:djangular -g startUsageCurrent commands in DJANGULAR-CLI.Start client            : djangular -g start

Quick commands:
New Django project      : djangular - g django
New Angular project     : djangular -g angular
New Virtualenv          : djangular -env new
Activate Virtualenv     : djangular -env activate
Git Clone               : djangular -gc clone
Build Angular to Django : djangular -srv .... [In development for sister package DJANGULAR-SERVEDeploymentBuilt WithPython 3.8ContributingOpen to contributions.AuthorsJonny Doyle-Initial work-LinkedInLicenseThis project is licensed under the MIT License - see theLICENSEfile for detailsAcknowledgmentsPyInquirer
Package: djankiserv
djankiservdjankiservis an open source Django-based implementation of a synchronisation server for Anki 2.1+. It includes a user manager (the native Django user system).Installation-Connecting Anki to the sync server-Development-ContributingAbout this implementationThis implementation was initially developed in order to support the spaced repetition functionality forTranscrobes, an open source language learning platform/ecosystem.Any requests or functionality that don't interfere with using this project for that will definitely be entertained. Ideally the server would do everything that Ankiweb does, and much more. PRs are obviously always welcome!Technical differencesUnlike the other popular open source Anki synchronisation serveranki-sync-server,djankiservstores the user data in a "proper" RDBMS. There are two 'database connections' that can be set - those for the 'system' (sessions, users, etc.) and those for user data. The 'system' stuff is just plain old Django, so any supported database can be used. The user data part currently uses eitherpostgresqlschemas ormysqldatabases, and currently only supports those two, though supporting other RDBMSes will definitely be considered later.sqlite3is an embedded database and works great for that. It is not appropriate for use in modern web applications in the opinion of the maintainer, so will never be supported bydjankiserv.There is a basic API for getting certain, per-user collection-related information (decks, deck configuration, models, tags) and alsonotesfor a given user. It may evolve to include other functions, statistics and even doing cards, though the focus is currently on getting and maintaining proper synchronisation as well as the basic API fornotes.LimitationsThis is alpha software with some occasional data loss bugs. It works, sorta, if you hold it right. If it kills your kittens then you were forewarned!Current known limitations (bugs!):it doesn't support abort and if it crashes in the middle of a sync then the server will have a corrupt view of the database. You should force an upload sync on next synchronisation if this ever happens!The v2 scheduler is not supported, and it is unclear how difficult this might be to implement.
Package: djanticapi
RequirementsPython 3.6+Djanticapi stands on the shoulders of giants:Djangofor the web parts.Pydanticfor the data parts.Installation$pipinstalldjanticapi---> 100%ExampleCreate itCreate a fileapi.pywith:fromdjango.httpimportHttpRequestfromdjanticapiimportBaseFormModel,BaseAPIViewclassTestForm(BaseFormModel):name:strclassTestView(BaseAPIView):defpost(self,request:HttpRequest):form_data=TestForm.from_request(request=request)returnform_data
Package: djanyolo
DjanYoloManage yolo images efficiently. A django app template that can be loaded to any existing app.FeaturesSupports Django modelsAdmin panelImage annotationImage croppingNoteThis pypi is a part of #100DaysOfCode challenge. I needed to learn how packing are pushed and managed on pypi. So came up with simple module that was already cooked up. Checkoriginal repo.How to install?INSTALLED_APPS=(# ...'djanyolo',)Register routefromdjango.urlsimportincludeurlpatterns=[# ...url(r'^djanyolo$',include('djanyolo.urls')),]Have fun!News0.2a1Release date: UNRELEASEDExample news entry for the in-development version0.1Release date: 15-Mar-2010Example news entry for a released version
Package: djaodjin-answers
DjaoDjin answersThe Django app implements a simple questions/answers forum where questions
can be followed and upvoted.Five minutes evaluationThe source code is bundled with a sample django project.$ virtualenvvirtual_env_dir$ cdvirtual_env_dir$ source bin/activate
$ git clonehttps://github.com/djaodjin/djaodjin-answers.git$ pip install -r requirements.txt$ python manage.py syncdb
$ python manage.py runserver# Visit url athttp://localhost:8000/
Package: djaodjin-deployutils
DjaoDjin deployutilsThis Python module enables a Django or Flask project to seamlessly integrate
behind theHTTP session manager reverse proxy.
It will replace the defaultdjango.contrib.sessionsandAUTHENTICATION_BACKENDSto decode sessions forwarded to your project
by the HTTP session manager.Tested withPython:3.7,Django:3.2 (LTS),Django Rest Framework:3.12Python:3.10,Django:4.0 (latest),Django Rest Framework:3.12Python:2.7,Django:1.11 (legacy),Django Rest Framework:3.9.4More technical documentationInstallInstall deployutils into your environment$ pip install djaodjin-deployutilsSee the steps tointegrate with a Django project.DevelopmentClone the repository in a virtualenv and install the prerequisites$ python3 -m .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txtCreate the credentials file with aDJAODJIN_SECRET_KEYand the empty db.$ make initdbRun the web application$ python manage.py runserverBrowse tohttp://localhost:8000Release NotesTested withPython:3.7,Django:3.2 (LTS)Python:3.10,Django:4.2 (latest)Python:2.7,Django:1.11 (legacy) - use testsite/requirements-legacy.txt0.10.8takes excluded templates into account when packaging themesecurity renames DB_LOCATION to DB_SECRET_LOCATION to redact db_passwordprevious release notes
Package: djaodjin-extended-templates
djaodjin-extended-templates is a Django application that adds missing features
for managing Django templates.Major Features:Live editing of HTML templatesBuild .css from .scss on page loadHTML email templatesPDF templatesMedia assets galleryUpload theme packagesDevelopmentAfter cloning the repository, create a virtualenv environment, install
the prerequisites, create the database then run the testsite webapp.$ virtualenvinstallTop$ sourceinstallTop/bin/activate
    $ pip install -r testsite/requirements.txt
    $ make vendor-assets-prerequisites

    $ make initdb

    $ python manage.py runserver

    # Browse http://localhost:8000/
    # Start edit live templatesConfigure the settings to connect to your e-mail server,
then run the sendtestemail command.credentials:
  EMAIL_HOST_USER =
  EMAIL_HOST_PASSWORD =
site.conf:
  EMAIL_HOST    =
  EMAIL_PORT    =
  EMAIL_USE_TLS =
  DEFAULT_FROM_EMAIL =Then run thesendtestemailcommand and look for an e-mail delivered to you
in HTML format.$ python manage.py sendtestemail __your_email_address__Note that you will need to linkpodofo-flatform.ccwithpodofoversion 0.9.3. Version 0.9.1 as shipped with many RedHat systems will link
with no error but the outputed PDF will be blank.Release NotesTested withPython:3.7,Django:3.2 (LTS)Python:3.10,Django:4.2 (latest)Python:2.7,Django:1.11 (legacy) - use testsite/requirements-legacy.txt0.4.5turns edit tools on/off per user instead of whole siteenables partial theme upload and downloadadds online editor for datesprevious release notes
Package: djaodjin-multitier
djaodjin-multitier is a Django application that implements shared tenancy.Major Features:Dynamically select the following based on subdomain or path prefix:Database connectionSMTP connectionTemplatesURL resolvers: Dynamic path prefix (as a hack in i18n module)Thenotesof the presentation at a SF Django Meetup are useful to understand how
middlewares, thread locals and template loaders were used to implement
multi-tier applications here.DevelopmentAfter cloning the repository, create a virtualenv environment, install
the prerequisites, create and load initial data into the database, then
run the testsite webapp.$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txt

# Create the fixtures databases and run the server
$ make initdb
$ python manage.py runserverRelease NotesTested withPython:3.7,Django:3.2 (LTS)Python:3.10,Django:4.2 (latest)Python:2.7,Django:1.11 (legacy) - use testsite/requirements-legacy.txt0.2.1hotfix extra field can be Nonereplaces fieldtagbyextrato match coding conventionsreturnsmultitier.Sitewhensettings.MULTITIER_SITE_MODEL is None.-- Sebastien Mirolosmirolo@djaodjin.comTue, 10 Oct 2023 14:00:00 -0700previous release notes
Package: djaodjin-pages
djaodjin-pages is a Django application that implements a Content Management
System (CMS) for practices sharing.Major Features:Hierachical structure of content elementsText edition (optional: markdown syntax)Media gallery (drag'n'drop in markdown or media placeholder)DevelopmentAfter cloning the repository, create a virtualenv environment, install
the prerequisites, create the database then run the testsite webapp.$ python -m venv .venv
    $ source .venv/bin/activate
    $ pip install -r testsite/requirements.txt

    # Installs Javascript prerequisites to run in the browser
    $ make vendor-assets-prerequisites

    # Create the testsite database
    $ make initdb

    # Run the testsite server
    $ python manage.py runserver

    # Browse http://localhost:8000/Release NotesTested withPython:3.7,Django:3.2 (LTS)Python:3.10,Django:4.2 (latest)Python:2.7,Django:1.11 (legacy) - use testsite/requirements-legacy.txt0.7.0generates usable OpenAPI 3 schemaadds sequences and user progress through a sequenceimports content of PageElement as a .docxprevious release notesVersion 0.4.3 is the last version that contains the HTML templates
online editor. This functionality was moved todjaodjin-extended-templatesas of version 0.5.0.
Package: djaodjin-rules
DjaoDjin-RulesFlexible framework to check permissions to URIs and forward HTTP requestsThis project contains bare bone templates. To see it in action, integrated into
a full-fledged subscription-based session proxy with bootstrap-styled
dashboards, take a look atdjaoapp.DevelopmentAfter cloning the repository, create a virtualenv environment and install
the prerequisites:$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txtIt remains to create the database and populate it with test data.$ python ./manage.py migrate --run-syncdb --noinput
$ python ./manage.py loaddata testsite/fixtures/test_data.jsonRun the testsite$ python ./manage.py runserverRelease NotesTested withPython:3.7,Django:3.2 (LTS)Python:3.10,Django:4.2 (latest)Python:2.7,Django:1.11 (legacy) - use testsite/requirements-legacy.txt0.4.4raises an error when trying to create a path with invalid characterssupports OpenAPI 3 schemasprevious release notes
Package: djaodjin-saas
DjaoDjin-SaaSdjaodjin-saas is a Django application that implements the logic to support
subscription-based Software-as-a-Service businesses.Major Features:Separate billing profiles and authenticated usersDouble entry book keeping ledgerFlexible security frameworkThis project contains bare bone templates which are compatible with Django
and Jinja2 template engines. To see djaodjin-saas in action as part
of a full-fledged subscription-based session proxy, take a look
atdjaoapp.Full documentation for the project is available atRead-the-DocsDevelopmentAfter cloning the repository, create a virtualenv environment and install
the prerequisites:$ python -m venv .venv
    $ source .venv/bin/activate
    $ pip install -r testsite/requirements.txt

    # Installs Javascript prerequisites to run in the browser
    $ make vendor-assets-prerequisitesTo use the testsite, you will need to add the payment processor keys
(seeProcessor Backends)
and Django secret key into a credentials file. Example withStripe:$ cat ./credentials

    SECRET_KEY = "enough_random_data"
    STRIPE_PUB_KEY = "your_stripe_public_api_key"
    STRIPE_PRIV_KEY = "your_stripe_private_api_key"It remains to create andpopulate the database with required objects.$ python ./manage.py migrate --run-syncdb --noinput
$ python ./manage.py loaddata testsite/fixtures/initial_data.json
$ python ./manage.py createsuperuserYou can further generate a set of dummy data data to populate the site.$ python ./manage.py load_test_transactionsSide note: If create your own fixtures file (ex: testsite/fixtures/test_data.json)
and attempt to load them with a Django versionbefore2 while the Python
executable was linked with a SQLite versionafter3.25, you might stumble upon
the well-knownSQLite 3.26 breaks database migration ForeignKey constraint, leaving <table_name>__old in db schemabug.
Your best bet is to use Django2+ or delete the migrations/ directory.If all is well then, you are ready to run the server and browse the testsite.$ python manage.py runserver

# Browse http://localhost:8000/Implementation NotesThe latest versions of django-restframework (>=3.0) implement paginators
disconnected from parameters in  views (i.e. no more paginate_by). You will
thus need to definePAGE_SIZEin your settings.py$ diff testsite/settings.py
+REST_FRAMEWORK = {
+    'PAGE_SIZE': 25,
+    'DEFAULT_PAGINATION_CLASS':
+        'rest_framework.pagination.PageNumberPagination',
+}This Django App does not send notification e-mails itself. All major
updates that would result in a e-mail sent trigger signals though. It is
straightforward to send e-mails on a signal trigger in the main
Django project. We provide sample e-mail templates here in the
saas/templates/notification/ directory.Release NotesTested withPython:3.7,Django:3.2 (LTS)Python:3.10,Django:4.2 (latest)Python:2.7,Django:1.11 (legacy) - use testsite/requirements-legacy.txt0.20.0adds field to manage otp code requirements per rolecomputes number of periods that cover more than 1 year correctlyprevious release notes
Package: djaodjin-signup
DjaoDjin-SignupThis repository contains a Django App for frictionless signup.The app will register and login a user with as little as only an email address.When the user logs out and tries to logs back in with the same email address,
the app will first verify the email address through an activation url send
to the registered email address. Setting the password is deferred to after
the email address has been verified.If during the first login and/or subsequent login, the email address should
be verified before moving forward (ex: before presenting a payment view),
you should decorate the view with anactive_requireddecorator.This project contains bare bone templates which are compatible with Django
and Jinja2 template engines. To see djaodjin-signup in action as part
of a full-fledged subscription-based session proxy, take a look
atdjaoapp.InstallAdd the signup urls to your urlpatterns and EmailOrUsernameModelBackend
to the settings AUTHENTICATION_BACKENDS.urls.py:

    urlpatterns = ('',
        (r'^api/', include('signup.urls.api')),
        (r'^', include('signup.urls.views')),

    )

settings.py:

    AUTHENTICATION_BACKENDS = (
        'signup.backends.auth.EmailOrUsernameModelBackend',
        'django.contrib.auth.backends.ModelBackend'

    )DevelopmentAfter cloning the repository, create a virtualenv environment, install
the prerequisites, create and load initial data into the database, then
run the testsite webapp.$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txt
$ make vendor-assets-prerequisites
$ make initdb
$ python manage.py runserver

# Browse http://localhost:8000/Release NotesTested withPython:3.7,Django:3.2 (LTS)Python:3.10,Django:4.2 (latest) - see#55Python:2.7,Django:1.11 (legacy) - use testsite/requirements-legacy.txt0.9.3adds password visibility toggleprevious release notes
Package: djaodjin-survey
DjaoDjin surveyThe Django app implements a simple survey app.Full documentation for the project is available atRead-the-DocsFive minutes evaluationThe source code is bundled with a sample django project.$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txt
$ python manage.py migrate --run-syncdb --noinput
$ python manage.py loaddata testsite/fixtures/default-db.json

$ python manage.py runserver

# Visit url at http://localhost:8000/
# You can use username: donny, password: yoyo to test the manager options.ReleasesTested withPython:3.7,Django:3.2 (LTS)Python:3.10,Django:4.2 (latest)0.10.1enables override of bypass portfoliosfixes create a filter that belongs to an accountprevious release notesModels have been completely re-designed between version 0.1.7 and 0.2.0
Package: djapi
The library of simple helpers to build API with Django.
Not aimed at implementing REST.Requirements: Python 2.7+ and Django 1.8+. Installation:$ pip install djapiSetupMost of the library needs no configuration, but if you want to use token authentication:INSTALLED_APPS+=['djapi.authtoken']DJAPI_AUTH=['djapi.authtoken.use_token']# Or add default django auth for e.g. debugging purposesDJAPI_AUTH=['djapi.authtoken.use_token','djapi.auth.use_contribauth']Usageimportdjapiasapiposts_qs=api.queryset(Post).filter(visible=True)\.values_but('visible','modified_on')\.values_add(category='category__title')\.map_types(Image,lambdaimg:img.url)@api.catch(Post.DoesNotExist,status=404)defpost(request,pk):returnapi.json(posts_qs.get(pk=pk))defposts_list(request):returnapi.json(api.paginate(request,posts_qs,per_page=20))@api.auth_required@api.user_passes_test(lambdauser:user.is_staff)@api.validate(PostForm)defposts_create(request,post):post.created_by=request.userpost.save()returnapi.json(201,created=post.pk)posts=api.route(get=posts_list,post=posts_create)