Saravanan666/pypi-org huggingface dataset:
Package: django-flexible-filter-conditions
Flexible query filter conditions, that can be defined from django-admin and used for segmentation of date (i.e. Profiles).DocumentationThe full documentation is athttps://django-flexible-filter-conditions.readthedocs.io.QuickstartInstall Django flexible filter conditions:pip install django-flexible-filter_conditionsAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'flexible_filter_conditions.apps.FlexibleFilterConditionsConfig',...)Add Django flexible filter conditions’s URL patterns:FLEXIBLE_FILTER_CONDITIONS_FIELD_MAP={'User':('aklub.models','User'),'Profile':('aklub.models','Profile'),'Payment':('aklub.models','Payment'),'User.last_payment':('aklub.models','Payment'),'User.userchannels':('aklub.models','DonorPaymentChannel'),}FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.5.0 (2020-02-19)refactor: remove filter_by_condition(), make it NamedCondition class method filter_by_query()fix contains operatoradd more testing0.4.0 (2020-02-18)added support for new operators: in, list, datemutlipe conditions in one named comdition can be added to support
subsequent filtersadd xor operatoradd negate to condtition (and remove nor)0.3.0 (2020-01-23)fixes and improvements for better user orientation0.2.0 (2020-01-21)Added blank paremeter valueAdded isnull filter0.1.0 (2020-01-14)First release on PyPI.
Package: django-flexible-manifest-staticfiles
django-flexible-manifest-staticfilesThis extension todjango.contrib.staticfiles.storage.ManifestStaticFilesStorageallows you to specify a list of file patterns that should be ignored/excluded from being versioned and added to the manifest. You can also specify it the other way around and say which files should be included.This allows you to add versioned naming to only static files of your choosing. For example, you may want CSS and JS files to be versioned, but not fonts, images or other assets.I've written and tested this against Django 2.2. Your mileage elsewhere may vary!InstallationUse pip:pipinstalldjango-flexible-manifest-staticfilesSetupSet in yoursettings.py:STATICFILES_STORAGE='django_flexible_manifest_staticfiles.storages.ForgivingManifestStaticFilesStorage'UsageSet in yoursettings.pyyou can set two settings:STATICFILES_VERSIONED_INCLUDE- This is a list of patterns you want to be included. Only files that match at least one of these patterns will be included. If you omit this setting, then all files are included by default.STATICFILES_VERSIONED_EXCLUDE- Any file matching any of these patterns will be excluded from being versioned.Files must match against both rules (e.g. they must be both in the include list and not in the exclude list) in order to be versioned.Note that the complete path relative to thestaticdirectory is available for matching against.ExamplesThis would only version.cssand.jsfiles, but would exclude minified files:STATICFILES_VERSIONED_INCLUDE=['.css$','.js$']STATICFILES_VERSIONED_EXCLUDE=['min.css$','min.js$']This would version all files asides from.jpgfiles:STATICFILES_VERSIONED_EXCLUDE=['.jpg$']This would only version things in your/static/scripts:STATICFILES_VERSIONED_INCLUDE=['scripts/.*$']
Package: django-flexible-reports
A framework for report generation in DjangoDocumentationThe full documentation is athttps://django-flexible-reports.readthedocs.io.QuickstartInstall Django Flexible Reports:pip install django-flexible-reportsAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'flexible_reports.apps.FlexibleReportsConfig',...)Add Django Flexible Reports’s URL patterns:fromflexible_reportsimporturlsasflexible_reports_urlsurlpatterns=[...url(r'^',include(flexible_reports_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.2.10 (2022-07-07)Drop support for Django 2.2 and below,Drop support for Python 3.7,Python 3.10 support,Django 3.2 support,enable GitHub Actions,remove Travis-CI config.0.1.0 (2017-07-20)First release on PyPI.
Package: django-flexible-subscriptions
Django Flexible Subscriptions provides subscription and recurrent
billing forDjangoapplications. Any payment provider can be quickly
added by overriding the placeholder methods.Getting StartedInstructions on installing and configuration can be found onRead The Docs.SupportThedocs provide examples for setup and common issuesto be aware
of. For any other issues, you can submit aGitHub Issue.ContributingContributions are welcome, especially to address bugs and extend
functionality. Fulldetails on contributing can be found in the docs.VersioningThis package uses a MAJOR.MINOR.PATCH versioning, as outlined atSemantic Versioning 2.0.0.AuthorsJoshua Robert Torrance (StudyBuffalo)LicenseThis project is licensed under the GPLv3. Please see theLICENSEfile for details.AcknowledgementsDjango OscarandDjango Subscriptionfor inspiring many of the
initial design decisions.ChangelogYou can view allpackage changes on the docs.
Package: django-flexisettings
Django flexible settings with running environment support, separate security
files and project layout detection.Features:get security configuration (passwords, secret key, API keys, etc) out of
the main settings filesupport multiple environments in a flexible wayautomatic discovery and configuration of common project layoutsInformation:v0.2.5 is the last version which supports python 2.7Installation$ pip install django-flexisettingsNo need to declare flexisettings inINSTALLED_APPS.QuickstartDevelopmentEditmanage.py, modify the value ofDJANGO_SETTINGS_MODULEto point atflexisettings.settingsand addFLEXI_WRAPPED_MODULEto point at your
project’s settings:[...]
if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "flexisettings.settings")
    os.environ.setdefault("FLEXI_WRAPPED_MODULE", "myproject.settings")
