Saravanan666/pypi-org huggingface dataset:
Package: django-pattern-library
django-pattern-libraryUI pattern libraries for Django templates. Try ouronline demo.FeaturesThis package automates the maintenance of UI pattern libraries or styleguides for Django projects, and allows developers to experiment with Django templates without having to create Django views and models.Create reusable patterns by creating Django templates files as usual.All patterns automatically show up in the pattern library’s interface.Define data as YAML files for the templates to render with the relevant Django context.Override Django templates tags as needed to mock the template’s dependencies.Document your patterns with Markdown.Why you need thisPattern libraries will change your workflow for the better:They help separate concerns, both in code, and between members of a development team.If needed, they make it possible for UI development to happen before models and views are created.They encourage code reuse – defining independent UI components, that can be reused across apps, or ported to other projects.It makes it much simpler to test UI components – no need to figure out where they’re used across a site or app.Learn more by watching our presentation –Reusable UI components: A journey from React to Wagtail.Online demoThe pattern library is dependent on Django for rendering – but also supports exporting as a static site if needed. Try out our online demo:For a component,accordion.htmlFor a page-level template,person_page.htmlDocumentationDocumentation is available attorchbox.github.io/django-pattern-library, with source files in thedocsdirectory.Getting startedGuidesDefining template contextOverriding template tagsCustomizing template renderingUsage tipsReferenceAPI & settingsKnown issues and limitationsContributingSee anything you like in here? Anything missing? We welcome all support, whether on bug reports, feature requests, code, design, reviews, tests, documentation, and more. Please have a look at ourcontribution guidelines.If you want to set up the project on your own computer, the contribution guidelines also contain all of the setup commands.Nightly buildsTo try out the latest features before a release, we also create builds from every commit tomain. Note we make no guarantee as to the quality of those pre-releases, and the pre-releases are overwritten on every build so shouldn’t be relied on for reproducible builds.Download the latestdjango_pattern_library-0.0.0.dev0-py3-none-any.whl.CreditsView the full list ofcontributors.BSDlicensed.Project logo fromFxEmoji. Documentation website built withMkDocs, and hosted inGitHub Pages.
Package: django-pay2
Интеграция платежных систем для DjangoQuickstartУстановите DjangoPay2:pip install django_pay2Добавьте приложение вINSTALLED_APPS:INSTALLED_APPS=(...'django_pay2',...)Добавьте Django Pay’s URLы в urlpatterns:urlpatterns=[...path('payments/',include('django_pay2.urls')),...]ПлатежиЛюбой платеж создается методом create_<название-платежной-системы>_payment. Метод возвращает объект типа PaymentMethod. Существует два типа
PaymentMethod — PaymentForm и RedirectMethod. Первый должен сериализовываться и отправляться на front. Второй можно либо также сериализовать
и отправить на фронт, либо возвратить редирект.Так же метод создает объект типа Payment. Эта модель отвечает за сохранение информации о платеже, а так же об объекте-инициаторе платежа.
После успешной оплаты он отправляет сигналpayment_receivedпривязанному объекту.TODO[*] Сериализаторы для PaymentForm и RedirectMethod[ ] Интеграция с free_kassa[ ]handle_form_debugпроверяет, что ему пришла валидная форма[*] Переписывание тестов на pytest[ ] Инструкция по написанию собственных провайдеров[ ] Инструкция по добавлению и настройке каждого провайдера[ ] Более подробная инструкция по использованию[*] Инструкция по увеличению версииРазработкаУстановка development зависимостей::pip install -r requirements_dev.txtЗапуск тестов::toxВыпускУстановить новую версию вpyproject.toml’ и `__init__.pyфайлахpoetry publish –build
Package: django-pay2pay
=====Dajngo pay2pay=====Приложения для приема платежей через систему http://pay2pay.com=====Quick start=====0. Устанавливаем приложение::pip install django-pay2pay1. Добавляем 'pay2pay' INSTALLED_APPS::INSTALLED_APPS = (...'pay2pay',)2. Добавить ``url(r'^pay2pay/', include('pay2pay.urls')),`` в urls.py3. Обязательные параметры settings.py (находятся в https://cp.pay2pay.com/ ) ::PAY2PAY_MERCHANT_ID = 1111PAY2PAY_HIDE_KEY = 'qCmm7SNTSdasfsqCmm7SNTSd'PAY2PAY_SECRET_KEY = 'qCmm7dsaSdasfsqCmgdjfgkdfghdfsad'PAY2PAY_FAIL_URL = 'http://example.com/pay2pay/fail/'PAY2PAY_SUCCESS_URL = 'http://example.com/pay2pay/success/'PAY2PAY_RESULT_URL = 'http://example.com/pay2pay/confirm/'4. Добавить логер с именем ``pay2pay``::LOGGING = {'version': 1,'disable_existing_loggers': False,'formatters': {'standart': {'format': '(%(asctime)s) %(levelname)s [%(filename)s -> %(funcName)s -> %(lineno)d]: "%(message)s"',}},'handlers': {'pay2pay': {'level': 'DEBUG','class': 'logging.handlers.WatchedFileHandler','filename': os.path.join(ROOT, 'pay2pay.log'),'formatter': 'standart'}},'loggers': {'pay2pay': {'handlers': ['pay2pay'],'level': 'DEBUG','propagate': True}}}4. Выполните ``python manage.py syncdb`` для создание таблицы с заказазами или выполните мограцию, если вы используете south: ``python manage.py migrate pay2pay2``5. Определите два шаблона::pay2pay/payment_fail.html # Для отменных платежейpay2pay/payment_success.html # Для успешных платежей
Package: django-payanyway
django-payanywayПриложение для интеграции платежной системы PayAnyWay(Moneta) в проекты работающие на Django
Работают только методы непосредственно связанные с оплатой.Внимание:Для корректного функционирования приложенияCheck URLв настройках магазина в админке PayAnyWay должен быть указан!Спецификация:https://demo.moneta.ru/doc/MONETA.Assistant.ru.pdf.Установкаpipinstalldjango-payanywayЗапустить миграцию в корне проекта:python./manage.pymigratemonetasettings.py:INSTALLED_APPS=[...,moneta]MONETA={"basic_config":{"account_id":123,"account_username":"test","account_password":"123","payment_system_name":"plastic","currency":"RUB","account_code":"secret",}LOGGING={...'loggers':{"moneta-log":{"handlers":["console"],"level":"DEBUG",}},}НастройкиОсновныеОсновные настройки хранятся в словареbasic_config:
Идентификатор магазина в системе PayAnyWayaccount_id:123Имя пользователя в системе PayAnyWayaccount_username:"username"Пароль пользователя в системе PayAnyWayaccount_password:"password"Код для формирования подписиaccount_code:"secret"В настройках можно указать и другие параметры из спецификации, например валюту, по-умолчанию: Российский рубль, и систему платежа, по-умолчанию: пластиковая карточка. Полное описание настроек смотреть в спецификации.Сигналыsignals.invoice_checkingСигнал посылается после создания инвойса в базе данных.signals.invoice_paidСигнал посылается после оплаты пользователем.Для поиска пользователя можно использоватьsubscriber_idу документа invoice.МаршрутыМаршруты по-умолчанию:check_notification- служебный маршрут, платежный сервис отправлется проверочный запрос на негоpaid_notification- служебный маршрут, платежный сервис отправялет запрос об успешном платеже на этот путьinit_pay- простая форма оплатыapi_init_pay- формирование url для оплаты отдельным http запросомsuccess- используется после успешной оплатыfail- используется после неудачной оплаты
Package: django-paycomet
Django PAYCOMETPAYCOMET payment tools for Django.This package provides a full functional view to integrate BankStore JET-IFRAME into your Django project following the examples foundhere.Test cards can be foundhere.SOAP API Error codes can be found [here])(https://www.bsdev.es/en/documentacion/codigos-de-error).InstallationInstall it with pip installdjango-paycomet.
It has a dependency overpycryptoandzeep. Follow their instructions if needed:pycryptozeepAdd your PAYCOMET codes in your settings file:PAYCOMET_MERCHANT_CODE = '1234'
PAYCOMET_TERMINAL = 'abcd'
PAYCOMET_PASSWORD = 'password'
PAYCOMET_JET_ID = 'jet_id'Extend yor view withpaycomet.views.PaymentViewand override the missing methods.Add the payment form in your checkout template with{% include 'paycomet.payment_form.html' %}
Package: django-payeer
# MP-PayeerDjango payeer integration app.### InstallationInstall with pip:```$ pip install django-payeer```App settings:```PAYEER = {'ACCOUNT': 'P1000000','API_ID': '12345','API_PASS': 'qwerty','LANGUAGE': 'en' # optional, default: 'ru'}```## Usage example```from payeer.api import payeer_apifrom payeer.constants import CURRENCY_USDdata = payeer_api.merchant(order_id=123,amount=10,currency=CURRENCY_USD,description='Test')```payeer_api.merchant returns:```{'location': '...', # redirect url'signature': '...', # generated signature'description': '...' # generated description}```### RequirementsApp require this packages:* django### Donators* Andriy Onishchuk
Package: django-payex
# django-payexdjango-payex is a Django application for saving statuses and receiving
callbacks from the PayEx API.Check out the [pypayex](https://github.com/funkbit/pypayex) module for
communication with the PayEx API. The callback view and agreement verification
check requires thepayexmodule.The PayEx implementation manual is available here:http://www.payexpim.com/## StatusThis is a work in progress, patches are welcome :)
Package: django-payflow
Settingsdjango_payflow accepts a python dictionary for all settingsThe minimum settings needed are shown below:DJANGO_PAYFLOW = {
    'PARTNER': 'partner', #This will most likely be 'PayPal'
    'MERCHANT_LOGIN': 'merchant',
    'USER': 'user', # This will most likely be the same as the MERCHANT_LOGIN setting
    'PASSWORD': 'password',
    'TEST_MODE': True,
}
Package: django-payir
Django Pay.irDjango Pay.ir is a pluggable application that integrates Pay.ir services into your website. The application introduces
two new models to your system that encapsulate Pay.ir API calls as object methods. Django Pay.ir has been tested on and
supports:Python 3.7+Django 2.2.11 (Latest LTS Release)Quick StartInstall the package:pipinstalldjango-payirAddpayirto yourINSTALLED_APPSsetting:INSTALLED_APPS=[...'payir',]Runpython manage.py makemigrationsandpython manage.py migrateto create the necessary models.Start a development server and visithttp://127.0.0.1:8000/admin/payir/gatewayto set up your gateways.DocumentationVisit the development documentations athttps://github.com/farahmand-m/django-payir/wiki.
Package: django-payline
Easily make payments usingPaylineAuthor: Mathieu Agopian andcontributorsLicence: BSDCompatibility: Django 1.3+Requirements:sudsInstallationpip install-Udjango-paylineAddpaylineto yourINSTALLED_APPSFor extensive documentation see thedocsfolder orread it on
readthedocsTo install thein-development versionof django-payline, runpip installdjango-payline==dev.HelpDrop me a mail.BugsReally? Oh well… Please Report. Or better, fix :)DevelopmentThanks for asking!Get the code:git clone git@github.com:magopian/django-payline.git
cd django-payline
virtualenv -p python2 env
source env/bin/activate
add2virtualenv .Install the development requirements:pip install -r requirements.txt
pip install django  # must be django 1.3 or aboveRun the tests:DJANGO_SETTINGS_MODULE=payline.test_settings make testBy default, two integration tests will be skipped when running the tests. Those
integration tests need the following settings (put them in asettings.pyfile):from test_settings import *


PAYLINE_MERCHANT_ID = 'your payline merchant ID'
PAYLINE_KEY = 'your payline API key'
PAYLINE_VADNBR = 'your payline VAD number'Then run the full test suite, including the integration tests:DJANGO_SETTINGS_MODULE=payline.settings make test
Package: django-payline-dotir
# django-payline-dotiruse Iranian payment gateway  http://payline.ir in django (it's NOT related to payline.com).====================django-payline-dotir====================use payline_dotir to payment in http://payline.ir payment gatewary.be aware that it's not related to payline.com.Detailed documentation is in the "docs" directory.sample examle project is in the "example" directory.Installation------------0. create a django project and payment app::django-admin startproject payline_ir_projcd payline_ir_projdjango-admin startapp payment1. install django-payline-dotir::pip install django-payline-dotir2. add "payment" to INSTALLED_APPS ::INSTALLED_APPS = (...'payment',)3. add PAYLINE_DOTIR_API = "your api key from http://payline.ir"and for test purpose add IS_PAYLINE_DOTIR_TEST = True to settings.py4. create your custom views, urls and templates.example project is in the example directory.5. Enjoy!source code-----------source code can be found herehttps://github.com/Bornazadeh/django-payline-dotirPlease use this repo for issue ,bug reporting and also patch and PR :).
Package: django-payload-validator
# Django payload validatorThis package can validate data provided as payload in request body. This is similar to django forms, but only difference being this works on json data provided throuogh body of a request rather than HTML forms.### installation- #### from pypi- ```pip install django-payload-validator```- #### from this github repo- ```pip install -e git+https://github.com/gladsonvm/django_payload_validator.git#egg=django_payload_validator```### Usage```class TeamCreateView(BaseValidatorView):model = <model>validation_rule = <validation_rule>```### Example```class TeamCreateView(BaseValidatorView):model = Teamvalidation_rule = create_team```### Concepts:- ##### validation_rule- A validation rule defines all fields those are meant to be validated.- Validation rule is a dictionary which defines* fields* all fields those are meant to be validated as a dict. Each fields must define its `type`. If a field is mandatory, then set `required` param to true in field declaration.* auto populated fields* Fields those are not obtained from request data and must be updated in database.* excluded fields* Fields that should not be displayed in response.example:```create_team = {'fields': {'name': {'type': str, 'required': True},'description': {'type': str, 'required': True},'team_type': {'type': str, 'required': True, 'allowed_values': ['tech', 'management', 'business', 'marketing']},'members': {'type': list}},'auto_populate_fields': {'created_by': 'request.user', 'last_updated_by': 'request.user'},'excluded_fields': ['members']}```
Package: django-paymaster
Приложение для интеграции платежной системы PayMaster (http://paymaster.ru/) в проекты на Django. Реализовано только основное API PayMaster, согласно спецификацииhttp://paymaster.ru/Partners/ru/docs/protocol/С ознакомиться документацией, а так же сообщить об ошибках можно на странице проектаhttp://github.com/scailer/django-paymaster/
Package: django-paymecash
=====Dajngo paymecash=====Приложения для приема платежей через систему http://tf.org/=====Quick start=====1. Добавить 'paymecash' INSTALLED_APPS::INSTALLED_APPS = (# ...'paymecash',)2. Добавить ``url(r'^paymecash/', include('paymecash.urls')),`` в urls.py3. Обязательные параметры settings.py::# Номер кошелька и ключь, полученые после регистрацииPAYMECASH_WALLET_ID = '000000001111'PAYMECASH_SECRET_KEY = 'qCck7SpoSdrtfsqCmm7SNTSe'4. Добавить логер с именем ``paymecash``::LOGGING = {'version': 1,'disable_existing_loggers': False,'formatters': {'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(funcName)s %(message)s'}},'handlers': {'paymecash': {'level': 'DEBUG','class': 'logging.handlers.WatchedFileHandler','filename': os.path.join(ROOT, 'paymecash.log'),'formatter': 'verbose'}},'loggers': {'paymecash': {'handlers': ['paymecash'],'level': 'ERROR','propagate': True}}}5. Выполните ``python manage.py syncdb`` для создание таблицы с платежами или выполните мограцию, если вы используете south: ``python manage.py migrate paymecash``6. Задайте в личном кабинете ( https://tf.org/app/#/integration ) callback URL http://example.com/paymecash/confirm/
Package: django-payment-payir
# Django payment module for Pay.ir[![Travis-CI](https://travis-ci.org/rasooll/django-pay-ir.svg?branch=master)](https://travis-ci.org/rasooll/django-pay-ir)[![Coverage Status](https://coveralls.io/repos/github/rasooll/django-pay-ir/badge.svg?branch=master)](https://coveralls.io/github/rasooll/django-pay-ir?branch=master)![PyPI](https://img.shields.io/pypi/v/django-payment-payir.svg)![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-payment-payir.svg)![PyPI - Django Version](https://img.shields.io/pypi/djversions/django-payment-payir.svg)![PyPI - Wheel](https://img.shields.io/pypi/wheel/django-payment-payir.svg)## InstallationFirst install package.```bashpip install django-payment-payir```Add 'pay_ir' to your INSTALLED_APPS setting.```pythonINSTALLED_APPS = (...'pay_ir',)```And add `PAY_IR_CONFIG` in to setting file.```pythonPAY_IR_CONFIG = {"api_key": "YOUR_API_KEY"}```For test without api key enter a `test` as api key.Add the following to your root `urls.py` file.```pythonurlpatterns = [...url(r'^payment/', include('pay_ir.urls'))]```Note that the URL path can be whatever you want.Run `python manage.py migrate` to create the payments models.### Tested on- Python (3.6.6)- Django (2.1)- requests (2.19.1)
Package: django-payments-cod
# django-payments-codCash on Delivery (COD) Provider for [django_payments](https://django-payments.readthedocs.org/)Installation========================```pip install django-payments-cod```OR```pip install https://github.com/xtranophilist/django-payments-cod/archive/master.zip```Usage==============In your Django project settings:```INSTALLED_APPS = [...'django_payments_cod',]``````PAYMENT_VARIANTS = {'default': ('django_payments_cod.CODProvider', {})}``````CHECKOUT_PAYMENT_CHOICES = [('default', 'Cash On Delivery')]```
Package: django-payments-ecpay
Adjango-payments<https://github.com/mirumee/django-payments>backend for the ECPay (Taiwan) payment gateway.Reference documentation can be found at the following address:https://www.ecpay.com.tw/Content/files/ecpay_011.pdfParametersmerchand_id: Merchant Identification number assigned by ECPay
(required).hash_key: Hash Key assigned by ECPay (required).hash_iv: Hash IV assigned by ECPay (required).endpoint(default=‘https://payment-stage.ecpay.com.tw/Cashier/AioCheckOut/V5’)
: The ECPay payment gateway endpoint. Use
‘https://payment.ecpay.com.tw/Cashier/AioCheckOut/V5’ for the
production environment (required).merchand_name: Merchant Identification number assigned by ECPay
(optional).expiration_days: Validity of payment process. Between 1 to 60
days, defaults to 3 days. (optional).client_back_url: URL to which the customer is redirect to after
payment (optional).choose_payments: Default payment type. Can be one of ‘ALL’,
‘ATM’, ‘WebATM’, ‘CVS’, ‘BARCODE’, ‘Credit’, ‘AndroidPay’ and
defaults to ‘ALL’ (optional).excluded_payments: Array of excluded payments options. Options
are ‘ATM’, ‘WebATM’, ‘CVS’, ‘BARCODE’, ‘Credit’, ‘AndroidPay’
(optional).Usage exampleAdd the following lines to your configuration insettings.py:PAYMENT_VARIANTS={'default':('payments_ecpay.ECPayProvider',{'merchand_id':'2000132','merchand_name':'Shop Name','hash_key':'5294y06JbISpM5x9','hash_iv':'v77hoKGq4kWxNNIS','expiration_days':3,'excluded_payments':['Credit','AndroidPay'],'endpoint':'https://payment.ecpay.com.tw/Cashier/AioCheckOut/V5'}),}
Package: django-payments-flow
django-payments-flowdjango-payments-flowes una variante de Django Payments que implementa la
creación, confirmación y expiración de pagos realizados a través de Flow. Este
módulo proporciona integración con la API de Flow para facilitar el
procesamiento y gestión de pagos en tu aplicación web Django.Introduccióndjango-payments-flowestá diseñado para simplificar la integración de
pagos de Flow en tu proyecto Django Payments. Con este módulo, puedes crear y
gestionar pagos utilizando la pasarela de pago de Flow de manera sencilla.Características principales:Crea y procesa pagos de forma segura con Flow.Recibe notificaciones de confirmación de pago.Maneja automáticamente la expiración y cancelación de pagos.InstalaciónPuedes instalar django-payments-flow utilizando pip:pipinstalldjango-payments-flowO utilizando poetry:poetryadddjango-payments-flowConfiguraciónLa configuracion se realiza como una variante de Django PaymentsPAYMENT_VARIANTS={"flow":("django_payments_flow.FlowProvider",{"key":1,"secret":"qwertyasdf0123456789",})}Puedes ver mas opciones de configuracionen la documentacionLicenciaEl código está bajo licencia MIT
Package: django-payments-hbl
# django-payments-hbl[Himalayan Bank](https://himalayanbank.com/hbl-introduces-enhanced-e-commerce-payment-gateway) Payment Gateway Provider for [django_payments](https://django-payments.readthedocs.org/)Installation========================```pip install django-payments-hbl```OR```pip install https://github.com/xtranophilist/django-payments-hbl/archive/master.zip```Usage==============In your Django project settings:```PAYMENT_VARIANTS = {'default': ('django_payments_hbl.HBLProvider', {'gateway_id': '<gateway/merchant_id>','secret_key': '<your_secret_key>'})}```
Package: django-payments-khipu
django-payments-khipuProyecto en desarrollo activo, no listo para producciondjango-payments-khipues una variante de Django Payments que implementa la
creación, confirmación y expiración de pagos realizados a través de Khipu. Este
módulo proporciona integración con la API de Khipu para facilitar el
procesamiento y gestión de pagos en tu aplicación web Django.Introduccióndjango-payments-khipuestá diseñado para simplificar la integración de
pagos de Khipu en tu proyecto Django Payments. Con este módulo, puedes crear y
gestionar pagos utilizando la pasarela de pago de Khipu de manera sencilla.Características principales:Crea y procesa pagos de forma segura con Khipu.Recibe notificaciones de confirmación de pago.Maneja automáticamente la expiración y cancelación de pagos.InstalaciónPuedes instalar django-payments-khipu utilizando pip:pipinstalldjango-payments-khipuO utilizando poetry:poetryadddjango-payments-khipuConfiguraciónLa configuracion se realiza como una variante de Django PaymentsPAYMENT_VARIANTS={"khipu":("django_payments_khipu.KhipuProvider",{"key":1,"secret":"qwertyasdf0123456789",})}Puedes ver mas opciones de configuracionen la documentacionLicenciaEl código está bajo licencia MIT
Package: django-payments-mercadopago
django-payments-mercadopagoA mercadopago payment gateway backend fordjango-paymentsCompatibilityPython 3.6 ≥ 3.8Django 2.2 ≥ 3.2InstallationYou can install it via pip, pipenv or your favorite virtual environment managerpipinstalldjango-payments-mercadopagoAddpayments_mercadopagoto yoursettings.pyfileINSTALLED_APPS=[# ...'payments_mercadopago',]Settings.py configurationAdd thepayments_mercadopago.MercadoPagoProviderto yourPAYMENT_VARIANTSvariable. Also to make it available add MercadoPago to yourCHECKOUT_PAYMENT_CHOICES variableConfiguration for developmentPAYMENT_VARIANTS={# ...'MercadoPago':('payments_mercadopago.MercadoPagoProvider',{'access_token':'MERCADO_PAGO_SANDBOX_ACCESS_TOKEN','sandbox_mode':True})}CHECKOUT_PAYMENT_CHOICES=[('MercadoPago','Mercado Pago')]If you have any problem using localhost urls as the return value of get_failure_url() or get_success_url() methods try usingngrok.Configuration for productionPAYMENT_VARIANTS={# ...'MercadoPago':('payments_mercadopago.MercadoPagoProvider',{'access_token':'MERCADO_PAGO_ACCESS_TOKEN','sandbox_mode':False})}CHECKOUT_PAYMENT_CHOICES=[('MercadoPago','Mercado Pago')]Obtaining the TokensYou can get your own Mercado Pago production and sandbox access tokens in yourMercado pago developer panelDocumentationThis project uses django-payments to work. For detailed instructions on how to make and configure payments using django-payments please visit the officialdjango-payments documentationHistory0.4.0 (2020-10-17)Change project layout, adapted from cookiecutter. Include tox tests, add AUTHOR, CONTRIBUTING, HISTORY, Docs, etc.