Saravanan666/pypi-org huggingface dataset:
Package: django-f-awesome
==================django-fa disclaimer==================This package is basically a `django-fontawesome <https://github.com/atiberghien/django-fontawesome>`_ fork with support of latest django, uploaded to PyPi.Reason of creating this repo was sadly ignored `merge request <https://github.com/redouane/django-fontawesome/pull/32>`_.All the credits goes to authors of source repository and merge request.Requirements============- PyYAML- Select2 (included)- JQuery (uses django's jquery in admin panel)Settings========By default, django-fontawesome ships with and uses the lastest fontawesome release.You can configure django-fontawesome to use another release/source/cdn by specifying::# default uses locally shipped version at 'fontawesome/css/font-awesome.min.css'FONTAWESOME_CSS_URL = '//cdn.example.com/fontawesome-min.css'  # absolute urlFONTAWESOME_CSS_URL = 'myapp/css/fontawesome.min.css'  # relative urlYou can also tell it the fontawesome prefix, which as of right now is 'fa', using::FONTAWESOME_PREFIX = 'bg'  # default is 'fa'Installation / Usage====================0. Install via pip::pip install django-fa1. Add 'fontawesome' to your installed apps setting like this::INSTALLED_APPS = (...'fontawesome',)2. Import and use the ``IconField``::from fontawesome.fields import IconFieldclass Category(models.Model):...icon = IconField()Here's what the widget looks like in the admin panel:|admin-widget|3. You can then render the icon in your template like this::{% for category in categories.all %}{% if category.icon %}{{ category.icon.as_html }}{% endif %}{% endfor %}4. django-fontawesome ships with two template tags, ``fontawesome_stylesheet`` and ``fontawesome_icon``.- the former inserts a stylesheet link with a pre-configured href according to the ``FONTAWESOME_CSS_URL`` setting- the latter renders icons, and accepts the following optional keywords arguments: large, spin, fixed, li, border: (true/false), rotate: (90/180/270), title: (string)- you can also colorize an icon using the ``color='red'`` keyword argument to the ``fontawesome_icon`` template tag- example usage::{% load fontawesome %}<head>{% fontawesome_stylesheet %}...</head>{% fontawesome_icon 'user' color='red' %}{% fontawesome_icon 'star' large=True spin=True %}<ul class="fa-ul"><li> {% fontawesome_icon 'home' rotate=90 li=True %} One</li></ul>.. |admin-widget| image:: docs/images/admin-widget.png
Package: django-fbauth
# django-fbauthSimple facebook auth for Django.## InstallationClone the source code or usepip:pip install django-fbauth## SetupAdd URL-patterns:url(r’^’, include(‘chimbotedev.apps.fbauth.urls’)),Opensettings.pyand add‘fbauth’to yourINSTALLED_APPS:‘fbauth’,Define the following settings in yoursettings.pyfile:FACEBOOK_API_KEY = ""
FACEBOOK_SECRET = ""## UsageLogin:{% url ‘fb_login’ %}Logout:{% url ‘fb_logout’ %}
Package: django-fbauth-templatetag
fbauth======Requirements============* Django 1.6+Installation============pip install django-fbauth-templatagTesting=======You can try out fbauth using the installed demo included in the project. Justrun the `runserver` command to look at the demo.Instructions============Load the `fbauth` template-tag library into your template, then call`fbauth_css` inside your `head` tag and call the `fbauth_button` wherever youwant the Facebook button to be rendered.E.g.```django{% load fbauth %}<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>My App</title>{% fbauth_css %}</head><body>{% fbauth_button %}</body></html>```Configure the `FBAUTH_FACEBOOK_APP_ID` variable in you `settings` module withyou Facebook app ID.Configure the `FBAUTH_REDIRECT_URL` variable in your `settings` module with theurl that should be receiving the access token from facebook. Sometimes it's moreconvinient to put it inside the `__init__` module of your app so that you cantake advantage of Django's `reverse` function.There's also a `FBAUTH_FACEBOOK_LOCALEL` variable which you can use to specifyan ISO-15897 (also know as POSIX locale) locale for the Facebook API. Users ofyour project will see the Facebook UI translated in the locale you specify. Thedefault locale is `en_US`.E.g.```python# demo/__init__.pyfrom django.core.urlresolvers import reversefrom django.conf import settingssetattr(settings, 'FBAUTH_REDIRECT_URL',reverse('demo:redirect') + '?access_token={0}')```Remember that your redirection URL should include the format token `{0}` toindicate where Facebook's access token should be written.
Package: django-fbbot
fbbot is a simple Django app to showcasing the Messenger Platform, make your facebook bot with djangoQuick startNote. If yo don’t have a https server and domain. For development purposes I use NGROK, a good “Secure tunnels to localhost” service ( url:https://ngrok.com/ ):> Download ngrok binary https://ngrok.com/download
> execute ./ngrok http 8000
> Copy url like '12345678.ngrok.io'Clone this repo and install the requeriments:git clone https://github.com/espacioAntonio/Django-messenger-platform-bot.git
cd Django-messenger-platform-bot
pip install -r requirements.txtAdd your valid settings in ./fbbot/settings.py:FB_PAGE_TOKEN = "FACEBOOK_PAGE_TOKEN"
FB_VERIFY_TOKEN = "VERIFY_TOKEN_DEFINED_BY_DEVELOPER"
REAL_URL = "URL_PROVIDED_BY_NGROK" #example: 12346578.ngrok.io or www.yourdomain.comRun:python manage.py runserver 8000Suscribe your new webhook in your Facebook App:WEBHOOK
URL Callback: https://YOUR_REAL_URL/fbbot/webhook
Verify Token: "VERIFY_TOKEN_DEFINED_BY_DEVELOPER"Visithttp://127.0.0.1:8000/fbbot/webhookand see “Hello World, webhook enable” message.Send a message to your facebook page or send this messages:image
gif
audio
file
button
generic
receipt
quick reply
read receipt
typing on
typing off
account linkingIntegrate this app with your Django AppInstall the django-fbbot package with python-pip:pip install django-fbbotAdd your valid tokens in your settings file mysite/settings.py:FB_PAGE_TOKEN = "FACEBOOK_PAGE_TOKEN"
FB_VERIFY_TOKEN = "VERIFY_TOKEN_DEFINED_BY_DEVELOPER"
REAL_URL = "URL_PROVIDED_FOR_NGROK" #example: 12346578.ngrok.io or www.yourdomain.com
BASE_URL = "https://"+REAL_URLAdd “fbbot” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'fbbot',
]Include the fbbot URLconf in your project urls.py like this:url(r'^fbbot/', include('fbbot.urls')),Runpython manage.py collectstaticto collect files to test.Start the development server and visithttp://127.0.0.1:8000/fbbot/webhookVisithttp://127.0.0.1:8000/fbbot/webhookand see “Hello World, webhook enable”Send a message to your facebook page or send this messages:image
gif
audio
file
button
generic
receipt
quick reply
read receipt
typing on
typing off
account linkingUninstallIf you want to uninstall this package run:pip uninstall django-fbbotRemove “fbbot” in your INSTALLED_APPS setting:INSTALLED_APPS = [
    ...
    'fbbot',
]Remove the fbbot URLconf in your project urls.py:url(r'^fbbot/', include('fbbot.urls')),
Package: django-fbrealtime
=================django-fbrealtime=================A simiple django app to integrate with facebook realtime updates.Requirements============django 1.4 or laterInstallation============1. ''pip install django-fbrealtime''2. Add 'fbrealtime' to your list of INSTALLED_APPS in settings.py3. Add FACEBOOK_API_SECRET FACEBOOK_VERIFY_TOKEN to settings.py4. Add url(r'', include('fbrealtime.urls')), to URLConfUse===Subscribe to fbrealtime.signals.data_imported signalfrom django.dispatch import receiverimport fbrealtime.signals.fb_update@recciver(fbrealtime.signals.fb_update)def fb_update_handler(sender, **kwargs):# update is a dictionary of updates from facebookupdate = kwargs.get('update')...
Package: django-fbv
django-fbvUtilities to make Django function-based views cleaner, more efficient, and better tasting. 💥📖 Complete documentation:https://django-fbv.readthedocs.io📦 Package located athttps://pypi.org/project/django-fbv/Featuresdecoratorsfbv.decorators.render_html: decorator to specify the template that a view function response should use when renderingfbv.decorators.render_view: decorator to specify the template and content type that a view function response should use when renderingfbv.decorators.render_json: decorator to automatically render dictionaries, Django Models, or Django QuerySets as a JSON responseviewsfbv.views.html_view: directly render a template fromurls.pyfbv.views.redirect_view: redirect to a pattern name fromurls.pyfbv.views.favicon_file: serve an image file as the favicon.icofbv.views.favicon_emoji: serve an emoji as the favicon.icomiddlewarefbv.middleware.RequestMethodMiddleware: adds a boolean property to therequestfor the current request's HTTP methodRead all of the documentation athttps://django-fbv.readthedocs.io/.
Package: djangoFCM
djangoFCMv0.1.0Django app which stores, manages FCM push tokens and interacts with them.DescriptiondjangoFCMis Django-compatible application which stores FCM push tokens,
their parameters, and automates push notifications routines.Main feature is fordjangoFCMto be a "plug-in" Django application, thus capable to
work with "little-to-no" configuring and changes to Django project.FeaturesdjangoFCM@v0.1.0can:store push tokensstore push tokens` arbitrary parameters with types:foreign keystore push notificationssend scheduled push notificationscompose recipients for push notifications based on user-specified conditionsUsage exampleTODOsample_projectsample-projectis a showcase django project.
You can reference to it for usage cases, examples, testing.
You must never deploysample_projectin production due to exposedSECRET_KEY.Getting StartedDependenciesSystem dependenciesIn means of automatisation,djangoFCMheavily relies oncelery(viadjango-celery-beat), thus it is your task
to provideceleryandcelerybeatprocesses and message broker (e.g.rabbitMQ).Python packagesdjango~=3.2.8might work on lesser versions, not testeddjango-celery-beat~=2.2.1might work on lesser versions, not testedpyfcm~=1.5.4might work on lesser versions, not testedDjango applicationsdjango_celery_beatInstallingUsing Python Package Indexmake sure to use latestpip:python3-mpipinstall--upgradepipinstalldjangoFCM:python3-mpipinstalldjangoFCMOR download package from releasesdownload release asset (.tar.gzor.whl)make sure to use latestpip:python3-mpipinstall--upgradepipinstalldjangoFCMfrom file:python3-mpipinstall/path/to/downloaded/asset.tar.gz# or .whlOR clone from repositoryclone project:gitclone\--depth=1\--branch=master\git@github.com:omelched/djangoFCM.git\</path/to/downloads>move/djangoFCM/djangoFCMsolely to folder containing django appsmv</path/to/downloads>/djangoFCM/djangoFCM\</path/to/django/project/apps>remove leftoversrm-rf</path/to/downloads>/djangoFCMConfiguringInstalling applicationAdddjangoFCMtoINSTALLED_APPSin your Django projectsettings.py.If you installed packagethe third way,</path/to/django/project/apps>must be added toPYTHONPATH. If you not sure add code below in your Django projectmanage.pybefore callingmain():sys.path.append('</path/to/django/project/apps>')Provide FCM api key viaDJANGOFCM_FCM_API_KEYin your Django projectsettings.py.CeleryMake sure to point celery todjangoFCM.tasks.send_push_notificationtask.
Useapp.autodiscover_tasks()in yourceleryappmodule or specify in settings:CELERY_IMPORTS=('djangoFCM.tasks',)Provide Celery worker to execute tasks, e.g:venv/bin/celery-Asample_projectworker-lINFOOfficialdocumentationmay help.CelerybeatProvide Celery beat to start scheduled tasks, e.g:venv/bin/celery-Asample_projectbeat-lINFO--schedulerdjango_celery_beat.schedulers:DatabaseSchedulerOfficialdocumentationon custom schedulers.Authors@omelched(Denis Omelchenko)ContributorsChangelistdjangoFCMversion history and changelist available atreleasespage.LicenseThis project is licensed under theGNU APGLv3License - see theLICENSEfile for details.AcknowledgmentsInspiration, code snippets, etc.
Package: django-fcm
django-fcm==========.. image:: https://badge.fury.io/py/django-fcm.svg:target: https://badge.fury.io/py/django-fcmFirebase Cloud Messaging Server in DjangoQuickstart----------Install the package via ``pip``::pip install django-fcm  --process-dependency-linksAdd ``fcm`` to ``INSTALLED_APPS`` in ``settings.py``.. code-block:: pythonINSTALLED_APPS = [....,fcm]Add ``FCM_APIKEY`` to ``settings.py`` file:.. code-block:: pythonFCM_APIKEY = "<api_key>"Add ``fcm urls`` to ``urls.py`` file:.. code-block:: pythonurlpatterns = [...url(r'', include('fcm.urls')),...]Python 3 support----------------``django-fcm`` is fully compatible with Python 3.4 & 3.5Django Support----------------``django-fcm`` is fully compatible with Django 1.8, 1.9 and 1.10Django Rest Framework----------------``django-fcm`` is fully compatible with django-rest-framework 3.3.2.Documentation: `https://django-fcm.readthedocs.org <https://django-fcm.readthedocs.org>`_
Package: django-fcm-http
Django fcm http is a Django app to send push notifications to android, ios devices and web applications.Detailed documentation is in the “docs” directory.Quick startFirst, install with pip:python -m pip install django-fcm-httpAdd “django_fcm_http_v1” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'django_fcm_http_v1',
]Create a firebase project and download the service_file.json file.Notice: Make sure you add the file in the root of your project.Add “FCM_SERVICE_FILE_PATH” to your settings.py like this:FCM_SERVICE_FILE_PATH = '/path/to/service/file.json'Runpython manage.py migrateto create a device model.Start the development server and visithttp://127.0.0.1:8000
Package: django-fcm-vp
django-fcm==========.. image:: https://badge.fury.io/py/django-fcm.svg:target: https://badge.fury.io/py/django-fcmFirebase Cloud Messaging Server in DjangoQuickstart----------Install the package via ``pip``::pip install django-fcm  --process-dependency-linksAdd ``fcm`` to ``INSTALLED_APPS`` in ``settings.py``.. code-block:: pythonINSTALLED_APPS = [....,fcm]Add ``FCM_APIKEY`` to ``settings.py`` file:.. code-block:: pythonFCM_APIKEY = "<api_key>"Add ``fcm urls`` to ``urls.py`` file:.. code-block:: pythonurlpatterns = [...url(r'', include('fcm.urls')),...]Python 3 support----------------``django-fcm`` is fully compatible with Python 3.4 & 3.5Django Support----------------``django-fcm`` is fully compatible with Django 1.8, 1.9 and 1.10Django Rest Framework----------------``django-fcm`` is fully compatible with django-rest-framework 3.3.2.Documentation: https://django-fcm.readthedocs.org
Package: django-feather
Django FeatherA simple Tag ({% icon "name" %}) to implementFeather Iconsin Django.InstallInstalldjango-featherusingpipand put it into yourINSTALLED_APPS:pipinstalldjango-feathersettings.py:INSTALLED_APPS=[# ...'django_feather',# ...]UsageAfter installation, the tag can be used just like any other tag:{% load icon %}

<p>Using a string {% icon "coffee" class="css-class" height="8" width="8" %}</p>
<p>Using a variable {% icon self.icon class="css-class" height="8" width="8" %}</p>Theicontag will simply take the SVG source from the Feather project,
apply additional attributes and return the SVG tag.TestingThere are a few tests in thetestsdirectory that should test the
basic functions of this module. However, as these tests require the
package to be build (so that thedjango_feather.iconsmodule is
populated), there are a few important steps to testing:# Start by building the projectpythonsetup.pybuild# There should now be a build/lib directory present# Make sure that django, pytest and pytest-django are installed:pipinstalldjangopytestpytest-django# Run the testsexportDJANGO_SETTINGS_MODULE=tests.settingsPYTHONPATH=build/lib:./pytesttestsThe environment variablePYTHONPATHensures thatdjango_featheris
not imported from the current directory but rather from thebuild/libdirectory.Performancedjango-featherdoes not read the.svgfiles each time an icon is rendered.
Instead, all the icons are written to a.pyfile upon build, just like the JavaScript
library.However, other than the JavaScript library, icons are rendered on the server side.
This avoids having to callfeather.replace()after the page has loaded.LicenseFeather is licensed under theMIT License.django-featheris licensed under the Apache License, Version 2.0:Copyright 2019-2021 Jonas Drotleff <j.drotleff@desk-lab.de>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: django-featured-objects-redux
django-featured-objectsSimple Django app for making any object featured.Authored byPedro Burón, and some greatcontributors.InstallationFirst install the module, preferably in a virtual environment. It can be installed from PyPI:pipinstalldjango-featured-objects-reduxSetupYou’ll need to addfeaturedtoINSTALLED_APPSin your project’ssettings.pyfile:INSTALLED_APPS+=['featured',]Then run./manage.py migrateto create the required database tables.ConfigurationThere is only one mandatory configuration option you need to set in yoursettings.py:FEATURABLE_MODELS=(('app_label','model_name'),('app_label','another_model_name'),)Please see theexampleapplication. This application is used to manually test the functionalities of this package. This also serves as a good example.You need Django 1.8 or above to run that. It might run on older versions but that is not tested.Usage[TBD]ContributingIf you’ve found a bug, implemented a feature or customized the template and
think it is useful then please consider contributing. Patches, pull requests or
just suggestions are welcome!Licensedjango-featured-objects-reduxis released under the GPLv3 license.
Package: django-feature-toggle
Feature Toggle is a simple Django app based on the behavioural patternFeature Toggleproposed by Martin Fowler.Quick linksPyPi:https://pypi.org/project/django-feature-toggle/Source:https://github.com/thulasi-ram/django-feature-toggleDocs:https://thulasi-ram.github.io/django-feature-toggleQuick startInstall the packagepip installdjango-feature-toggleAdd “feature_toggle” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'feature_toggle',
]Runpython manage.py migrateto create the models required feature_toggle.Start your app to use the feature_toggle.Quick SetupFor people intrested in contributing:Make a virtual environmentrunpython setup.py installorpython3 setup.py installrunpip install-rrequirements.txtorpip3 install-rrequirements.txtMake your changes and run tests by doing steps5and6git checkout py2_django_appand runpython manage.py testmake sure you have python 2 in your environmentgit checkout py3_django_appand runpython3 manage.py testmake sure you have python 3 in your environment5and6will be mitigated in the near future by tox or by using travis.Generating Docscd todocs\runmakecustom-gh-pagesThe current state of docs is a mix ofgh-pagesandwikiDocs are generated using sphinx. Generates files read fromindex.rstto_builddirectory.makecustom-gh-pagescustom command copies_buildtogh-pagesdirectory and commits it which is used by github docs.
Package: django-fe-core
# django-fe-core[![Build Status](https://travis-ci.org/fernandoe/django-fe-core.svg?branch=release%2F0.3.0)](https://travis-ci.org/fernandoe/django-fe-core)
[![Requirements Status](https://requires.io/github/fernandoe/django-fe-core/requirements.svg?branch=release%2F0.3.0)](https://requires.io/github/fernandoe/django-fe-core/requirements/?branch=release%2F0.3.0)
Package: django-fec-raw-data
# django-fec-raw-dataA Django app to download, extract and load campaign finance from the Federal Election Commission.It relies on the New York Times [Fech](http://nytimes.github.io/Fech/) library to download filings as CSV files, then loads theminto a database preserving all the fields in the raw data.[![Build Status](https://travis-ci.org/datadesk/django-fec-raw-data.png?branch=master)](https://travis-ci.org/california-civic-data-coalition/django-fec-raw-data)[![PyPI version](https://badge.fury.io/py/django-fec-raw-data.png)](http://badge.fury.io/py/django-fec-raw-data)[![Coverage Status](https://coveralls.io/repos/datadesk/django-fec-raw-data/badge.png?branch=master)](https://coveralls.io/r/california-civic-data-coalition/django-fec-raw-data?branch=master)* Issues: [github.com/datadesk/django-fec-raw-data/issues](https://github.com/datadesk/django-fec-raw-data/issues)* Packaging: [pypi.python.org/pypi/django-fec-raw-data](https://pypi.python.org/pypi/django-fec-raw-data)* Testing: [travis-ci.org/datadesk/django-fec-raw-data](https://travis-ci.org/datadesk/django-fec-raw-data)* Coverage: [coveralls.io/r/datadesk/django-fec-raw-data](https://coveralls.io/r/datadesk/django-fec-raw-data)## Quick startAdd this app to your ``INSTALLED_APPS`` in ``settings.py``.```pythonINSTALLED_APPS = (...'fec_raw',)```Create the raw models.```bash$ python manage.py migrate```Download the FEC filings.```bash$ python manage.py downloadfecrawdata```Load them into the database.```bash$ python manage.py loadfecrawdata```