[...]WSGI applicationEditmyproject/wsgi.py, modify the value ofDJANGO_SETTINGS_MODULEto point atflexisettings.settingsand addFLEXI_WRAPPED_MODULEto
point at your project’s settings:[...]
import os

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "flexisettings.settings")
os.environ.setdefault("FLEXI_WRAPPED_MODULE", "myproject.settings")
[...]What now?This is all you need to getflexisettingsto run your settings. At
this stage,nothingin the configuration object is changed, it is
simply wrapped inflexisettingsproxy object.Read the docsfor more
powerful features offlexisettings.Licensedjango-flexisettings is published under a 3-clause BSD license, see the LICENSE
file included in the project.
Package: django-flexquery
This library aims to provide a new way of declaring reusable QuerySet filtering
logic in your Django project, incorporating the DRY principle and maximizing user
experience and performance by allowing you to decide between sub-queries and JOINs.Its strengths are, among others:Easy to learn in minutesCleanly integrates with Django’s ORMSmall code footprint, hard for bugs to hide - ~150 lines of code (LoC)100% test coverageFully documented code, formatted using the excellentBlack Code Formatter.See thedocumentation at Read The Docsto convince yourself.
Package: django-flex-user
A flexible user model for Django designed tomaximize sign-up conversion.Enables users to up using their choice ofusername,email address,phone numberor any combination thereof.
Users can also sign up using anOAuthprovider like Facebook or Google.Email address and phone numberverification,password reset, andREST APIincluded “in the box”.Clickhereto see ademo.Clickhereto see thedocumentation.
Package: django-flickr
Django-Flickrprovides a mechanism to mirror user’s Flickr photos
into a Django project.Project linksSourcebuilds:http://pypi.python.org/pypi/django-flickr/repository:https://bitbucket.org/zalew/django-flickr/mirror:https://github.com/zalew/django-flickr/Metadocs:http://readthedocs.org/docs/django-flickr/en/latest/bugs, feature requests:https://bitbucket.org/zalew/django-flickr/issuesroadmap, release log:https://bitbucket.org/zalew/django-flickr/wikilicense: BSD, see LICENSE filecontributors: see AUTHORS file
Package: django-flickrsets
Reusable Django application to synchronize Flickr sets.The application is currently not ready for production use. If you still want
to deploy it on a production server, do it at your own risk.Please, be cool with Flickr API.For instructions on how to install and use this application, and on what it
provides, take a look in thedocs/directory.To generate the documentation, you should haveSphinxinstalled on your
system and run the following commands:git clone git://github.com/gillesfabio/django-flickrsets.git
cd django-flickrsets/docs
make htmlOpendjango-flickrsets/docs/_build/html/index.htmlin your browser.You can alsobrowsethis documentation online.Screenshot:
Package: django-flipbook
A reusable Django app that displays an image gallery as a flipbook.InstallationTo get the latest stable release from PyPi$pipinstalldjango-flipbookTo get the latest commit from GitHub$pipinstall-egit+git://github.com/bitmazk/django-flipbook.git#egg=flipbookTODO: Describe further installation steps (edit / remove the examples below):Addflipbookto yourINSTALLED_APPSINSTALLED_APPS=(...,'flipbook',)Add theflipbookURLs to yoururls.pyurlpatterns=patterns('',...url(r'^flipbook/',include('flipbook.urls')),)Don’t forget to migrate your database./manage.pymigrateflipbookUsageBasically, there is a Flipbook and its (html) pages. You can edit them inline.Make sure to install django-summernote, which provides the great summernote
WYSIWYG editor.
Django-App:https://github.com/lqez/django-summernoteEditor:http://hackerwins.github.io/summernote/All flipbooks are viewed in a general list view. You can also gather flipbooks
in different categories and view them in seperated lists.You will definitely want to overwrite the templates and add your favourite
flipbook jquery plugin, so I only added simple templates and an example plugin.
Get the plugin here:http://tympanus.net/codrops/2012/09/03/bookblock-a-content-flip-plugin/Thx to Tympanus so far.Please take a look at the models.py to check the models for their fields.
There are a lot of possibilities to improve your templates. If you need any
other fields or functions feel free to send a pull request =)SettingsFLIPBOOK_BOOK_TYPEDefault: (‘default’, _(‘default’)), )Tuple to define different book types. This can be helpful, if you want to
distinguish different book formats etc.FLIPBOOK_PAGE_TYPEDefault: (‘default’, _(‘default’)), )Tuple to define different page types. This can be helpful, if you want to
distinguish pages in your template or if you want to add special css classes
etc.FLIPBOOK_DISABLE_LISTSDefault: FalseBoolean to disable list views.ContributeIf you want to contribute to this project, please perform the following steps# Fork this repository
# Clone your fork$mkvirtualenv-ppython2.7django-flipbook$pythonsetup.pyinstall$pipinstall-rdev_requirements.txt$gitco-bfeature_branchmaster# Implement your feature and tests$gitadd.&&gitcommit$gitpush-uoriginfeature_branch# Send us a pull request for your feature branch
Package: django-flipt
django-fliptFlipt Integration for Django and Django REST FrameworkInstallationpipinstalldjango-fliptUsageAddfliptintoINSTALLED_APPSINSTALLED_APPS=[...'flipt',]Define Flipt gRPC endpoint insettings.pyFLIPT_GRPC_HOST='flipt:9000'Ready to go!Overriding FlagsYou can override any flag by defining your flag key and overriding valueFLIPT_FLAG_OVERRIDDEN={'some-flag-key':True}Available Classes/Functionsflag_enabledflag_disabledFlaggedRouter@flag_check@override_flags{% featureflag %} ... {% endfeatureflag %}FeatureFlagListViewflagged_pathflagged_re_pathDevelopmentRequirementsDockerRun Project$makeLinting/Test Project$makelint
$maketestCreditsFliptInspired bydjango-flags
Package: django-floc-disable
django-floc-disableDjango middleware to disable Google's Federated Learning of Cohorts (FLoC) trackingPython / Django SupportPython 3.6+Django versions 3+UsageInstall django-floc-disable:pipinstalldjango-floc-disableAdd it to yourINSTALLED_APPS:MIDDLEWARE=(# ...'django_floc_disable.middleware.FLoCDisableMiddleware',# ...)This will set thePermissions-Policyheader to a value ofinterest-cohort=()for every request served by Django.SupportIssues:https://github.com/nhymxu/django-floc-disable/issuesHere you candonatefor this project.LicenseThe MIT License (MIT). Please seeLicense Filefor more information.
Package: django-flock
UsageYou have to use Django 1.10 or better and Python 3.4 or better.Installdjango-flockusing pip.Add the following settings:STRIPE_PUBLISHABLE_KEY = env('STRIPE_PUBLISHABLE_KEY')
STRIPE_SECRET_KEY = env('STRIPE_SECRET_KEY')
POSTFINANCE_PSPID = env('POSTFINANCE_PSPID')
POSTFINANCE_LIVE = env('POSTFINANCE_LIVE')
POSTFINANCE_SHA1_IN = env('POSTFINANCE_SHA1_IN')
POSTFINANCE_SHA1_OUT = env('POSTFINANCE_SHA1_OUT')Addflockandmooch(the payment gateway connectors are in
this module) toINSTALLED_APPSand includeflock.urlssomewhere in your URLconf.Presto.
Package: djangofloor
DjangofloorDjangofloor helps you to quickly create Django applications that are also easy to deploy. To reach these goals, Djangofloor provides:an extension to the base Django's setting, allowing to split your configuration into several files (default values provided by Djangofloor, constants values for your project, deployement parameters, local values for development),an unified signal dispatcher, using bi-directionnal websockets through Celery and Redis. You can call Python and Javascript signals from the Python or the Javascript side,auto-configuration for a few widespread Django apps (Django-Debug-Toolbar, Django-Redis-Sessions, Django-Pipeline) if they are present,a base template using the well-known Bootstrap3 (but of course you can use any other templates),valid default Django settings (like logs),create new Django projects that are working and deployable out-of-the-box (even if you finally replace all default templates and views).Creating a new projectCreating a working new project only requires a couple lines:pip install djangofloor
djangofloor-createproject
  Your new project name [MyProject] NewProject
  Python package name [newproject]
  Initial version [0.1]
  Root project path [.] /tmp/newproject
