kanedata / airtable-to-sqlite Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Great project!
It's not workign for me though :)
airtable-to-sqlite --personal-access-token patNNNN app2XXXX
2024-01-09 16:21:15,213 INFO:airtable_to_sqlite.main:Fetching base record from Airtable...
2024-01-09 16:21:16,131 INFO:airtable_to_sqlite.main:Fetching schema from Airtable...
100%|█████████████████████████████████████████████████████████████████████████████████████| 5/5 [00:00<00:00, 19.03it/s]
2024-01-09 16:21:21,128 INFO:airtable_to_sqlite.main:Adding foreign keys
2024-01-09 16:21:22,047 INFO:airtable_to_sqlite.main:Fetching table data
0it [00:00, ?it/s]2024-01-09 16:21:22,048 INFO:airtable_to_sqlite.schema:Fetching table data for Users from Airtable...
0it [00:00, ?it/s]
Traceback (most recent call last):
File "/home/pm/.local/bin/airtable-to-sqlite", line 8, in <module>
sys.exit(airtable_to_sqlite())
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1637, in invoke
super().invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/pm/.local/lib/python3.10/site-packages/airtable_to_sqlite/cli/__init__.py", line 44, in airtable_to_sqlite
AirtableBaseToSqlite(personal_access_token, db, base, prefer_ids).run()
File "/home/pm/.local/lib/python3.10/site-packages/airtable_to_sqlite/main.py", line 66, in run
self.insert_all_table_data()
File "/home/pm/.local/lib/python3.10/site-packages/airtable_to_sqlite/main.py", line 203, in insert_all_table_data
self.insert_table_data(table)
File "/home/pm/.local/lib/python3.10/site-packages/airtable_to_sqlite/main.py", line 212, in insert_table_data
for record in tqdm(table_data):
File "/usr/lib/python3/dist-packages/tqdm/std.py", line 1170, in __iter__
for obj in iterable:
File "/home/pm/.local/lib/python3.10/site-packages/airtable_to_sqlite/schema.py", line 112, in get_table_data
for page in api.iterate(self.name):
AttributeError: 'Base' object has no attribute 'iterate'
Any idea?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.