Metadata-Version: 1.1
Name: django-gusregon
Version: 0.0.2
Summary: GUS REGON Internet Database Client
Home-page: https://github.com/bogdal/django-gusregon
Author: Adam Bogdal
Author-email: adam@bogdal.pl
License: UNKNOWN
Description: django-gusregon
        ===============
        
        `GUS (Główny Urząd Statystyczny) REGON <https://wyszukiwarkaregon.stat.gov.pl/appBIR/index.aspx>`_ Internet Database client which allows to get detailed information about company based on NIP, Regon or KRS number.
        
        
        Quickstart
        ----------
        
        Install the package via ``pip``:
        
        .. code-block:: bash
        
            pip install django-gusregon
        
        
        Usage
        -----
        
        .. code-block:: python
        
            from django import forms
            from gusregon.gus import GUS
        
            class MyForm(forms.Form):
                nip = forms.CharField()
        
            ...
        
            form = MyForm(data=request.POST or None)
            if form.is_valid():
                gus = GUS()
                company_details = gus.search(form.cleaned_data.get('nip'))
        
        
        API
        
        .. code-block:: python
        
            from gusregon.gus import GUS
            
            gus = GUS()
            gus.search(nip='..')
            gus.search(krs='..')
            gus.search(regon='..')
        
        
        For more information, see `GUS <https://github.com/bogdal/django-gusregon/blob/master/gusregon/gus.py>`_ api class.
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
