Saravanan666/pypi-org huggingface dataset:
Package: django-kippo
Django App for the SSH Honeypot called ‘kippo’:https://code.google.com/p/kippo/It’s a simple django app thats access to the MySQL data of kippo.
You can browse to them in the django admin panel.testThere exists a test project for easy startup.
Read:/django_kippo_test_project/README.creolefor more information.cliUnder/cli_scripts/are some older commandline scripts.LinksIRC#pylucid on freenode.netGithubhttp://github.com/jedie/django-kippoPython Packageshttp://pypi.python.org/pypi/django-kippo/kippo homepagehttps://code.google.com/p/kippo/
Package: django_kiss
# Django KissA Django application for integrating KISSmetrics customer analytics.KISSmetrics recommends developers record events using their JavaScript API, however it can be difficult to tell when to record an event using only client side code. For example, how does the client know when a form is successfully submitted?Django Kiss uses the Django Session Framework to record events against a users session. The recorded in the session are then written out to an HTML page as JavaScript. The user's browser executes the JavaScript, firing the tracking requests to the KM API.## Installation* Install the package.* Update your `settings.py`:INSTALLED_APPS += ('kiss',)MIDDLEWARE_CLASSES += ('kiss.middleware.KissMiddleware',)KISS_API_KEY = 'YOUR_KM_API_KEY'KISS_STORAGE = 'kiss.storage.session.SessionStorage'* Django Kiss requires the Django Session Framework to be installed.## UsageRecording an event with Django Kiss is a two step process. First an event must be recorded against a request using `kiss.add_kiss`. Second, the user's browser must load a page with KM tracking JavaScript.Record an event against the user's sessions:import kissdef view(request):kiss.add_kiss(request, ['record', 'event_name'])...Include `kiss/core.html` in your base template to write out KM tracking JavaScripts and the events stored against the user's session:{% include 'kiss/core.html' %}To associate a particular request with an identity you can add a signal listener:from django.contrib.auth import signals as auth_signals@receiver(auth_signals.user_logged_in)def user_logged_in_kiss(sender, **kwargs):request = kwargs['request']user = kwargs['user']kiss.add_kiss(request, ['identify', user.email])kiss.add_kiss(request, ['record', 'login'])## TestsTo run the tests:django-admin.py test kiss --settings=kiss.tests.test_settings## LicenseMIT
Package: django-kit
:Info:Aset of helpers for my own developer needs
:Version: 0.0.1
:Author: Alexey Boriskin (http://github.com/uruz)FeaturesInstallationInstall from github:pip install -e git://github.com/uruz/django-kit.git#egg=django_kitThen add an app to the list of installed app in your settings.py:INSTALLED_APPS = (
…
‘django_kit’,
…
)
Package: django-kittens
Add kittens to your django project! This app collects kittens from the/r/aww/subreddit and displays them to users, who can then upvote or
downvote them. It also provides a “top kittens page”This project was created to demonstrate how to package a django app
for distribution. It accompanies the presentation given at thisCode & Supply: Django PGH Meetup.Installation and ConfigurationInstalling django-kittens is as simple as:pip install django-kittensIt can be included in any Django app by adding'django-kittens'to
youINSTALLED_APPSsetting.This application can be further configured by adding some entries into
your django settings module.REDDIT_USER_AGENT='packaging-kittens'KITTEN_FRESHNESS=100KITTEN_HOMEPAGE='/'The config itemREDDIT_USER_AGENTtells the reddit-api who is
making requests. Set this to something unique for your app. If left at
the default setting, your rate limit will be shared with any other
project that includes this app with the default setting.TheKITTEN_FRESHNESSsetting controls what proportion of kittens
will be new, and can be set to any positive integer. A low freshness
level will tend to show the same collection of kittens over time,
while a high freshness level will constantly show new kittens.The settingKITTEN_HOMEPAGEis the url that the “home” link on the
kittens pages will link to.ContributingThis project is not being actively developed. But, I’m happy to look
at pull requests.LicenseAll code is licensed under the MIT license. See attached LICENSE.txt.
Package: django-kittenstorage
kittenstorage is a so calleddevelopment storage engine.Many people have the problem with gigantomanic production databases with
gigabytes of pictures/files. It is a pain to keep the image files synchronised
between development and production environments.Therefore I have written this storage engine. In case a file is not found,
an image fromplacekitten.comwill be used/displayed
instead.SetupIt’s on pypi.pip installdjango-kittenstorageFeel free to clone from github too. Forking is welcome as well :-)In your django settings file:DEFAULT_FILE_STORAGE = 'kittenstorage.storages.GreyKitten'Storage Engineskittenstorage offers two engines:kittenstorage.storages.GreyKittenkittenstorage.storages.ColorKittenChoose depending on the saturation you want. I preferGreyKittensince it
does have a pretty classy look.SettingsThere is only one setting:KITTEN_SIZEDefault:(1024, 1024)A tuple of format(width, height), specifiying the size of the image
requested fromplacekitten.
Package: django-kiwi
=====
django-kiwidjango-kiwi is a simple Django app to avoid using Celery.Detailed documentation is in the "docs" directory.Quick startAdd "simple_queue" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [
...
'simple_queue',
]Include the polls URLconf in your project urls.py like this::path('simple_queue/', include('simple_queue.urls')),Runpython manage.py migrateto create the queue models.Start the development server and visithttp://127.0.0.1:8000/admin/to view your queues (you'll need the Admin app enabled).
Package: django-klisha
klisha is a standards-compliant and responsive photoblog web application,
written in Python and uses the Django web framework.InstallationCreate a virtualenv~$ virtualenv ~/django-klisha
~$ cd ~/django-klisha
~$ source ./bin/activateClone the code~$ git clone https://github.com/zenzire/django-klisha.gitInstall required pip packages(django-klisha):~$ cd django-klisha
(django-klisha):~/django-klisha$ pip install -r requirements.txtLaunch the server(django-klisha):~/django-klisha$ ./manage.py runserverklisha-powered siteshttp://www.mierzejewski.net- Captured MomentsRelease notesVersion 1.0.4 (2013-Sep-16):Updated Django to 1.5.4 (security fix)Version 1.0.3 (2013-Aug-14):Created pip packageVersion 1.0.2 (2013-Aug-14):Admin: Added vertical display of the tags’ filter interfaceUpdated Django from 1.5.1 to 1.5.2Updating Description, Screenshots and Installation paragraphs in README.rst fileVersion 1.0.1 (2013-Aug-05):Added links to the next and the previous picture on picture detail pageAdded KLISHA_WEBSITE_DESCRIPTION optional parameter to settingsAdded Installation and Release notes paragraphs in README.rst fileVersion 1.0.0 (2013-Jul-25):Initial version
Package: django-kmatch
django-kmatch - Django utilities for kmatchThe django-kmatch app provides various utilities around thePython kmatch library.This app currently provides the following:AKFieldmodel field that allows the user to store a kmatch pattern and access it as aKobject.InstallationTo install the latest release, type:pip install django-kmatchTo install the latest code directly from source, type:pip install git+git://github.com/ambitioninc/django-kmatch.gitDocumentationFull documentation is available athttp://django-kmatch.readthedocs.orgLicenseMIT License (see LICENSE)
Package: django-kms-field
django-kms-fieldKMS encrypted database field for Django.The KMSEncryptedCharField uses your KMS key to encrypt your
data before it is stored in the database and it decrypts it again
when you read from the database.It was designed with stored credentials and other critical
private data in mind. I would strongly recommend thinking
about which models use this field with as it has not been
optomized for high volume access and boto api calls
during query time may impact performance. Splitting secure
fields into separate models can improve performance
significantly as opposed to putting encrypted fields in
frequently read and saved models.Examplefromdjango.dbimportmodelsfromdjango_kms.fieldsimportKMSEncryptedCharFieldclassStoredCredential(models.Model):description=models.CharField(max_length=50)username=models.CharField(max_length=50)password=KMSEncryptedCharField(key_id="alias/my_key")Django settingsKMS_FIELD_KEY='alias/<my-key>'KMS_FIELD_REGION='us-west-2'KMS_FIELD_CACHE_SIZE=500# Number of decrypted plaintext values to hold in memory
Package: django-kmuhelper
KMUHelper(Clickherefor an English version.)Der KMUHelper ist, wie der Name schon sagt, ein Helfer für KMU - hauptsächlich jedoch für Schweizer, da der Hauptgrund für
die Entwicklung dieser Djangoapp die neue Schweizer QR-Rechnung ist.Diverse Infos über den KMUHelper gibt's auf derWebseitesowie in derDokumentationÄnderungen und FeedbackDie neusten Änderungen können imÄnderungsprotokollangesehen werden.Diskussionen- Fragen und IdeenIssues- Bugs und Feature requestsKontakt- Dringende Anfragen und SicherheitslückenGeplante Änderungen und aktuelle Programmierfortschritte können imProjekt-Boardgefunden werden.InstallationSiehehier.Sprache und ÜbersetzungenDer KMUHelper selbst ist aktuell nur in Deutsch verfügbar. Eine übersetzte Version ist in Arbeit.Die Rechnungen können schon jetzt in Deutsch, Englisch, Französisch und Italienisch erstellt werden.
Package: django-knockback
Django-Knockback is a utility app that just contains all the javascript dependencies that are required in order to useknockback.js.The app depends ondjango-compressorin order to serve knockback.js in both compressed and uncompressed forms.The current versions of the javascript libraries are:jQuery 1.9.1Underscore 1.4.4Backbone 1.0.0Knockout 2.2.0Knockback 0.17.0Installation:Open the console and then type:pip install django-knockbackUsage:Include the ‘knockback’ app in theINSTALLED_APPSand then type:./manage.py collectstatic.To include knockback.js into your page just include the knockback/knockback.html template into the <head> tag or extend the knockback/base.html template.
The base.html has two blocks named head and body that contain the content of their respective tags.
Package: django-knocker
Channels-based desktop notification systemDocumentationThe full documentation is athttps://django-knocker.readthedocs.io.UsageSeehttps://django-knocker.readthedocs.io/en/latest/usage.htmlFeaturesSends desktop notifications to connected browsersMultilianguage support (withdjango-parleranddjango-hvad)Usesdjango-metaAPI for a consistent metadata handlingRunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements-test.txt
(myenv) $ python cms_helper.pyCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackage-helperHistory0.5.1 (2023-04-18)FeaturesAdd support for django 4.2 (#22)0.5.0 (2023-02-19)FeaturesUpgrade to Channels 4.0 (#19)Add support for Django 3.2 - 4.10.4.0 (2020-05-20)Migrate to Channels 2Add support for Django 2.2 / 3.0Drop support for Python 2Drop support for Django < 2.20.3.3 (2018-01-01)Fix support for newer channel versionsFix error in signal handlingAdd support for Django 1.11Improv test coverage0.3.2 (2016-12-02)Add support for Django 1.100.3.1 (2016-09-10)Fix error in js message’0.3.0 (2016-08-03)Make easier to customize the knocker url0.2.0 (2016-06-11)Fix documentationImprov routing setting in tests0.1.1 (2016-04-08)Add Add pause_knocks / active_knocks functions.0.1.0 (2016-04-07)First release on PyPI.
Package: django-knowledge-share
Microblog app used to share quick knowledge. This code powers Vinta’s lessons learned
running athttp://www.vinta.com.br/lessons-learned/.The posts are created via slack using a custom command and are automatically posted on twitter.QuickstartInstall Django Knowledge Share:pip install django-knowledge-shareCreate an app for your microblog:python manage.py startapp microblogAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(..."microblog","knowledge_share",...)In your urls.py add the urls entry:url(r'^', include('knowledge_share.urls', namespace='microblog')),In your microblog/models.py create your models by inheriting from the abstract models:# customize those models as neededfromknowledge_shareimportmodelsasknowledge_share_abstract_modelsclassMicroBlogPost(knowledge_share_abstract_models.MicroBlogPostBase):passclassMicroBlogCategory(knowledge_share_abstract_models.MicroBlogCategoryBase):passThen create and run your migrations:python manage.py makemigrations
python manage.py migrateDocumentationModelsYou can see the available models and it’s fieldshere. They are all abstract and you need to create an instance of it (see Quickstart section).Slack IntegrationCreate a custom command in this page:https://my.slack.com/services/new/slash-commands.Set the url to your slack endpoint, by defaulthttps://yoursite.com/microblog/integrations/slack-slash/Copy the generated token and add to your settings.py as “SLACK_TOKEN=’your-token’”.
To send a new post use/yourcommand This is a blog post content [Category, Another Category]Twitter IntegrationYou will need to set the following settings using your twitter data:TWITTER_API_KEY
TWITTER_API_SECRET
TWITTER_ACCESS_TOKEN
TWITTER_ACCESS_TOKEN_SECRETWhenever new posts are created it will be posted to twitter.Template tagsWhenever you are showing the content of the post you should use:{% load microblog %}

{{ post.content|convert_to_html }}If you want to create a link with the content to be shared you can use:{% load microblog %}

<a href="https://twitter.com/intent/tweet?text={{ post|format_post }}">
    Share on twitter
</a>RSS FeedThere is a RSS feed served by default at /microblog/feed/.ConfigurationThe following configurations are available:# settings.py# name of the app created with your microblog's modelsKNOWLEDGE_APP_NAME='microblog'# the title of the rss feed (available at: /microblog/feed/)KNOWLEDGE_FEED_TITLE='microblog'# the link of the feedKNOWLEDGE_FEED_LINK='/microblog/'# Either to use twitter or notKNOWLEDGE_USE_TWITTER=TrueRunning Testssource <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackage
Package: django-kobo-exporter
Prometheus exporter forkobohub.OverviewThekoboframework provides, among
other things, a Django-based "hub" web service which is used to manage tasks and
workers.django-kobo-exporter is a Django app which may be installed to a kobo hub in
order to add aprometheus-compatible metrics endpoint
exposing kobo metrics.UsageEnsuredjango-kobo-exporteris installed, e.g.pip install django-kobo-exporterIn your app's settings, addkobo_exportertoINSTALLED_APPS, e.g.INSTALLED_APPS=['django.contrib.auth','django.contrib.contenttypes','django.contrib.sessions','kobo.django.auth','django.contrib.messages','django.contrib.admin','django.contrib.staticfiles','kobo.django.xmlrpc','kobo.hub',# added here'kobo_exporter',# your app's own stuff below......,]Mountkobo_exporter.urlssomewhere in your project./kobo_exporter/is recommended; for example, in your root urlpatterns:fromdjango.urlsimportinclude,pathurlpatterns=[# ... snip ...path('kobo_exporter/',include('kobo_exporter.urls')),# ... snip ...]Access metrics at<your_service>/kobo_exporter/metrics.The metrics endpoint will provide basic information on workers,
as in example:# HELP kobo_worker_enabled 1 if worker is enabled
# TYPE kobo_worker_enabled gauge
kobo_worker_enabled{worker="localhost"} 1.0
kobo_worker_enabled{worker="pub-dev-pubd7"} 1.0
# HELP kobo_worker_ready 1 if worker is ready
# TYPE kobo_worker_ready gauge
kobo_worker_ready{worker="localhost"} 1.0
kobo_worker_ready{worker="pub-dev-pubd7"} 1.0
# HELP kobo_worker_load Current load of worker (sum of task weights)
# TYPE kobo_worker_load gauge
kobo_worker_load{worker="localhost"} 0.0
kobo_worker_load{worker="pub-dev-pubd7"} 0.0
# HELP kobo_worker_max_load Maximum permitted load of worker
# TYPE kobo_worker_max_load gauge
kobo_worker_max_load{worker="localhost"} 60.0
kobo_worker_max_load{worker="pub-dev-pubd7"} 60.0
# HELP kobo_worker_open_tasks Current number of OPEN tasks for worker
# TYPE kobo_worker_open_tasks gauge
kobo_worker_open_tasks{worker="localhost"} 0.0
kobo_worker_open_tasks{worker="pub-dev-pubd7"} 0.0
# HELP kobo_worker_last_seen_seconds Time of worker's last communication with hub
# TYPE kobo_worker_last_seen_seconds gauge
kobo_worker_last_seen_seconds{worker="localhost"} 1.625644554e+09
kobo_worker_last_seen_seconds{worker="pub-dev-pubd7"} 0.0LicenseThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Package: django-kocal-polls
=====Polls=====Polls is a simple Django app to conduct Web-based polls. For each question,visitors can choose between a fixed number of answers.Details documentation is in the "docs" directoryQuick start-----------1. Add "polls" to your INSTALLED_APPS seting like this::INSTALLED_APP = [...'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/ tocreate a pool (you will need the Admin app enabled)5. Visit http://127.0.0.1:8000/polls/ to "faire le bo jeu".
Package: django-koldar-utils
IntroductionGeneric django providing models and function used to better developer other apps.
In itself, this isnota django app.. code-block::pip install django-koldar-utilsCapabilitiesAbstractModelMetaclasswhich can be used to create django models with abc capabilities;AbstractPermissionMixinwhich does not rely ongroupsandpermissionsrelationships;Ormclass that provides the creation of popular django fields, just for your convenience;ArrowAuditMixinfor providingcreated_atandupdated_atfields usingarrowproject;convenience class to easily create django backends, middlesware, validators;ArrowFieldimplementation (taken fromdjango-arrow-field\ );convenience methods to interact with django framework without remembering how to do certain tasks;classes used to create graphql CRUD operation easily;Upload new versionUse setup.py directly:.. code-block::create .pypirc in your home directorypython setup.py update_version_patch bdist_wheel uploadOrpmake\ :.. code-block::pmakeup is a Massimo Bono project used to automatize the build; per se it is not necessarypip install pmakeupadd in TWINE_PYPI_PASSWORD the pypi passwordpmakeup update-version-patch build upload-to-pypiBuild documentation.. code-block::python setup.py build_sphinx
Package: django-kombu
Version:0.9.4Deprecateddjango-kombu has now moved into Kombu core, so this repository
is no longer in use.To upgrade, install the latest Kombu version and add the following
to your settings.py:INSTALLED_APPS = (
    "kombu.transport.django",
)You can remove the previous “djkombu” entry.ORIGINAL README BELOWIntroductionThis package enables you to use the Django database as the message store
forKombu.To use you first have to adddjkombutoINSTALLED_APPS, and then
executesyncdbto create the tables.django-kombucontains a single transport,djkombu.transport.DatabaseTransport, which is used like this:>>> from kombu.connection import BrokerConnection
>>> c = BrokerConnection(transport="djkombu.transport.DatabaseTransport")InstallationYou can installdjango-kombueither via the Python Package Index (PyPI)
or from source.To install usingpip,:$ pip install django-kombuTo install usingeasy_install,:$ easy_install django-kombuIf you have downloaded a source tarball you can install it
by doing the following,:$ python setup.py build
# python setup.py install # as rootLicenseThis software is licensed under theNew BSD License. See theLICENSEfile in the top distribution directory for the full license text.
Package: django-kong-admin
docstestspackagecompatibilityA reusable Django App to manage a Kong service (https://getkong.org)=== HOWTO ===pipinstalldjango-kong-adminIn your Django Settings:INSTALLED_APPS=(....'jsonfield2',# Used in the models - https://github.com/DarioGT/django-jsonfield2'django_ace',# Used in the 'show_config' view - https://github.com/bradleyayers/django-ace'kong_admin'....)# Tweak to your own needsKONG_ADMIN_URL='http://localhost:8001'KONG_ADMIN_SIMULATOR=False# python-kong includes a simulator for testing purposes. You usually don't need that.In your base url patterns:urlpatterns=[....url(r'^admin/',include(admin.site.urls)),....# Optionally, add the following url, which is a view that displays the current kong config:url(r'^showconfig/','kong_admin.views.show_config')....]Run default Django management commands to get things workingpythonmanage.pymigratepythonmanage.pycollectstatic...Then you can go to your Django admin site, and the Kong Admin entities
will be manageable.I plan to add more documentation in the near future! If you want to
contribute to the library, be my guest!Changelog0.4.0 (2015-10-13)Updated Kong integration library (WARNING: Not backwards compatible!)Code cleanup0.3.9 (2015-10-07)Updated Kong integration library0.3.8 (2015-10-05)Updated help text in models0.3.7 (2015-09-29)Small fixes0.3.6 (2015-09-29)Fixed incorrect manifest0.3.5 (2015-09-29)Implemented validator for APIReference name field0.3.4 (2015-09-24)Fixed synchronization bug0.3.3 (2015-09-23)Now supporting ‘preserve_host’ and ‘strip_request_path’ options0.3.2 (2015-09-23)Bugfix0.3.1 (2015-09-22)Bugfix0.3.0 (2015-09-22)Update models to match python-kong 0.3.0 spec0.2.6 (2015-09-18)Bugfix0.2.5 (2015-09-17)Bugfix0.2.4 (2015-09-17)Bugfix in Plugins0.2.3 (2015-09-17)Bugfix0.2.2 (2015-09-14)Bugfix0.2.1 (2015-09-14)Bugfix0.2.0 (2015-09-09)Updated library to be compatible with Kong 0.5.x (WARNING: Not backwards compatible!)0.1.1 (2015-08-28)Bugfixes and cleanup0.1.0 (2015-08-26)First release on PyPI.
Package: django-kongoauth
# kongoauthA collection of utilities for implementing Kong OAuth with Django Rest Framework## Setting it up in your project:**Install:**```pip install ...```**Add to settings**```INSTALLED_APPS = [..'kongoauth',]```**Add DRF authentication class**```REST_FRAMEWORK = {...'DEFAULT_AUTHENTICATION_CLASSES': (...'kongoauth.authentication.KongOAuthAuthentication',),...}```**Optional settings*** `AUTH_REDIS_KEY`* `REDIS_CONN` # a dictionary with redis configs## Run the tests```docker-compose run --rm web python example/manage.py test```
Package: django-korean-fields
# django-jumin => django-korean-fields 로 진화중Django용 주민등록번호 필드 &amp; 위젯#### 기능- 주민번호 유효성 검사- 날자 유효성 검사(윤년 검사 포함)- 붙여 넣기 적당히 잘되게- 앞뒤 주민번호 이동- 앞자리 다쓰고 나서 고칠 때 짜증나게 자꾸 뒷자리로 날라가지 않음- 그 외 앵간한거 그냥 다 됨#### Demo![Demo](./demo/demo_small.gif)#### Exampleexample 폴더 참조## 의존성- Twitter bootstrap 3- jQuery- Django (2.0+만 테스트)- django-bootstrap-form 사용하면 좋음(안해도되고...)## 사용법INSTALL_APPS에 'jumin'추가``` pythonINSTALLED_APPS = ['jumin',...'my_app',...'django.contrib.admin```## model에서 사용 시```pythonfrom django.db import modelsfrom jumin.fields import JuminFieldclass YourEverythingModel(models.Model):name = models.CharField(u'실명', max_length=20)jumin = JuminField(u'내 주민번호')mom_jumin = JuminField(u'엄마 주민번호')dad_jumin = JuminField(u'아빠 주민번호')uncle_jumin = JuminField(u'삼촌 주민번호')your_secret = models.TextField(u'비밀정보')...```## form에서 사용 시```pythonclass TestForm(forms.Form):jumin = JuminFormField()another = CharField(label='test', max_length=10, required=False)```
Package: django-koui
django-koui===========A packaging of koui for django projects.To see what koui is, please visit the koui home page, at`http://hg.schinckel.net/koui <>`_.To use koui in your django project, simply add the following to your``settings.INSTALLED_APPS``:::'koui'And use ``pip install django-koui`` to install it into your environment.There will eventually be some helpers that enable you to easily add akoui widget to a page, but since knockoutjs is cool, you'll probablywant to learn more about that, and then just use the special bindingtypes that you get.::{% load koui %}{% koui_scripts %}{% koui_styles %}