Saravanan666/pypi-org huggingface dataset:
Package: django-codemirror-widget-2
This Package is wrapper of django-codemirror-widgetDjangoform widget library for usingCodeMirroronTextarea.Installationpipinstalldjango-codemirror-widget-2UsageFirst, you need to specifiedCODEMIRROR_PATHonsettings.py.CODEMIRROR_PATHis the URI of CodeMirror directory likeCODEMIRROR_PATH = r"javascript/codemirror".
If you don’t specify it, it defaults to'codemirror'.
CodeMirror should be put there.Usecodemirror.CodeMirrorTextareawidget for target Textarea like below:fromdjangoimportformsfromcodemirrorimportCodeMirrorTextareacodemirror_widget=CodeMirrorTextarea(mode="python",theme="cobalt",config={'fixedGutter':True},)document=forms.TextField(widget=codemirror_widget)SettingsUse the followings in yoursettings.py.CODEMIRROR_PATHThe URI of CodeMirror directory (your CodeMirror installation should live in{{ STATIC_URL}}/{{CODEMIRROR_PATH }})CODEMIRROR_MODEThe default mode which may be a string or configuration map (DEFAULT:'javascript')CODEMIRROR_THEMEThe default theme applied (DEFAULT:'default')CODEMIRROR_CONFIGBase mapping for the rest of the CodeMirror options (DEFAULT:{ 'lineNumbers': True })CODEMIRROR_JS_VAR_FORMATA format string interpolated with the form field name to name a global JS variable that will hold the CodeMirror
editor object. For example withCODEMIRROR_JS_VAR_FORMAT = "%s_editor"and a field named ‘code’, the JS variable
name would be ‘code_editor’. IfCODEMIRROR_JS_VAR_FORMATis None, no global variable is created (DEFAULT: None)
Package: django-codemod
Documentation:https://django-codemod.readthedocs.ioSource Code:https://github.com/browniebroke/django-codemodA tool to help upgrade Django projects to newer version of the framework by automatically fixing deprecations.The problemWhen maintaining a Django site, over time you'll find yourself to a point where you'll need to update to the next major version of Django. When Django APIs changes, functions move or are removed, changing usages in your project might add up to many changes. Often these changes are simple to do, but sometimes a simple "find and replace" is not possible.Take, for instance, the removal of theurl()function from Django 4.0, to be replaced byre_path(). In simple cases, you might even want to switch topath(), which has a nicer API. A typical Django project easily has 100's or routes, so this simple decision becomes a much longer task when to be made for each of them.This solutionThis project solves this problem by providing codemodders for simple changes like this. A codemodder re-writes your code from the old way to the new way.With the help of AST analysis, we're able to understand what modifications are applicable, remove imports as they become irrelevant, and add missing ones as they are needed.To continue the example, the tool will look at the route in theurl()call, and decide whether the regular expression may be replaced by one of the built-in URL converters and usepath()or stick to a regex and usere_path().Interested? Check outthe documentationfor usage and the full list of codemodders.What this tool is notThis tool is best suited for Django sites, NOT for reusable Django applications. The project needs to target a single Django version, e.g. 3.1.x.You do NOT need to install this tool as part of your project dependencies, it is a CLI tool, not a Django package to be installed in your site.Similar toolsdjango-upgradeis a similar tool written by Adam Johnson. It's a reimplementation taking a different approach based only on standard library module.django-codemod is based onlibCST(Concrete Syntax Tree) which is a limiting factor in terms of speed. By using standard library modules, django-upgrade is a lot faster and is able to support the latest Python, however it requires Python 3.8+.Contributors ✨Thanks goes to these wonderful people (emoji key):Bruno Alla💻📖🤔Aarni Koskela💻🤔⚠️Adam Johnson📖Nikita Sobolev📖Chris VanderKolk💻John Vandenberg🐛💻Anjishnu🚇Drew Winstel🤔Dmytro Litvinov📖M. Zulqarnain📖This project follows theall-contributorsspecification. Contributions of any kind welcome!CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.
Package: django-codenerix-cms
Codenerix CMS is a module that enablesCODENERIXto set products on several platforms in a general mannerDemoComing soon…QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-cms
For python 3: sudo pip3 install django-codenerix-cmsAdd “codenerix_extensions” and “codenerix_cms” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_extensions',
    'codenerix_cms',
