{"repo":"fedspendingtransparency/usaspending-api","free":true,"listed":false,"github":"https://github.com/fedspendingtransparency/usaspending-api","clone":"git clone https://github.com/fedspendingtransparency/usaspending-api.git","description":"Server application to serve U.S. federal spending data via a RESTful API","language":"Python","stars":461,"topics":["database-setup","postgres-database","docker","python3","postgresql","elasticsearch","api","django","django-rest-framework","local-database"],"license":"CC0-1.0","category":"api-integrations-sdks","readme_excerpt":"This API is utilized by USAspending.gov to obtain all federal spending data which is open source and provided to the public as part of the DATA Act. Creating a Development Environment Ensure the following dependencies are installed and working prior to continuing: Requirements - docker which will handle the other application dependencies. - docker compose - bash or another Unix Shell equivalent - Bash is available on Windows as Windows Subsystem for Linux - git - make for running build/test/run targets in the Makefile . (Run $ make for a list of targets.) If not using Docker, you'll need to install app components on your machine: Using Docker is recommended since it provides a clean environment. Setting up your own local environment requires some technical abilities and experience with modern software tools. - Command line package manager - Windows' WSL bash uses apt - MacOS users can use Homebrew - Linux users already know their package manager ( yum , apt , pacman , etc.) - PostgreSQL version 13.x (with a dedicated data store api database) - Elasticsearch version 7.1 - Python version 3.10 environment - Highly recommended to use a virtual environment. There are various tools and associated instructions depending on preferences - See Required Python Libraries for an example using uv - uv python package/project manager Cloning the Repository Now, navigate to the base file directory where you will store the USAspending repositories Environment Variables Choose an option between","default_branch":null,"files":null,"tree":[],"storefront":"/r/fedspendingtransparency","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fedspendingtransparency/usaspending-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}