Two simple examples of quickly loading data into PostgreSQL with the COPY command.
First, loading data to a database on your own computer in localhost.sh
Second, loading data to a database hosted on the Internet in cloud.sh
Much more sophisticated stuff is possible. Refer to the official docs and consider adopting a wrapper like django-postgres-copy for more complicated tasks.