Skip to main content

GUS (Główny Urząd Statystyczny) REGON Internet Database client which allows to get detailed information about company based on NIP, Regon or KRS number.

Quickstart

Install the package via pip:

pip install django-gusregon

Usage

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

from gusregon.gus import GUS

gus = GUS()
gus.search(nip='..')
gus.search(krs='..')
gus.search(regon='..')

For more information, see GUS api class.

Metadata

Release files for django-gusregon 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-gusregon 0.0.2
File Size Uploaded
django-gusregon-0.0.2.tar.gz 2.7 kB Details

Release files / django-gusregon-0.0.2.tar.gz

Download URL django-gusregon-0.0.2.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cfa7b56f0c49a0d1ec1f63dc936da9ed74f9f40eb0f239125cff5829bcc43bbb
BLAKE2b-256 checksum
How to use checksums
94e074be4595be4ea1be201b798bc16e8579e4028bf46dd7455404e6728cf187
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page