forked from XPUB/XPPL
script to import csv to db
parent
adad33c18a
commit
e6bc9a7ff9
@ -0,0 +1,22 @@
|
||||
#import click
|
||||
#from flask import Flask
|
||||
from app import app, db
|
||||
from app.models import Book
|
||||
from csv import DictReader
|
||||
import argparse
|
||||
|
||||
ap = argparse.ArgumentParser("import csv into flask")
|
||||
ap.add_argument("csv", help = "csv file to import")
|
||||
ap.add_argument("--limit", type=int, default = None, help = "limit to x number of x")
|
||||
args = ap.parse_args()
|
||||
|
||||
print(args)
|
||||
|
||||
#app = Flask(__name__)
|
||||
books = db.session.query(Book).all()
|
||||
#print(books)
|
||||
|
||||
# @app.cli.command()
|
||||
# @click.argument('name')
|
||||
# def import_csv(name):
|
||||
# print("hello")
|
@ -0,0 +1,171 @@
|
||||
Title,Author,Shelf,Format,OCR,Downloaded,Origin
|
||||
Mac OS X Leopard Edition,David Pogue,Technical,pdf,1,1,LibGen
|
||||
The Qmail Handbook,Dave Sill,Technical,pdf,1,1,LibGen
|
||||
Hardening Network Infrastructure: Bulletproof Your Systems Before You Are Hacked!,Wes Noonan,Technical,"chm, pdf",1,1,LibGen
|
||||
Cocoa Programming for Mac OS X Second Edition,Aaron Hillegaas,Technical,pdf,1,1,LibGen
|
||||
LDAP System Administration,Gerald Carter,Technical,pdf,1,1,LibGen
|
||||
Learning Unix for Mac OS X,"Dave Taylor, Jerry Peek",Technical,pdf,1,1,LibGen
|
||||
Mac OS X Panther for Unix Geeks,"Brian Jepson, Ernest E. Rothman",Technical,"chm, pdf",1,1,LibGen
|
||||
Linux System Administration,"Tom Adelstein, Bill Lubanovic",Technical,pdf,1,1,LibGen
|
||||
Managing and Using MYSQL,"Tim King, George Reese, Randy Yarger, Hugh E. Williams, Randy Jay Yarger",Technical,"chm, pdf",1,1,LibGen
|
||||
MYSQL In a Nutshell,Russell Dyer,Technical,pdf,1,1,LibGen
|
||||
Actionscript for Flash MX: The Definitive Guide,Colin Moock,Technical,pdf,1,1,LibGen
|
||||
Programming Firefox,Kenneth C Feldt,Technical,pdf,1,1,LibGen
|
||||
Learning PHP and MYSQL,Michele E Davis; Jon A Phillips,Technical,pdf,1,1,LibGen
|
||||
Learning the Bash Shell,"Cameron Newham, Bill Rosenblatt",Technical,pdf,1,1,LibGen
|
||||
GNU Emacs Pocket Reference,Debra Cameron,Technical,pdf,1,1,LibGen
|
||||
SQL Pocket Guide,Jonathan Gennick,Technical,pdf,1,1,LibGen
|
||||
HTML Pocket Reference,Jennifer Niederst Robbins,Technical,pdf,1,1,LibGen
|
||||
Regular Expression Pocket Reference,Tony Stubblebine,Technical,"chm, pdf",1,1,LibGen
|
||||
Apache 2 Pocket Reference,Andrew Ford,Technical,,,0,
|
||||
CSS Pocket Reference,Eric A. Meyer,Technical,pdf,1,1,LibGen
|
||||
vi Editor Pocket Reference,Arnold Robbins,Technical,"epub, pdf",1,1,LibGen
|
||||
The Book of Inkscape,Dmitry Kirsanov,Technical,pdf,1,1,MOTW
|
||||
Working with Mediawiki,Yaron Koren,Technical,pdf,1,1,LibGen
|
||||
Beginning Game Development with Python and Pygame,Will McGugan,Technical,pdf,1,1,LibGen
|
||||
"Game Programming with Python, Lua, and Ruby 1 edition",Gutschmidt T.,Technical,pdf,1,1,
|
||||
Data Modeling for Everyone,Sharon Allen,Technical,,,0,
|
||||
The Ultimate Guide to the Vi and Ex Text Editors,Hewlett-Packard,Technical,,,0,
|
||||
Getting Gread Sounds: The Microphone Book,Tom Lubin,Technical,,,0,
|
||||
How to Think Like a Computer Scientist,"Allen B. Downey, Jeffrey Elkner, Chris Meyers",Technical,pdf,1,1,LibGen
|
||||
Python Pocket Reference,Mark Lutz,Technical,pdf,,1,LibGen
|
||||
Things That Talk,Lorraine Daston (Editor),Science/History,,,,
|
||||
The Social Construction of What?,Ian Hacking,Science/History,pdf,1,1,LibGen
|
||||
Instruments and the Imagination,Hankins & Silverman,Science/History,,,,
|
||||
"Mind, Machines and Human Consciousness",Robert Nadeau,Science/History,,,,
|
||||
The Psychopath Test,Jon Ronson,Science/History,pdf,1,1,LibGen
|
||||
The Selfish Gene,Richard Dawkins,Science/History,pdf,1,1,LibGen
|
||||
Pandora's Hope,Bruno Latour,Science/History,pdf,1,1,LibGen
|
||||
The New Spirit of Capitalism,Luc Boltanski & Eve Chiapello,Science/History,pdf,1,1,LibGen
|
||||
Distinction: A Social Critique of the Judgement of Taste,Pierre Bourdieu,Science/History,,,,
|
||||
"The Political Economy of Media: Enduring Issues, Emerging Dilemmas",Robert W. McChesney,Science/History,,,,
|
||||
The Dustbin of History,Greil Marcus,Science/History,,,,
|
||||
Inventing The Victorians,Matthew Sweet,Science/History,,,,
|
||||
Age of the Extremes: The Short Twentieth Century 1914-1991,Eric Hobsbawm,Science/History,pdf,1,1,LibGen
|
||||
Lipstick Traces,Greil Marcus,Science/History,,,,
|
||||
False Dawn: The Delusions of Global Capitalism,John Gray,Science/History,epub,1,1,LibGen
|
||||
Debt: The First 5000 Years,David Graeber,Science/History,,,,
|
||||
Georges Bataille: An Intellectual Biography,Michel Surya,Science/History,,,,
|
||||
The Enlightenment Reader,,Science/History,,,,
|
||||
The Century,Alain Badiou,Science/History,pdf,0,1,
|
||||
Rethinking Media Pluralism,Karppinen,Science/History,,,,
|
||||
The Philosophy of Symbolic Forms,Ernst Cassirer,Science/History,pdf,1,1,
|
||||
Archaeology,"Olsen, Shanks, Webmoor, Witmore",Science/History,,,,
|
||||
The Chomsky Reader,"Noam Chomsky, James Peck (Editor)",Science/History,epub,1,1,
|
||||
The Society of Mind,Marvin Minsky,Science/History,pdf,1,1,
|
||||
Interference: A Grand Scientific Musical Theory,Richard Merrick,Science/History,,,,
|
||||
Understanding media economics,Gillian Doyle,Media studies,pdf,,1,Libgen
|
||||
Convergence culture,Henry Jenkins,Media studies,pdf,,1,Libgen
|
||||
Digital Labor,Trebor Scholz,Media studies,pdf,,1,MOTW
|
||||
The culture of connectivity,Jose van Dijck,Media studies,pdf,,1,MOTW
|
||||
Anti-Media,Florian Cramer,Media studies,,,0,
|
||||
Holding On to Reality: The Nature of Information at the Turn of the Millennium,Albert Borgman,Media studies,pdf,,1,Libgen
|
||||
Organized Networks,Ned Rossiter,Media studies,pdf,,1,MOTW
|
||||
Over Mediatheorie,Arjen Mulder,Media studies,,,0,
|
||||
Post Truth,Matthew d'Ancona,Media studies,,,0,
|
||||
Weapons of Math Destruction,Cathy O'Neil,Media studies,EPUB,,1,Libgen
|
||||
Media Ecologies: Materialist Energies in Art and Technoculture,Matthew Fuller,Media studies,pdf,,1,MOTW
|
||||
The Internet Is Not The Answer,Andrew Keen,Media studies,pdf,,1,Libgen
|
||||
Wired for war - Robotics revolution and conflict in the 21st century,P. W. Singer,Media studies,EPUB,,1,Libgen
|
||||
Interface Culture,Steven Johnson,Media studies,pdf,,1,MOTW
|
||||
The Interface Effect,Alexander R. Galloway,Media studies,pdf,,1,Libgen
|
||||
Present Shock: When Everything Happens Now,Douglas Rushkoff,Media studies,EPUB,,1,MOTW
|
||||
Bastard Culture!: How User Participation Transforms Cultural Production,Mirko Tobias Schäfer,Media studies,pdf,,1,Libgen
|
||||
Media Virus! Hidden Agendas in Popular Culture,Douglas Rushkoff,Media studies,pdf,,1,Libgen
|
||||
Loving Big Brother: Surveillance Culture and Performance Space,John McGrath,Media studies,pdf,,1,Libgen
|
||||
Selections from Cultural Writings,Antonio Gramsci,Media studies,,,0,
|
||||
Dark Money: The Hidden History of the Billionairs behind the Rise of the Radical Right,Jane Mayer,Media studies,EPUB,,1,Libgen
|
||||
Walter Benjamin for beginners,"Howard Caygill, Alex Coles, Richard Appignanesi",Media studies,,,0,
|
||||
What is Situationism? A Reader,Stewart Home (ed.),Media studies,pdf,1,1,MOTW
|
||||
Cyburbia,James Harkin,Media studies,,,0,
|
||||
Mondothèque::a radiated book/un livre irradiant/een irradiërend boek,"Matthew Fuller +, Sînziana Păltineanu +, Michael Murtaugh +, Dennis Pohl +, ShinJoung Yeo +, Femke Snelting +, Natacha Roussel +, Dick Reckard +, Geraldine Juárez +, Tomislav Medak +, Marcell Mars +, Dušan Barok + and Alexia de Visscher +",Media studies,pdf,1,1,Monoskop
|
||||
Save and Forget,Thomas Walskaar,Media studies,pdf,1,1,Academia.edu
|
||||
The World Explained,Erick Beltran,Media studies,,,0,
|
||||
Information - Documents of Contemporary Art,Sarah Cook,Media studies,,,0,
|
||||
Postscript on the Societies of Control ,Gilles Deleuze,Media studies,pdf,1,1,Jstor
|
||||
Ethics Subjectivity and Truth,Michel Foucault,Media studies,pdf,,1,Monoskop
|
||||
The Infinite Conversation,Maurice Blanchot,Media studies,pdf,,1,MOTW
|
||||
Identity and Difference,Martin Heidegger,Media studies,pdf,,1,Someones personal blog that exposed an attachment link via Google
|
||||
Jean Paul A Reader,Timothy J. Casey (ed.),Media studies,,,0,
|
||||
The Ear of the Other,Jaques Derrida,Media studies,pdf,,1,Monoskop
|
||||
Statements on Appropriation (London Version),Michaelis Pichler,Media studies,,,0,
|
||||
An Introduction to Western Philosophy,Antony Flew,Philosophy,,,0,
|
||||
The Postmodern Turn,Best Kellner,Philosophy,,,0,
|
||||
Ideology,Terry Eagleton,Philosophy,pdf,,1,Libgen
|
||||
Ludwig Wittgenstein,Ray Monk,Philosophy,pdf,,1,Libgen
|
||||
The Human Condition,Hannah Arendt,Philosophy,pdf,,1,Libgen
|
||||
Introducing Foucault,"Chris Horrocks, Zoran Jevtic",Philosophy,pdf,,1,Libgen
|
||||
The Lives of Michel Foucault,David Mcey,Philosophy,pdf,,1,Libgen
|
||||
Discipline and Punish,Michel Foucault,Philosophy,pdf,,1,Libgen
|
||||
Logic of Scientific Discovery,Popper K.,Philosophy,pdf,,1,Libgen
|
||||
Intensive Science and Virtual Philosophy,Manuel DeLanda,Philosophy,pdf,,1,Libgen
|
||||
Kant and the Platypus: Essays on Language and Cognition,"Umberto Eco, Alastair McEwen",Philosophy,pdf,,1,Libgen
|
||||
Turning Back the Clock,Umberto Eco,Philosophy,,,0,
|
||||
Travels in hyper reality : essays,"Umberto Eco, William Weave",Philosophy,pdf,,1,Libgen
|
||||
On revolution,Hannah Arendt,Philosophy,pdf,,1,Libgen
|
||||
Introducing Kant,Christopher Want; Andrzej Klimowski,Philosophy,pdf,,1,Libgen
|
||||
The Perfect Crime,Jean Baudrillard,Philosophy,pdf,,1,Libgen
|
||||
Introducing Baudrillard,"Chris Horrocks, Zoran Jevtic",Philosophy,pdf,,1,Libgen
|
||||
The structure of scientific revolutions,Thomas S. Kuhn,Philosophy,pdf,,1,Libgen
|
||||
The World Turned Upside Down: Radical Ideas During the English Revolution,Christopher Hill,Philosophy,pdf,,1,Libgen
|
||||
On Wine and Hishish,Charles Baudelaire,Philosophy,,,0,
|
||||
Lacan For Beginners,"Phillip Hill, David Leach",Philosophy,pdf,,1,Libgen
|
||||
Late Marxism,Frederic Jameson,Philosophy,,,0,
|
||||
Adorno,Martin Jay,Philosophy,,,0,
|
||||
Dialectic of Enlightenment,"Max Horkheimer, Theodor Adorno, Gunzelin Noeri, Edmund Jephcott",Philosophy,pdf,,1,Libgen
|
||||
Walter Benjamin: A Biography,Momme Brodersen,Philosophy,,,0,
|
||||
A Thousand Years of Nonlinear History,Manuel De Landa,Philosophy,pdf,,1,Libgen
|
||||
Barthes: Selected Writings,Roland Barthes,Philosophy,,,0,
|
||||
Camera Lucida: Reflections on Photography,Roland Barthes,Philosophy,pdf,,1,Libgen
|
||||
Derrida For Beginners,"Jim Powell, Van Howell",Philosophy,pdf,,1,Libgen
|
||||
System and Writing in the Philosophy of Jacques Derrida,Christopher Johnson,Philosophy,pdf,,1,Libgen
|
||||
Exploring Humans,"H. Dooremalen , H. de Regt , MP Schouten",Philosophy,,,0,
|
||||
"Urheberrecht im Alltag: Kopieren, bearbeiten, selber machen",Valie Djordjevic / Robert A. Gehring / Volker Grassmuck / Till Kreutzer / Matthias Spielkamp (Hrsg.),Computer culture,,,,
|
||||
DATA browser 02: Engineering Culture,"Joasia Krysa, Geoff Cox (editors)",Computer culture,pdf,1,1,Monoskop
|
||||
DATA browser 01: Economising Culture,"Joasia Krysa, Geoff Cox (editors)",Computer culture,pdf,1,1,data browser site
|
||||
"The Mag.net reader 3, Processual Publishing. Actual Gesture","Alessandro Ludovico, Nat Muller (editors)",Computer culture,pdf,1,1,post digital print
|
||||
New Media Art,"Mark Tribe, Reena Jana",Computer culture,,,,
|
||||
Digital Prohibition,Carolyn Guertin,Computer culture,pdf,1,1,academia.edu
|
||||
The Cathedral & The Bazaar,Eric Raymond,Computer culture,pdf,1,1,Monoskop
|
||||
The Code Book,Simon Singh,Computer culture,pdf,1,1,LibGen
|
||||
DiY Survival // There is No Subculture Only Subversion,"Betti Marenko, Leon C6",Computer culture,pdf,1,1,academia.edu
|
||||
Guide to Open Content Licenses,Lawrence Liang,Computer culture,pdf,1,1,
|
||||
DATA browser 3: Curating Immateriality,Joasia Krysa (editor),Computer culture,pdf,1,1,Monoskop
|
||||
Formen interaktiver Medienkunst,"Gendolla, Schmirz, Schneider, Spangenberg (Hg)",Computer culture,pdf,1,1,http://theartgalleryofknoxville.com/ocl_v1.2.pdf
|
||||
Oulipo Compendium,"Harry Mathews, Alastair Brotchie",design / writing / publishing,,,,
|
||||
Convergence: The International Journal of Research into New Media Technologies - Volume 12 Number 3 August 2004,,Computer culture,,,,
|
||||
Perl for Web Site Management,,Computer culture,,,,
|
||||
Seven Hundred Penguins,,design / writing / publishing,,,,
|
||||
Mondotheque: a radiated book / un livre irradiant / een iradierend boek,"André Castro, Sînziana Păltineanu,Dennis Pohl,Dick Reckard,Natacha Roussel,Femke Snelting,Alexia de Visscher",Computer culture,pdf,1,1,Monoskop
|
||||
An Atlas of Typeforms,"James Sutton, Alan Bartram",design / writing / publishing,,,,
|
||||
Structure of the Visual Book,Keith Smith,design / writing / publishing,,,,
|
||||
The Uses of Literacy,Richard Hoggart,design / writing / publishing,pdf,0,1,Monoskop
|
||||
Control and Freedom: Power and Paranoia in the Age of Fiber Optics,Wendy Hui Kyong Chun,desk,pdf,1,1,LibGen
|
||||
The New Media Reader,"Noah Wardrip-Fruin, Nick Montfort (editors)",desk,pdf,1,1,LibGen
|
||||
Art and Electronic Media,Edward A. Shanken,Art,,,0,
|
||||
The Situationist City,Simon Sadler,Art,pdf,1,1,Monoskop
|
||||
The Absolute Report: Time Space Code Memory,,Art,,1,1,Monoskop
|
||||
Ashes and Broken Brickwork of a Logical Theory,Susanne Kriemann,Art,,,0,
|
||||
Surrealist Painters and Poets: An Anthology,Mary Ann Caws,Art,,,1,LibGen
|
||||
Guy Debord and the Situationists International,Tom McDonough,Art,,1,1,MOTW
|
||||
A Bed a Chair and a Table,"Natasha Berting, Angeliki Diakrousi, Joca van der Horst, Alexander Roidl, Alice Strete, Zalan Szakacs",Special Issue,,1,1,Special Issue
|
||||
Software Studies \ a lexicon,Matthew Fuller,Desk,pdf,1,1,dm.ncl.ac.uk/courseblog/files/2010/02/softwarestudies.pdf
|
||||
"The Rise of the Network Society, With a New Preface: Volume I: The Information Age: Economy, Society, and Culture (Information Age Series)",Manuel Castells,Desk,"epub, pdf",1,1,Libgen
|
||||
I Read Where I Am: Exploring New Information Cultures,"Andrew Blauvelt (Author), Mieke Gerritzen (Editor), Geert Lovink (Editor), Minke Kampman (Editor)",Desk,pdf,1,1,Libgen
|
||||
"»Present Continuous Past(s)«: Media Art. Strategies of Presentation, Mediation and Dissemination","Ursula Frohne, Mona Schieren, Jean-François Guiton (eds.)",Desk,pdf,1,1,Libgen
|
||||
exquisite_code,exquisite_code collective,Desk,book,,,Aymeric
|
||||
Uncreative Writing,Kenneth Goldsmith,Digital (Steve Trim 2 reading),epub,1,1,Steve
|
||||
The Electronic Revolution,William Burroughs,Digital (Steve Trim 2 reading),pdf,1,1,Steve
|
||||
The Invisible Generation,William Burroughs,Digital (Steve Trim 2 reading),pdf,0,1,Steve
|
||||
Cybernetics & Ghosts,Italo Calvino,Digital (Steve Trim 2 reading),pdf,1,1,Steve
|
||||
Digital Culture,Charlie Gere,Digital (Steve Trim 2 reading),pdf,1,1,Steve
|
||||
A Preface to Plato,Eric Havelock,Digital (Steve Trim 2 reading),pdf,1,1,Steve
|
||||
Writing Machines,Katherine Hayles,Digital (Steve Trim 2 reading),pdf,1,1,Steve
|
||||
"Gramophone, Film, Typewriter",Friedrich Kittler,Digital (Steve Trim 2 reading),pdf,1,1,Steve
|
||||
Literature Media,Friedrich Kittler,Digital (Steve Trim 2 reading),pdf,1,1,Steve
|
||||
"iSpace: Printed English after Joyce, Shannon, Derrida",Lydia Liu,Digital (Steve Trim 2 reading),pdf,1,1,Steve
|
||||
Orality and Literacy,Walter Ong,Digital (Steve Trim 2 reading),epub,1,1,Steve
|
||||
International Picture Language,Otto Neurath,Digital (Steve Trim 2 reading),pdf,0,1,Steve
|
||||
Protocol,Alexander R. Galloway,Media studies,pdf,1,1,Timo Klok/Monoskop
|
||||
A Prehistory of the Cloud,Tung-Hui Hu,Media Studies (Femke Trim 3),pdf,1,1,Libgen
|
||||
Paratexts: Thresholds of Interpretation,Gerard Genette,"Literature, Culture, Theory ",pdf,1,1,Memory of the World
|
|
Loading…
Reference in New Issue