Saravanan666/pypi-org huggingface dataset:
Package: django-country-dialcode-sb
Major code is taken fromhttp://github.com/Star2Billing/django-country-dialcodeThis Django application provides Dial Code and Country data to reuse in a django application.InstallationInstall Django-Country-Dialcode:python setup.py installSettingsin your settings.py file:INSTALLED_APPS = INSTALLED_APPS + ('country_dialcode',)UsageIn your models add the followingdialcode = models.ForeignKey(Prefix, verbose_name=_("Destination"), null=True,
                           blank=True, help_text=_("Select Prefix"))
Package: django-country-filter
DJANGO COUNTRY FILTERDjango middleware is an application access filter from the country of the request. The idea that you can do an access control directly in the application, without the need for a firewall or other resource, because often the applications are for country-specific use without many complexities.Installation and useThe use of middleware is very simple, just install the middleware via pip and configure it in the application.$pipinstalldjango_country_filterIn thesettings.pyfile of the Django application, just insert the following line in theMIDDLEWAREconfiguration.Need toDJANGO_COUNTRY_FILTER_PROVIDERandDJANGO_COUNTRY_FILTER_COUNTRIESconfigurations.MIDDLEWARE = {
    'django_country_filter.DjangoCountryFilterMiddleware',
    ...
}

