Skip to main content

Manage and load Budget Data Packages

Project description

Extension of datapackage which provides a BudgetResource class for creating a Budget Data Package resource which is a drop in replacement for datapackage.Resource.

from budgetdatapacakge import BudgetResource
from datapackage import DataPackage

# Create BudgetResource which has a lot of requirements
budget = BudgetResource(
    currency='ISK',
    dateLastUpdated='2014-04-22',
    datePublished='1982-04-22',
    fiscalYear='2014',
    granularity='transactional',
    status='approved',
    type='expenditure',
    location='IS',
    url='http://iceland.is/budgets.csv')
# Create Budget Data Package
budget_dpkg = DataPackage(
    name="icelandic-budget", license="PDDL", resources=[budget])

License

budgetdatapackage is available under the GNU General Public License, version 3. See LICENCE for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

budgetdatapackage-0.0.3.tar.gz (21.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page