semvec/pypi-packages huggingface dataset:
mapizy-property-analytics 0.1.4
Python API for Mapizy Property Analytics
License: MIT

# Mapizy Property Analytics- Python API

Property analytics is an machine learning based engine that helps industries like insurance, real-estate, and etc. Python API is useful to use Mapizy property analytics to developers simply using python language.

## Usage

1. First please register and make an account in [Mapizy Studio](https://mapizy-studio.com) and purchase the appropriate pricing plan or use the Free Tier mode.

2. Go to API section and make API_key and API_url for your account.

3. Install the package using 
   ​	

   ```C
   pip install mapizy-property-analytics
   ```

4. If you want to process analysis for a specific property you can use the following code:

   ```python
   from mapizy_property_analytics import mapizy_property_analytics
   API_url = '<YOUR API URL>'
   API_key = '<YOUR API KEY>'
   Address = '<The property address>' # example: '5 Pele Ave Salisbury East Salisbury SA 5109'
   First_date = '<First date in YYYY-MM-DD format>' # example: '2018-01-01
   Last_date = '<Last date in YYYY-MM-DD format>' # example: '2020-01-01
   Frequency = '<Image retrive frequency, can be 2-yearly, yearly, half-yearly, quarterly>'
   Analyse_type = '<Analyse type can be change or latest>' # example: 'change'
   mapizy_property_analytics.development_API(API_url,API_key,Address = Address,\
                                 First_date= First_date,Last_date = Last_date,\
                                 Frequency = Frequency,Analyse_type = Analyse_type)
   ```

5. All done
django-rangefilter 0.9.1
django-rangefilter app, add the filter by a custom date and numeric range on the admin UI.
License: MIT
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
Keywords: django admin date numeric filter

.. image:: https://github.com/silentsokolov/django-admin-rangefilter/workflows/build/badge.svg?branch=master
   :target: https://github.com/silentsokolov/django-admin-rangefilter/actions?query=workflow%3Abuild

.. image:: https://codecov.io/gh/silentsokolov/django-admin-rangefilter/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/silentsokolov/django-admin-rangefilter

django-admin-rangefilter
========================

A Django app that adds a filter by date range to the admin UI.

.. image:: https://raw.githubusercontent.com/silentsokolov/django-admin-rangefilter/master/docs/images/screenshot.png


Requirements
------------

* Python 2.7+ or Python 3.6+
* Django 1.8+


Installation
------------

Use your favorite Python package manager to install the app from PyPI, e.g.

Example:

``pip install django-rangefilter``


Add ``rangefilter`` to ``INSTALLED_APPS``:

Example:

.. code:: python

    INSTALLED_APPS = (
        ...
        'rangefilter',
        ...
    )


Example usage
-------------

In admin
~~~~~~~~

.. code:: python

    from django.contrib import admin
    from rangefilter.filters import DateRangeFilter, DateTimeRangeFilter

    from .models import Post


    @admin.register(Post)
    class PostAdmin(admin.ModelAdmin):
        list_filter = (
            ('created_at', DateRangeFilter), ('updated_at', DateTimeRangeFilter),
        )
        
        # If you would like to add a default range filter
        # method pattern "get_rangefilter_{field_name}_default"
        def get_rangefilter_created_at_default(self, request):
            return (datetime.date.today, datetime.date.today)

        # If you would like to change a title range filter
        # method pattern "get_rangefilter_{field_name}_title"
        def get_rangefilter_created_at_title(self, request, field_path):
            return 'custom title'


Support Content-Security-Policy
-------------------------------

For Django 1.8+, if `django-csp <https://github.com/mozilla/django-csp>`_ is installed, nonces will be added to style and script tags.
The setting `ADMIN_RANGEFILTER_NONCE_ENABLED` controls this behavior.

.. code:: python

    INSTALLED_APPS = (
        ...
        'rangefilter',
        'csp',
        ...
    )