cd /tmp/newproject
python setup.py install
newproject-ctl migrate
newproject-ctl runserverOnline documentationRead The doc
Package: django-floppymodelforms
A hack to force Django’s ModelForm to usefloppyformsfields.InstallationInstall the package:pip install django-floppymodelformsUsageAddfloppymodelformsto your project’sINSTALLED_APPSafter thefloppyformsapp.INSTALLED_APPS=(# ...'floppyforms','floppymodelforms',)FeaturesAdd support for Django’s extra form fields.LicenseBSD License
Package: django-flower
Flower is a web based tool for monitoring and administrating Celery clusters.FeaturesReal-time monitoring using Celery EventsTask progress and historyAbility to show task details (arguments, start time, runtime, and more)Graphs and statisticsRemote ControlView worker status and statisticsShutdown and restart worker instancesControl worker pool size and autoscale settingsView and modify the queues a worker instance consumes fromView currently running tasksView scheduled tasks (ETA/countdown)View reserved and revoked tasksApply time and rate limitsConfiguration viewerRevoke or terminate tasksBroker monitoringView statistics for all Celery queuesQueue length graphsHTTP APIBasic Auth and Google OpenID authenticationAPI  (TODO)Flower API enables to manage the cluster via REST API, call tasks and
receive task events in real-time via WebSockets.For example you can restart worker’s pool by:$ curl -X POST http://localhost:5555/api/worker/pool/restart/myworkerOr call a task by:$ curl -X POST -d '{"args":[1,2]}' http://localhost:5555/api/task/async-apply/tasks.addOr terminate executing task by:$ curl -X POST -d 'terminate=True' http://localhost:5555/api/task/revoke/8a4da87b-e12b-4547-b89a-e92e4d1f8efdOr receive task completion events in real-time:varws=newWebSocket('ws://localhost:5555/api/task/events/task-succeeded/');ws.onmessage=function(event){console.log(event.data);}For more info checkoutAPI Referenceandexamples.RequirementsDjango >= 1.11.222Celery >= 4.3jinja2 >= 2.10.1InstallationPyPI version:$ pip install django-flowerDevelopment version:$ pip install https://github.com/alexsilva/django-flower/zipball/masterUsageAdd app flower to django installed apps:INSTALLED_APPS = [
    ...
    'flower'
]Run the event command:$ python manage flower_eventsDocumentationEverything that needs to be configured in thesample projectflower_events- is a django command that serves as a backend and should run in the background.Django settings variable:FLOWER_RPC_HOST
FLOWER_RPC_PORT
FLOWER_INSPECT_TIMEOUT
FLOWER_AUTH
FLOWER_BASIC_AUTH
FLOWER_OAUTH2_KEY
FLOWER_OAUTH2_SECRET
FLOWER_OAUTH2_REDIRECT_URI
FLOWER_MAX_WORKERS
FLOWER_MAX_TASKS
FLOWER_DB
FLOWER_PERSISTENT
FLOWER_BROKER_API
FLOWER_CA_CERTS
FLOWER_CERTFILE
FLOWER_KEYFILE
FLOWER_XHEADERS
FLOWER_AUTO_REFRESH
FLOWER_COOKIE_SECRET
FLOWER_ENABLE_EVENTS
FLOWER_FORMAT_TASK
FLOWER_NATURAL_TIME
FLOWER_TASKS_COLUMNS
FLOWER_AUTH_PROVIDER
FLOWER_INSPECTLicenseFlower is licensed under BSD 3-Clause License. See the LICENSE file
in the top distribution directory for the full license text.Getting helpPlease head over to #celery IRC channel on irc.freenode.net oropen an issue.ContributingIf you’d like to contribute, simply forkthe repository, commit your
changes, run the tests (tox) and send a pull request.
Make sure you add yourself toCONTRIBUTORS.If you are interested in maintaining the project please contact.
Package: django-flowr
Most state machine libraries are “static” and require the flow in the state
machine to be definied programmatically.  Flowr is designed so that you can
build state machine flows and store them in a database.  There are two key
concepts: rule graphs and state machines.  The programmer defines one or more
sets of rules that describe the allowed flow between states, the user can then
use the GUI tools to construct state machines that follow these rules and
store the machines in the database.  The state machines can then be
instantiated for processing the flow which triggers call-back mechanisms in
the rule objects on entering and leaving a state.InstallationAdd ‘flowr’ to yoursettings.INSTALLED_APPSfield.Run$manage.pymakemigrations$manage.pymigrateDemo InstallationA full django project is included in the repository that is used for testing
and can give you a quick idea what flowr is about.  The project is available
inextras/sample_site$cddjango-flowr$pipinstall-rrequirements.txt$cdextras/sample_site$pipinstall-rrequirements.txt$./resetdb.sh$./runserver.shThis will create ansqlitedatabase with some sample rules.  Point your
browser athttp://localhost:8000/adminand login with the usernameadminand the passwordadmin.  Use the django admin screens to view
the flows and rules in the system.DocsDocs available at:http://django-flowr.readthedocs.org/en/latest/
Package: django-flows
django-flows can best be described as ‘wizards on steroids’. Its purpose is to keep state and position
in complicated flows of logic, allowing optional branches and complicated paths through a series of
individual user actions.django-flows makes it possible to specify subsections of functionality and group them together later.
It recognises that, at the core, there are several user actions such as logging in, or entering a credit
card number, and that the web application needs to group these actions in such a way that all state
required to make a purchase, for example, is obtained. It also seeks to make these actions reusable,
and to group related actions together into larger ‘user flows’.
Package: django-fluent-comments
django-fluent-commentsThedjango-fluent-commentsmodule enhances the default appearance of
thedjango_commentsapplication to be directly usable in web sites.Features:Ajax-based preview and posting of commentsConfigurable and flexible form layouts.Comment moderation, with auto-closing / auto-moderation after N days.E-mail notification to the site managers of new comments.Optional threaded comments support viadjango-threadedcomments.OptionalAkismetintegration for spam detection.Optional reCAPTCHA2 support viadjango-recaptchaordjango-nocaptcha-recaptcha.Optional simple captcha support viadjango-simple-captcha.The application is designed to be plug&play;
installing it should already give a better comment layout.InstallationFirst install the module and django_comments, preferably in a virtual environment:pip install django-fluent-commentsConfigurationPlease follow the documentation athttps://django-fluent-comments.readthedocs.io/ContributingThis module is designed to be generic, and easy to plug into your site.
In case there is anything you didn’t like about it, or think it’s not
flexible enough, please let us know. We’d love to improve it!If you have any other valuable contribution, suggestion or idea,
please let us know as well because we will look into it.
Pull requests are welcome too. :-)
Package: django-fluentd
============django-fluentd============django-fluentd allows you to use django's logging framework to log directly to a fluentd server of your choice.Please consider the package as unstable and don't use it for production, yet.Installation============with pip::pip install django-fluentd**or**with setup.py::git clone https://github.com/jayfk/django-fluentd.gitcd django-fluentdpython setup.py installConfiguration============Add the following to your settings.py::DJANGO_FLUENTD_SERVER = "10.10.10.10"DJANGO_FLUENTD_PORT = 24224 #no stringDJANGO_FLUENTD_TAG = "your_fluentd_tag"Add the fluentd handler to your LOGGING dict in your settings.py and add this handler to one of your loggers::LOGGING = {...'handlers':{'fluentd': {'level': 'DEBUG','class': 'django_fluentd.handler.FluentdHandler',},}...'loggers': {'django': {'handlers': ['fluentd',],'level': 'DEBUG','propagate': False,},},}If you want to capture all logging messages using fluentd, you can add a root handler::LOGGING = {...'root': {'level': 'DEBUG','handlers': ['fluentd'],},...}Further information on how to use django's logging framework can be found here: https://docs.djangoproject.com/en/dev/topics/logging/Fluentd Server Setup============Your Fluentd Server should listen on the ip and the port you specified in ``DJANGO_FLUENTD_SERVER`` and ``DJANGO_FLUENTD_PORT``::<source>type forwardport 24224bind 10.10.10.10</source>Please not that you currently can't use fluentd's secure_forward. If you want to send encrypted or authenticated messagesto another fluentd server on the net, you'll have to add a local fluentd server that accepts unencrypted messages and forwardsthem using secure_forward::<source>type forwardport 24224bind 10.10.10.10</source><match **>type secure_forwardshared_key foobarself_hostname example.orgsend_timeout 60srecover_wait 10sheartbeat_interval 1sphi_threshold 8hard_timeout 60s<server>name remote_server_namehost 10.10.10.11port 24224username your_usernamepassword your_password</server></match>Further information on how to use fluentd can be found here: http://fluentd.org/