DJANGO_COUNTRY_FILTER_PROVIDER = 'ip2c' # But you can create your provider.
DJANGO_COUNTRY_FILTER_COUNTRIES = ['BR'] # Only Brazil access application.How to help in development?You can help improve the code, improve the documentation and also implement new providers. To help, just keep the tests integral.Environment$python-mvenv.env
$source.env/bin/activate
$pipinstall-rrequirements/development.txt
$pytest
Package: django-country-regions
django-country-regionsA simple app providing two models app providing countries and regions extracted fromdjango-cities-lightRequirements:Python >= 3.6Django >= 1.11MySQL or PostgreSQL or SQLite.Installation and configurationInstall django-country-regions:pip install django-country-regionsAdd django-country-regions to your project's settings.INSTALLED_APPS#settings.pyINSTALLED_APPS=[#...some packages'country_regions',#...some packages]Then run the full importThis command will create the corresponding tables and load the data into the databaseexample/manage.pymigrateAuthor(s)@afranck64
Package: django-counts-ds
django-counts_dsdjango-counts_ds is a Django app to use for demiansoft.Quick startAdd "counts" to your INSTALLED_APPS setting like thisINSTALLED_APPS=[...'counts',]코드를 넣고자 하는 위치에 다음을 추가 한다.{% load counts_tags %}
{% make_counts %}context example# 문자열을 | 으로 나누면 medicio 템플릿에서 나눠서 사용한다.context={"theme":"mentor_ds","counts":[["fa-map-pin","누적 임플란트 식립|임플란트는 어떻게",17862,"#link"],["fa-thumbs-up","누적 교정 케이스|교정은 어떻게",3345,"#link"],["fa-user-md","의료진",3,"#link"],["fa-tooth","누적 사랑니 발치",16678,"#link"]],}Required vendor - purecounter
Package: django-coupon-management
django-coupon-managementA Django app that makes the use of coupon management and easy to handle!django-coupon-management is a coupon management to use of coupons validity and to boost your website.Downloadingdjango-coupon-management is available on The Python Package Index (PyPI). You can simply usepipto install it:$pipinstalldjango-coupon-managementInstalling1 - Addcoupon_managementinside INSTALLED_APPS in settings.py:INSTALLED_APPS=[...'coupon_management',]2 - (Optional) If you want to use more than 12 chars (default) for your coupon code, addDSC_COUPON_CODE_LENGTHvariable in settings.py:DSC_COUPON_CODE_LENGTH=163 - Run the migrations:$pythonmanage.pymakemigrations
$pythonmanage.pymigrateAnd that's it! django-coupon-management should appear in your admin asCoupon Managements.Changeloghttps://github.com/krishnaansh/django-coupon-management/blob/master/CHANGELOG.txtDocumentationhttps://github.com/krishnaansh/django-coupon-management/blob/master/docs/README.mdDownloadhttps://github.com/krishnaansh/django-coupon-management/archive/refs/tags/v1.2.zip
Package: django-coupons
#django-coupons![build status](https://travis-ci.org/byteweaver/django-coupons.png)A reuseable Django application for coupon gereration and handling##Contributors(alphabetical order)* @akuryou* @ikresoft* @noxan* @TigerDX* @TimFletcher##Changelog###V 1.1.0* campaignsCoupons may now be associated with campaigns for better tracking* segmented coupon codesCoupon codes may now be segmented like "xxxx-xxxx-xx"New settings (defaults):* COUPONS_SEGMENTED_CODES (False)* COUPONS_SEGMENT_LENGTH (4)* COUPONS_SEGMENT_SEPARATOR ("-")* prefixes for coupon codesCoupons may now be auto prefixed upon creation* expiration date for couponsCoupons can now expire, see valid_until field* migrations for south and django 1.7+ included* django 1.8 now officially supported* minor fixes###V 1.0.4redeem_done signal###V 1.0.3Typo and CouponForm fix.###V 1.0.2Fixed Typo in settings.* COUPNS_CODE_LENGTH -> COUPONS_CODE_LENGTH* COUPNS_CODE_CHARS -> COUPONS_CODE_CHARS*Check your settings after updating!*###V 1.0.1add django 1.7 migrations and south legacy migrations###V 1.0.0Supports:* django 1.4 - 1.7* python 2.7, 3.4
Package: django-courier
Django courier is a django app that allow you to create and issue
different types of notifications. Notifications can have different
kinds of parameters which allow for convenient editing in the admin.Why this existsTLDR: Because I am lazy and I don’t want to spend my evening doing
a deploy just because marketing wants to update the text in their
latest spam mail.In a few more words:Editing copy for notifications shouldn’t have to be done by programmers.
This means:The notification templates should be editable in the adminThe information necessary to correctly make a template, whether
it’s a template ID or parameters) should be available in the admin
page. It shouldn’t be necessary to look through source code just to
make a notification work.Number 2 is actually a fairly difficult problem.People have different ways of interacting with computers, and one
way of doing notifications (i.e. email) doesn’t always make sense.Added to that, sending a text message that’s as verbose as an HTML
email is simply ridiculous. Each medium begets its own kind of
content.Since, as we mentioned earlier, content should be manageable
by non-programmers, the different ways of sending messages should
be manageable by non-programmers.I want it, stat!Well, why don’t you just head over tothe documentationand we’ll
get you started. A word of warning, it’s not super simple to setup, but
it’s worth it.
Package: django-courriers
A generic application to manage your newslettersWhat it does?django-courriers has three models:NewsletterListwhich represents a newsletter listNewsletterwhich represents a newsletterNewsletterIteman item of a newsletter. It could be a content-typeNewsletterSubscriberwhich represents a user who is subscribed to a newsletterYou have the choice between three backends to manage and send your emails:SimpleBackend, a simple backend to send emails with Django and
your current smtp configurationMailJetBackend, aMailjetbackend which usesmailjet libraryInstallationDownload the package onGitHubor simply install it via PyPiAddcourriersto yourINSTALLED_APPSINSTALLED_APPS = (
    'courriers',
)Sync your database usingsyncdbcommand from django command lineConfigure settingsYou have to specify which backend you want to use in your settingsCOURRIERS_BACKEND_CLASS = 'courriers.backends.simple.SimpleBackend'A quick reminder: you can also set your customDEFAULT_FROM_EMAILin Django settings.Backendscourriers.backends.simple.SimpleBackendA simple backend to send your emails with Django and
your current smtp configurationcourriers.backends.mailjet.MailjetBackendA backend to manage your newsletters with Mailjet.What you need to do for mailjetCreate an account on MailjetGet your API key and API Secret keyAdd it to your settings with others options as described belowInstall themailjet libraryCreate a list or more if you have users
from different countriesWith this backend you have to provide additional settingsCOURRIERS_MAILJET_API_KEY = 'Your API key'
COURRIERS_MAILJET_API_SECRET_KEY = 'Your API Secret key'
COURRIERS_DEFAULT_FROM_NAME = 'Your name'
Package: django-courses
Courses is a simple Django app to manage online courses (education). Appliaction is already used by civic associationSPy o.z.(non-profit) for project “Teaching with hardware” in Slovak “Učíme s hardvérom”:https://kurzy.ucimesharverom.skProject “Učíme s hárverom” is run in Slovak language (how ever this app is in English, but has Slovak translations)
and is aimed for Slovak teachers to introduce hardware (such asBBC microbit) into computing
lessons at primary and secondary schools.Quick startInstall django-courses via pip:pip install django-coursesAlternatively install latest development version from Github:pip install https://github.com/vault19/django-courses/archive/refs/heads/main.zipAdd “courses” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'courses',
]Include the polls URLconf in your project urls.py like this:path("", include("courses.urls")),Runpython manage.py migrateto create the courses tables in DB.Start the development server and visithttp://127.0.0.1:8000/admin/to manage your courses (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/to view the courses list.TestingApp is using Django’s build in test framework. However, there are only a few tests :(In order to run tests execute command (in your project):python manage.py testSupportVault19 o.z.(non profit micro hackerspace) did this app becauseSPy o.z.(non profit supporting Slovak Python community) needed something for better
management of their courses. We like to program and we wanted to design a cleanDjangoapp and learn one or two things in the process…
Package: django-covid19
新冠肺炎实时接口由于现在疫情高发地已从国内转向国外，所以本项目也会逐渐增加数据源以便提供关于*国外某国某州（某省）*的疫情数据接口。现已新增美国各州最新疫情以及各州每日疫情统计接口，可前往中国各省、美国各州接口查看接口文档。项目文档本项目使用开源文档工具docsify编写了一份开发文档。文档将如何安装部署本项目作了详细的描述，开发者可根据自身需求搭建一个属于个人
的新冠肺炎实时接口，并通过项目提供的爬虫工具实时、定时的更新疫情数据，追踪
疫情的最新情况。如果开发者本身没有个人的云服务器用来部署本项目，也可以直接调用本项目已部署好
的实时接口，可用于科研、娱乐、教学等各方面。在线大屏根据已部署的疫情在线接口，并结合使用开源数据大屏项目中的示例代码，本项目提
供了一个使用本项目接口的数据大屏示例。问题相关有任何问题欢迎在 github 中提 issue，或者在文档页面的最后提交评论，我会尽快解答。推荐使用评论方式提问；推荐使用 isuss 提交 bug；致谢ccjhpu：在issues-8中提出了加入各国各州的需求以及数据来源。致各位如果本项目对你有所帮助，请在此处留下你的项目地址。
Package: django-cowhite-blog
# django-cowhite-blog
A simple blog. We try to make it simple so we can upgrade to latest Django versions as soon as they come so its easy for developers to implement a blog fast in their project.[![Build Status](https://travis-ci.org/cowhite/django-cowhite-blog.svg?branch=master)](https://travis-ci.org/cowhite/django-cowhite-blog)
[![Coverage Status](https://coveralls.io/repos/github/cowhite/django-cowhite-blog/badge.svg?branch=master)](https://coveralls.io/github/cowhite/django-cowhite-blog?branch=master)Installation:pip install django-cowhite-blog
Package: django-cowhite-cms
# django-cowhite-cmsA simple Django cms. Only pages available as of now.[![Build Status](https://travis-ci.org/cowhite/django-cowhite-cms.svg?branch=master)](https://travis-ci.org/cowhite/django-cowhite-cms)
[![Coverage Status](https://coveralls.io/repos/github/cowhite/django-cowhite-cms/badge.svg?branch=master)](https://coveralls.io/github/cowhite/django-cowhite-cms?branch=master)Installation:pip install django-cowhite-cms
Package: django-cpf
CPF Field para usar nos seus Models e ModelFormsEssa é uma implementação simples e enxuta de validadores para CPF de usuários.Caso alguma coisa deixe de funcionar nas próximas versões do Django, não me comprometo em manter a biblioteca.Instalaçãopip install django-cpfAdicione a aplicaçãocpf_fieldentre a suas apps e as apps do django.INSTALLED_APPS=[# Django apps'cpf_field',# My Apps]Como utilizar:No seu arquivo demodels.py, importe oCPFFielde insira no seu atributo de classe.fromdjango.dbimportmodelsfromcpf_field.modelsimportCPFFieldclassMyModel(models.Model):# ....cpf=CPFField('cpf')O CPFField é derivado demodels.CharFielde vem inicializado, por padrão, com omax_length=14.CPFs inválidosCPFs que são considerados inválidos para oCPFFieldsão aqueles que:Não possuem 11 números.O cálculo dos digitos verificadores não bate com os digitos informados.Exemplos de CPFs inválidosfrom.formsimportClientFormform=ClientForm()form.cpf='12312312312'# inválidoform.cpf='123.123.123-12'# inválidoform.cpf='ABC12312312'# inválidoform.cpf='ABC.123.123-12'# inválidoCPF válidosOs CPFs válidos são aqueles que:Possuem 11 números.O cálculo dos digitos verificadores bate com os digitos informados.ObservaçõesOCPFFieldvalida o CPF com ou sem máscara.Então, os CPFs nos formatosXXXXXXXXXXXeXXX.XXX.XXX-XXsão válidos.Se você precisa que seu CPF seja salvo num formato específico (sem máscara, por exemplo) você tem que implementar o
métodoclean_cpfno seuModelForm, para formatar o valor enviado pelo usuário.
Package: django-cpf-cnpj
A Django library for working withcpfandcnpjfields.InstallationInstall from pypi:pip install django-cpf-cnpjInstall from git:pip install git+https://github.com/flavianogjc/django-cpf-cnpj.gitBasic usageAdd thedjango_cpf_cnpjapp between your apps and django apps:INSTALLED_APPS = [
    ...
    'django_cpf_cnpj',
    ...
]Then, you can use it like any regular model field:from django_cpf_cnpj.fields import CPFField, CNPJField
from django.db import models

class MyModel(models.Model):
    cpf = CPFField(masked=True)  # To enable auto-mask xxx.xxx.xxx-xx
    cnpj = CNPJField(masked=False)  # To disable auto-mask xx.xxx.xxx/xxxx-xxRunning testsCheck tests with tox:toxCheck a specific combination:tox -e py38-django22
Package: django-cpf-cnpj2
A Django library for working withcpfandcnpjfields.InstallationInstall from pypi:pip install django-cpf-cnpjInstall from git:pip install git+https://github.com/elyasha/django-cpf-cnpj2.gitBasic usageAdd thedjango_cpf_cnpjapp between your apps and django apps:INSTALLED_APPS = [
    ...
    'django_cpf_cnpj',
    ...
]Then, you can use it like any regular model field:from django_cpf_cnpj.fields import CPFField, CNPJField
from django.db import models

class MyModel(models.Model):
    cpf = CPFField(masked=True)  # To enable auto-mask xxx.xxx.xxx-xx
    cnpj = CNPJField(masked=False)  # To disable auto-mask xx.xxx.xxx/xxxx-xxRunning testsCheck tests with tox:toxCheck a specific combination:tox -e py38-django22
Package: django-cpffield
cfp-fieldThis is a test implementatipon of the CPF Validation as part of
the “MÃ£o na Massa” proposal of the 4th module of Welcome to the Django
training (http://welcometothedjango.com.br/).Como instalar?pip install django-cpffieldAdd “cpffield” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'cpffield',
]Como utilizar dentro de um model.py no django?fromdjango.dbimportmodelsfromcpffieldimportcpffieldclassMyModel(models.Model):cpf=cpffield.CPFField('CPF',max_length=14)
Package: django-cprofile-middleware
django-cprofile-middlewareThis is a simple profiling middleware for Django applications. I wrote it because I got tired of printing "start" "stop" "stop 2" in my programs to find the bottlenecks.I found a simple example on @dcramer'sslideshareand modified it to support sorting.Installing$pipinstalldjango-cprofile-middlewareThen adddjango_cprofile_middleware.middleware.ProfilerMiddlewareto the end yourMIDDLEWAREin settings.py. This option was calledMIDDLEWARE_CLASSESin versions of Django before1.10.For example:MIDDLEWARE_CLASSES=('django.middleware.common.CommonMiddleware','django.contrib.sessions.middleware.SessionMiddleware','startup.do.work.FindProductMarketFitMiddleware',...'django_cprofile_middleware.middleware.ProfilerMiddleware')The profiler will only be available when the Django settingDEBUGis set toTrue. By default it's also required to be an authenticated user withis_staffset toTruewhich is making the request to be profiled. Theis_staffcheck can be configured as follows:DJANGO_CPROFILE_MIDDLEWARE_REQUIRE_STAFF=FalseRunning & Sorting ResultsOnce you've installed it, log in as a user who has staff privileges and add?profto any URL to see the profiler's stats. For example to see profile stats forhttp://localhost:8000/foo/, visithttp://localhost:8000/foo/?prof.You can also pass some options:count:The number of results you'd like to see. Default is 100.sort:The field you'd like to sort results by. Default istime. For all the options you can pass, see thedocs for pstats.download:Download profile file, that can be visualized in multiple viewers, e.g.SnakeVizorRunSnakeRunEnjoy!Email me with any questions:omar.bohsali@gmail.com.
Package: django-cpserver
cpserver is a Django application, which is intended to solve simple, yet useful
task: run your Django project under CherryPy webserver. It contains two
commands:runcpdebug, which outputs information about each request (in format,
similar to Apache’saccess_log). It is useful as replacement for regularrunservercommand.runcpserver, which is quite silent (it only tells you configuration after
starting). It is useful for running as backend for Nginx or HAProxy or
whatever you’d like to use.InstallationIt’s quite simple: putcpserverdirectory under your Python’s sys.path (in
site-packages or in your Django project tree structure) and add‘cpserver’toINSTALLED_APPSsetting.ThanksThanks to DjangoCerise project, from which I’ve taken initial code.
Package: django-cpserver-op
RequirementsCherryPyInstallationPutdjango_cpserveron yourPYTHONPATH.Adddjango_cpserverto yourINSTALLED_APPS.UsageRun./manage.py runcpserver helpfrom within your project directoryAcknowledgementsIdea and code snippets borrowed fromLoic d’Anterroches, adapted to run as a management commandModificationsThis version is mantained by Manuel Naranjo < manuel at aircable dot net > mail
him for modifications questions.
Package: django-cpss-facebook
🛠 Status: In Developmentdjango-cpss-facebook currently in development.Python Facebook API - DjangoDescriptionThis is theDjangocomponent that helps to integrate aspects of facebook into your applicationDjango versionThis project will focus on the currently supported Django releases as
stated on theDjango Project Supported Versions table.Backward compatibility with unsupported versions won't be enforced.DocumentationProject documentation is available at TBP.SetupAdd "django-cpss-facebook" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [
        ...
        'cpss_facebook.CPSSFacebookConfig',
    ]Runpython manage.py migrateto create the django-cpss-facebook models.ContributingSee theCONTRIBUTING.mddocument for details.VersioningThis project followsSemantic Versioning 2.0.0.LicenseThis project follows the Apache license. See theLICENSEfor details.
Package: django-cpss-twitter
🛠 Status: In Developmentdjango-cpss-twitter currently in development.Python Twitter API - DjangoDescriptionThis is theDjangocomponent of thePython Twitter Tools project,
it implements the needed functionality to integratePython Twitter Toolsin a Django based project.Django versionThis project will focus on the currently supported Django releases as
stated on theDjango Project Supported Versions table.Backward compatibility with unsupported versions won't be enforced.DocumentationProject documentation is available at TBP.SetupAdd "django-cpss-twitter" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [
        ...
        'twitter-django.CPSSTwitterConfig',
    ]Include the django-cpss-twitter URLconf in your project urls.py like this::path('twitter/', include('django-cpss-twitter.urls')),Runpython manage.py migrateto create the django-cpss-twitter models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a client config (you'll need the Admin app enabled).Visithttp://127.0.0.1:8000/twitter/ContributingSee theCONTRIBUTING.mddocument for details.VersioningThis project followsSemantic Versioning 2.0.0.LicenseThis project follows the Apache license. See theLICENSEfor details.
Package: django-cpss-vimeo
🛠 Status: In Developmentdjango-cpss-vimeo currently in development.Python Vimeo API - DjangoDescriptionThis is theDjangocomponent of thePyVimeo project,
it implements the needed functionality to integratePyVimeoin a Django based project.Django versionThis project will focus on the currently supported Django releases as
stated on theDjango Project Supported Versions table.Backward compatibility with unsupported versions won't be enforced.DocumentationProject documentation is available at TBP.SetupAdd "django-cpss-vimeo" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [
        ...
        'cpss_vimeo.apps.CPSSVimeoConfig',
    ]Include the django-cpss-vimeo URLconf in your project urls.py like this::path('vimeo/', include('django-cpss-vimeo.urls')),Runpython manage.py migrateto create the django-cpss-vimeo models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a poll (you'll need the Admin app enabled).Visithttp://127.0.0.1:8000/vimeo/ContributingSee theCONTRIBUTING.mddocument for details.VersioningThis project followsSemantic Versioning 2.0.0.LicenseThis project follows the Apache license. See theLICENSEfor details.
Package: djangocraft
djangocraftA Powerfull project setup tooldjangocraft is a very powerfull and easy way to set up your Django projectIt is really helpful for developers when they are going to start a new project or when they are in hackathons. With a few simple inputs you can set up your whole project in less than 10 seconds and have a pre built authentication with it.FeaturesWith a one line command you can set up your whole projectYou get a Pre-build Authentication system with just one commandAuthentication system personalized according to user inputDjango is a python based web framework and is used by various big companies around the world.Techdjangocraft uses python and a lot of packages like:Typer[all]SubprocessShutilosAuthors@YashRajDocumentationDocumentationcommands:djangostartauth:djangocraft djangostartauth {project_name} {authentication_app_name}project_name: Enter the name of the project in djangoauthentication_app_name : Enter the name of the application which you want the authentication part to haveHit EnterYou are asked for the number of inputs you want to take from user in the registration pageEnter the number of fields and enter their names (Also ensure they are from below pool of options)[
username,
first_name,
last_name,
email,
age,
]You get a pre-built authentication according to your field choices.djangoforpro:djangocraft djangoforpro {project_name}project_name: Enter the name of the project in djangoHit EnterYou get a quick setup for the project.Github for projectSource code :https://github.com/YashRaj1506/djangocraft_cli
Package: django-crash-course
Crash Course is a Django app to create an online course generation website.Each course can contain multiple chapters and each chapter can contain multiple sections.The section contains actual content in form of text and images.Quick startAdd “crash_course” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'crash_course',
]Include the polls URLconf in your project urls.py like this:path('crash_course/', include('crash_course.urls')),Runpython manage.py migrateto create the crash course models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a crash course (you’ll need the Admin app enabled).
Package: django-crawfish
Django CrawfishThis project contains a collection of code I re-use for most of my Django projects and is not [yet] well suited
for public consumption.Documentationhttps://crawfish.readthedocs.io/en/latestInstallationpipinstalldjango-crawfishDevelopmentInstall package dependencies:pipinstall-e.Install dev dependencies:pipinstall-e'.[dev]'Run tests:pythonruntests.pyBuilding DocumentationMove to the docs directory:cddocs/Build the documentation (must have dev dependencies installed):makehtml