{"id":19211813,"url":"https://github.com/joedborg/pyduedil","last_synced_at":"2026-06-10T21:32:13.105Z","repository":{"id":11594187,"uuid":"14085518","full_name":"joedborg/PyDueDil","owner":"joedborg","description":"A Python bind to the DueDil API","archived":false,"fork":false,"pushed_at":"2013-11-16T12:10:34.000Z","size":172,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T08:16:42.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"josephb.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joedborg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-03T13:07:52.000Z","updated_at":"2013-11-16T19:07:36.000Z","dependencies_parsed_at":"2022-07-25T20:00:26.426Z","dependency_job_id":null,"html_url":"https://github.com/joedborg/PyDueDil","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joedborg%2FPyDueDil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joedborg%2FPyDueDil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joedborg%2FPyDueDil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joedborg%2FPyDueDil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joedborg","download_url":"https://codeload.github.com/joedborg/PyDueDil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240286506,"owners_count":19777354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T13:44:47.971Z","updated_at":"2025-11-13T21:02:07.816Z","avatar_url":"https://github.com/joedborg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"PyDueDil\n========\nA Python bind to the DueDil API\n\nInstallation\n------------\nTo install, clone to the site-packages directory, or any other in the PYTHONPATH.\n\nUsage\n-----\nWhen an API_KEY is specified, it is saved to `~/.pyduedil_key`, so isn't required after.  It will be overwritten if specified again.\n\nTo search for companies, returning a generator of Company instances...\n```python\n\u003e\u003e\u003e from PyDueDil.companies import Companies\n\u003e\u003e\u003e API_KEY = 'aaaaaaaaaaaaaaaaaaaaaaaa'\n\u003e\u003e\u003e Companies(API_KEY).search('Google')\n\n\u003cgenerator object search at 0x10a8d6870\u003e\n```\n\nThen use the id to create a company instance...\n```python\n\u003e\u003e\u003e google = Company('04533788', key=API_KEY)\n```\n...this creates an object with attributes...\n```python\ngoogle.accountsType                   google.directorshipsTotal             google.regTps\ngoogle.companyType                    google.id                             google.sicCode\ngoogle.creditRatingLatestDescription  google.incorporationDate              google.sicCodesCount\ngoogle.directorsTotal                 google.latestAnnualReturnDate         google.sicDescription\ngoogle.directorshipsClosed            google.name                           google.status\ngoogle.directorshipsClosedDirector    google.regAddress1                    google.tradingAddress1\ngoogle.directorshipsClosedSecretary   google.regAddress2                    google.tradingAddress2\ngoogle.directorshipsRetired           google.regAddress3                    google.tradingAddress4\ngoogle.directorshipsRetiredDirector   google.regAddressPostcode             google.tradingAddressPostcode\ngoogle.directorshipsRetiredSecretary  google.regAreaCode\n\n\u003e\u003e\u003e google.companyType\n\nu'Private limited with share capital'\n```\n...or, to get a dictionary, use...\n```python\n\u003e\u003e\u003e google = Company(API_KEY, '04533788').__dict__\n\n{'_id': '04533788',\n '_key': 'mfvzb5fbs452g2tvdd3gdgf2',\n '_url': 'http://api.duedil.com/v2/company/04533788.json?',\n 'accountsType': u'0',\n 'companyType': u'Private limited with share capital',\n 'creditRatingLatestDescription': u'Company is dissolved',\n 'directorsTotal': 4,\n 'directorshipsClosed': 3,\n 'directorshipsClosedDirector': 2,\n 'directorshipsClosedSecretary': 1,\n 'directorshipsRetired': 2,\n 'directorshipsRetiredDirector': 1,\n 'directorshipsRetiredSecretary': 1,\n 'directorshipsTotal': 5,\n 'id': u'04533788',\n 'incorporationDate': u'2002-09-12',\n 'latestAnnualReturnDate': u'2003-09-12',\n 'name': u'GOOGLE LIMITED',\n 'regAddress1': u'176 THE MOUNT',\n 'regAddress2': u'GELDERD ROAD',\n 'regAddress3': u'LEEDS',\n 'regAddressPostcode': u'LS12 6DL',\n 'regAreaCode': u'LS12',\n 'regTps': u'N',\n 'sicCode': u'7487',\n 'sicCodesCount': 1,\n 'sicDescription': u'Other business activities not elsewhere classified',\n 'status': u'Dissolved',\n 'tradingAddress1': u'176 The Mount',\n 'tradingAddress2': u'Gelderd Road',\n 'tradingAddress4': u'Leeds',\n 'tradingAddressPostcode': u'LS12 6DL'}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoedborg%2Fpyduedil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoedborg%2Fpyduedil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoedborg%2Fpyduedil/lists"}