>`_.
Package: django-codenerix-corporate
Codenerix Corporate is a module that enablesCODENERIXto manage corporate/enterprise data on several platforms in a general manner. Model for managing business’s informationChangelog2018-01-17 - Codenerix Corporate v1.x is incompatible with v2.x,what has changed and how to migrate to v2.x?.DemoYou can have a look to ourdemo online.You can find some working examples in GITHUB atdjango-codenerix-examplesproject.QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-corporate
For python 3: sudo pip3 install django-codenerix-corporateAdd “codenerix_corporate” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_corporate',
]Add the param in setting:# list of languages available for the translation of the content of the models
LANGUAGES_DATABASES = [‘ES’, ‘EN’]Since Codenerix Corporate is a library, you only need to import its parts into your project and use them.DocumentationComing soon… do you help us?You can get in touch with ushere.
Package: django-codenerix-email
Codenerix Email is a module that enablesCODENERIXto set send emails in a general manner.DemoYou can have a look to our demos online:CODENERIX Simple Agenda DEMO.CODENERIX Full ERP DEMO.You can find some working examples in GITHUB atdjango-codenerix-examplesproject.QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-email
For python 3: sudo pip3 install django-codenerix-emailAdd “codenerix_extensions” and “codenerix_email” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_extensions',
    'codenerix_email',
]Since Codenerix Email is a library, you only need to import its parts into your project and use them.DocumentationComing soon… do you help us?You can get in touch with ushere.
Package: django-codenerix-extensions
Codenerix Extensions is a module that enablesCODENERIXto set extensions on several platforms in a general manner.Featuresdjango-codenerix-extensions.corporate: Model for managing business’s informationdjango-codenerix-extensions.files: Abstract models and helpfull classes to simplify file handlingdjango-codenerix-extensions.geodata: Models for geolocation (Continents, Countries, Regions, cities, time zones, etc) and data gotten fromhttps://www.maxmind.com/DemoYou can have a look to our demos online:CODENERIX Simple Agenda DEMO.CODENERIX Full ERP DEMO.You can find some working examples in GITHUB atdjango-codenerix-examplesproject.QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-extensions
For python 3: sudo pip3 install django-codenerix-extensionsAdd “codenerix_extensions” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_extensions',
]Add the param in setting:# list of languages available for the translation of the content of the models
LANGUAGES_DATABASES = [‘ES’, ‘EN’]Since Codenerix Extensions is a library, you only need to import its parts into your project and use them.DocumentationComing soon… do you help us?You can get in touch with ushere.CreditsSeveral technologies have been used to build CODENERIX EXTENSIONS:Project nameLicenseOwnerLink to projectcrypto-jsMITJakub Zapletalhttps://github.com/jakubzapletal/crypto-js
Package: django-codenerix-geodata
Codenerix Geodata is a module that enablesCODENERIXto work with Geographical data. It includes models for geolocation (Continents, Countries, Regions, cities, time zones, etc) and data gotten fromhttps://www.maxmind.com/DemoYou can have a look to our demos online:CODENERIX Simple Agenda DEMO.CODENERIX Full ERP DEMO.You can find some working examples in GITHUB atdjango-codenerix-examplesproject.QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-geodata
For python 3: sudo pip3 install django-codenerix-geodataAdd “codenerix_geodata” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_geodata',
]Add the param in setting:# list of languages available for the translation of the content of the models
LANGUAGES_DATABASES = [‘ES’, ‘EN’]Since Codenerix Geodata is a library, you only need to import its parts into your project and use them.DocumentationComing soon… do you help us?You can get in touch with ushere.CreditsThe geographical data are offered byMaxmind, which is made available under Creative Commons Attribution 3.0
Package: django-codenerix-invoicing
Codenerix Invoicing is a module that enablesCODENERIXto manage bills.Changelog2018-01-17 - Codenerix Invoicing v1.x is incompatible with v2.x,what has changed and how to migrate to v2.x?.DemoComing soon…QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-invoicing
For python 3: sudo pip3 install django-codenerix-invoicingAdd “codenerix_extensions”, “codenerix_products”, “codenerix_storages” and “codenerix_invoicing” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_extensions',
    'codenerix_products',
    'codenerix_storages',
    'codenerix_invoicing',
]Add the param in setting:CDNX_INVOICING_URL_COMMON = 'invoicing'
CDNX_INVOICING_URL_PURCHASES = 'purchases'
CDNX_INVOICING_URL_SALES = 'sales'

CDNX_INVOICING_LOGICAL_DELETION = True  # Mark registers as 'removed', but it doesn't really delete them.

# Code format
CDNX_INVOICING_CODE_FORMAT_BUDGET = 'B{year}{day}{month}-{hour}{minute}-{serial}-{pk}'
CDNX_INVOICING_CODE_FORMAT_WISHLIST = 'W{year}{day}{month}-{hour}{minute}-{serial}-{pk}'
CDNX_INVOICING_CODE_FORMAT_SHOPPINGCART = 'S{year}{day}{month}-{hour}{minute}-{serial}-{pk}'
CDNX_INVOICING_CODE_FORMAT_ORDER = 'O{year}{day}{month}-{hour}{minute}-{serial}-{pk}'
CDNX_INVOICING_CODE_FORMAT_ALBARAN = 'A{year}{day}{month}-{hour}{minute}-{serial}-{pk}'
CDNX_INVOICING_CODE_FORMAT_TICKET = 'T{year}{day}{month}-{hour}{minute}-{serial}-{pk}'
CDNX_INVOICING_CODE_FORMAT_TICKETRECTIFICATION = 'TR{year}{day}{month}-{hour}{minute}-{serial}-{pk}'
CDNX_INVOICING_CODE_FORMAT_INVOICE = 'I{year}{day}{month}-{hour}{minute}-{serial}-{pk}'
CDNX_INVOICING_CODE_FORMAT_INVOICERECTIFCATION = 'IT{year}{day}{month}-{hour}{minute}-{serial}-{pk}'

CDNX_INVOICING_CURRENCY_MAX_DIGITS = 10  # 99.999.999,?
CDNX_INVOICING_CURRENCY_DECIMAL_PLACES = 2  # ?,99

# Force stock of products when you create SalesLines
CDNX_INVOICING_FORCE_STOCK_IN_BUDGET = TrueSince Codenerix Invoicing is a library, you only need to import its parts into your project and use them.DocumentationComing soon… do you help us?You can get in touch with ushere.
Package: django-codenerix-payments
Codenerix Payments is a module that enablesCODENERIXto manage payments and let clients to pay online.FeaturesPaypalRedsysChangelog2018-01-17 - Codenerix Payments v1.x is incompatible with v2.x,what has changed and how to migrate to v2.x?.DemoYou can have a look to our demos online:CODENERIX Simple Agenda DEMO.CODENERIX Full ERP DEMO.You can find some working examples in GITHUB atdjango-codenerix-examplesproject.QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-payments
For python 3: sudo pip3 install django-codenerix-paymentsAdd “codenerix_payments” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_payments',
]Since Codenerix Payments is a library, you only need to import its parts into your project and use them.DocumentationComing soon… do you help us?You can get in touch with ushere.
Package: django-codenerix-pos
Codenerix POS is a module that enablesCODENERIXto set Point Of Services on several platforms in a general mannerDemoComing soon…QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-pos
For python 3: sudo pip3 install django-codenerix-posAdd “codenerix_pos” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_pos',
]Since Codenerix Products is a library, you only need to import its parts into your project and use them.DocumentationComing soon… do you help us?You can get in touch with ushere.CreditsSeveral technologies have been used to build CODENERIX POS:Project nameLicenseOwnerLink to projectReconnecting WebsocketMITJoe Walneshttps://github.com/joewalnes/reconnecting-websocket
Package: django-codenerix-pos-client
Codenerix POS Client is a module that enables the system where it is installed to communicate with POS module fromCODENERIXDemoComing soon…QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-pos-client
For python 3: sudo pip3 install django-codenerix-pos-clientYou are done, now you can work with your new command “codenerix_pos_client”DocumentationComing soon… do you help us?You can get in touch with ushere.
Package: django-codenerix-products
Codenerix Products is a module that enablesCODENERIXto set products on several platforms in a general mannerChangelog2018-01-17 - Codenerix Products v1.x is incompatible with v2.x,what has changed and how to migrate to v2.x?.DemoYou can have a look to our demos online:CODENERIX Simple Agenda DEMO.CODENERIX Full ERP DEMO.You can find some working examples in GITHUB atdjango-codenerix-examplesproject.QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-products
For python 3: sudo pip3 install django-codenerix-productsAdd “codenerix_extensions” and “codenerix_products” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_extensions',
    'codenerix_products',
]Add in settings the params:# path for codenerix_products
CDNX_PRODUCTS_URL = "products"
# if you show the products without stock
CDNX_PRODUCTS_SHOW_ONLY_STOCK = False
# number of the days for one products to be considered new
CDNX_PRODUCTS_NOVELTY_DAYS = 5
# No force stock by default
CDNX_PRODUCTS_FORCE_STOCK = FalseSince Codenerix Products is a library, you only need to import its parts into your project and use them.DocumentationComing soon… do you help us?You can get in touch with ushere.
Package: django-codenerix-reviews
Codenerix Reviews is a module that enablesCODENERIXto add reviews to articles publishe with django-codenerix-cms.DemoComing soon…QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-reviews
For python 3: sudo pip3 install django-codenerix-reviewsAdd “codenerix_reviews” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_reviews',
]Add in settings the params:# path for codenerix_reviews
CDNX_REVIEWS = 'reviews'Since Codenerix Reviews is a library, you only need to import its parts into your project and use them.DocumentationComing soon… do you help us?You can get in touch with ushere.
Package: django-codenerix-storages
Codenerix Storages is a module that enablesCODENERIXto set storages on several platforms in a general mannerChangelog2018-01-17 - Codenerix Storages v1.x is incompatible with v2.x,what has changed and how to migrate to v2.x?.DemoComing soon…QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-storages
For python 3: sudo pip3 install django-codenerix-storagesAdd “codenerix_storages” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_extensions',
    'codenerix_storages',
]Add in settings the params:# path for codenerix_storages
CDNX_STORAGES = "storages"
# Format code for stock movement documents
CDNX_STORAGE_CODE_REQUEST_STOCK = 'RS{year}{day}{month}-{hour}{minute}--{number}'
CDNX_STORAGE_CODE_OUTGOING_ALBARAN = 'OA{year}{day}{month}-{hour}{minute}--{number}'
CDNX_STORAGE_CODE_INGOING_ALBARAN = 'IA{year}{day}{month}-{hour}{minute}--{number}'Since Codenerix Storages is a library, you only need to import its parts into your project and use them.DocumentationComing soon… do you help us?You can get in touch with ushere.
Package: django-codenerix-transports
Codenerix Transports is a module that enablesCODENERIXto manage transports and let clients to request transport of packages with known companies.FeaturesComming soon:MRWDemoYou can have a look to our demos online:CODENERIX Simple Agenda DEMO.CODENERIX Full ERP DEMO.You can find some working examples in GITHUB atdjango-codenerix-examplesproject.QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-transports
For python 3: sudo pip3 install django-codenerix-transportsAdd “codenerix_transports” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_transports',
]Since Codenerix Transports is a library, you only need to import its parts into your project and use them.DocumentationComing soon… do you help us?You can get in touch with ushere.CreditsSeveral technologies have been used to build CODENERIX TRANSPORTS:Project nameLicenseOwnerLink to projectSudsGNU Lesser GPLJurko Gospodnetichttp://bitbucket.org/jurko/sudsDjango CountriesMITChris Beavenhttps://github.com/SmileyChris/django-countries/
Package: django-codenerix-vending
Codenerix Vending is a module that enablesCODENERIXto work as a Point Of Sales system focused for business faced to final client (services, supermarkets & shops, examples: retaurants, petrol stations, clothes shops, grocery store, hardware store and others).DemoYou can have a look to our demos online:CODENERIX Simple Agenda DEMO.CODENERIX Full ERP DEMO.You can find some working examples in GITHUB atdjango-codenerix-examplesproject.QuickstartInstall this package:For python 2: sudo pip2 install django-codenerix-vending
For python 3: sudo pip3 install django-codenerix-vendingAdd “codenerix_vending” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'codenerix_vending',
]Add in settings the params:# add legal terms image to be printed on tickets from thermal printer
INFO_TERMS_VENDING = "img/terms_ticket_vending.png"Since Codenerix Vending is a library, you only need to import its parts into your project and use them.DocumentationComing soon… do you help us?You can get in touch with ushere.
Package: django-codesnip
Codesnip========Codesnip is a Django app to store code snippets with syntax highlighting.**This app requires [pygments](http://pygments.org/).**Detailed documentation is in the "docs" directory.Quick start-----------1.  Add "shortcodes" to your INSTALLED\_APPS setting like this:```pythonINSTALLED_APPS = [...'codesnip',]```2.  Run `python manage.py migrate` to create the Snippet model.3.  Start the development server and visit http://127.0.0.1:8000/admin/ tocreate a code snippet (you'll need the Admin app enabled).
Package: django-codetalker
Codetalker==========Codetalker is a simple Django app to include WordPress-like shortcodefunctionality.Detailed documentation is in the "docs" directory.Quick start-----------1.  Add "codetalker" to your INSTALLED\_APPS setting like this:```pythonINSTALLED_APPS = [...'codetalker',]```2.  Create a codetalker directory in your app to hold your parsers. Besure to create a blank `__init__.py`.3.  Parser functions should be defined like this:```pythondef codetalker_command(*args):... parse your command here...return html```Notice, no imports are required in your parser file.4.  Load `expand_codetalker` in your templates to have your 'shortcode' parsed:```{% load codetalker %}...{{ post.body|expand_shortcodes|safe }}...```
Package: django-codingsohodemo
=====django-codingsohodemo=====django-codingsohodmeo project is demo application  for codingsohoDetailed documentation is in the "docs" directory.Quick start-----------1. Add "codingsohodemo" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [...'codingsohodemo',]2. Include the polls URLconf in your project urls.py like this::url(r'^codingsohodemo/', include('codingsohodemo.urls')),3. Run `python manage.py migrate` to create the codingsohodemo models.4. Start the development server and visit http://127.0.0.1:8000/admin/to create a models if needed (you'll need the Admin app enabled).5. Visit http://127.0.0.1:8000/codingsohodemo/ to participate in the poll.
Package: django-coffeescript
THIS PACKAGE IS NOT MAINTAINED.Please usedjango-static-precompilerDjango CoffeeScriptDjango CoffeeScript provides template tags to compile CoffeeScript into JavaScript from templates.
It works with both inline code and extenal files.InstallationAdd"coffeescript"toINSTALLED_APPSsetting.Make sure that you havecoffeeexecutable installed. SeeCoffeeScript official sitefor details.Optionally, you can specify the full path tocoffeeexecutable withCOFFEESCRIPT_EXECUTABLEsetting.
By default it’s set tocoffee.In case you use Django’s staticfiles contrib app you have to add django-coffeescript’s file finder to theSTATICFILES_FINDERSsetting, for example :STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
    # other finders..
    'coffeescript.finders.CoffeescriptFinder',
)Example UsageInline{% load coffeescript %}

<script type="text/javascript">
  {% inlinecoffeescript %}
    console.log "Hello, World!"
  {% endinlinecoffeescript %}
</script>renders to<script type="text/javascript">
    (function() {
  console.log("Hello, World!");
}).call(this);

  </script>External file{% load coffeescript %}

<script type="text/javascript"
        src="{{ STATIC_URL}}{% coffeescript "path/to/script.coffee" %}">
</script>renders to<script type="text/javascript"
        src="/media/COFFEESCRIPT_CACHE/path/to/script-91ce1f66f583.js">
</script>Note that by default compiled files are saved intoCOFFEESCRIPT_CACHEfolder under yourSTATIC_ROOT(orMEDIA_ROOTif you have noSTATIC_ROOTin your settings).
You can change this folder name withCOFFEESCRIPT_ROOTandCOFFEESCRIPT_OUTPUT_DIRsettings.SettingsCOFFEESCRIPT_EXECUTABLEPath to CoffeeScript compiler executable. Default:"coffee".COFFEESCRIPT_ROOTControls the absolute file path that compiled files will be written to. Default:STATIC_ROOT.COFFEESCRIPT_OUTPUT_DIRControls the directory insideCOFFEESCRIPT_ROOTthat compiled files will be written to. Default:"COFFEESCRIPT_CACHE".COFFEESCRIPT_USE_CACHEWhether to use cache for inline scripts. Default:True.COFFEESCRIPT_CACHE_TIMEOUTCache timeout for inline scripts (in seconds). Default: 30 days.COFFEESCRIPT_MTIME_DELAYCache timeout for reading the modification time of external scripts (in seconds). Default: 10 seconds.Changes0.7.2Use hashlib instead of django.utils.hashcompat which is deprecated in Django 1.50.7.1Always create a compiled file, even if no output was received from compiler0.7Add COFFEESCRIPT_ROOT settingAdd staticfiles finder to serve compiled files in dev mode0.6Switch to staticfiles.finders when looking up the files in DEBUG mode.0.5.1Add support for STATICFILES_DIRS with prefixes0.5When in DEBUG mode lookup coffee scripts in all STATICFILES_DIRS0.4Log coffeescript compilation errorsFixed bug with paths on Windows (by syabro)0.3Use STATIC_ROOT / STATIC_URL settings when possible instead of MEDIA_ROOT / MEDIA_URL (by Roman Vorushin)0.2.1Add CHANGES.rst to MANIFEST.in0.2Automatically remove old files from COFFEESCRIPT_CACHEAdd basic unit tests0.1Initial release