kren1 / tosheets Goto Github PK
View Code? Open in Web Editor NEWSend your stdin to google sheets
License: MIT License
Send your stdin to google sheets
License: MIT License
I see this since this afternoon (UK time):
You can’t sign in because tosheets sent an invalid request. You can try again later, or contact the [developer](https://accounts.google.com/) about this issue. [Learn more about this error](https://support.google.com/accounts/answer/12379384)
If you are a developer of tosheets, see [error details](https://accounts.google.com/).
Error 400: invalid_request
Any ideas?
Would be really handy for the more lazy among us to automatically parse the spreadsheet id if the full spreadsheet url is passed to --spreadsheet https://docs.google.com/spreadsheets/d/1kLjuks5YL_ZY1hrRbDm_3jdjdjdd/edit#gid=0
When I sign in, it says this app is blocked by google. Im guessing this needs to use new google oauth2 api creds.
Great utility! I'm gonna use this all the time. I expect most times I use it, though, I'll want to pipe data into a new spreadsheet. Could this tool create a new spreadsheet if the ID is omitted?
Hi,
I have a table where column 1 looks like:
00001234,12345678
00001235,12345678
And I am uploading this to a google sheet which has column 1 formatted as 'Plain Text'.
When I upload it with tosheets, the leading zeros disappear, and turn into:
1234,12345678
1235,12345678
Anything I can do to avoid that and preserve the values?
Hi, what's the recommended way to install tosheets
for Ubuntu 14.04? Thanks
sudo pip3 install tosheets
The directory '/home/xxxx/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/xxxx/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting tosheets
Downloading tosheets-0.2.0.tar.gz
Requirement already satisfied: docopt in /usr/local/lib/python3.5/dist-packages (from tosheets)
Requirement already satisfied: google-api-python-client in /usr/local/lib/python3.5/dist-packages (from tosheets)
Requirement already satisfied: httplib2<1dev,>=0.9.2 in /usr/local/lib/python3.5/dist-packages (from google-api-python-client->tosheets)
Requirement already satisfied: six<2dev,>=1.6.1 in /usr/lib/python3/dist-packages (from google-api-python-client->tosheets)
Requirement already satisfied: oauth2client<5.0.0dev,>=1.5.0 in /usr/local/lib/python3.5/dist-packages (from google-api-python-client->tosheets)
Requirement already satisfied: uritemplate<4dev,>=3.0.0 in /usr/local/lib/python3.5/dist-packages (from google-api-python-client->tosheets)
Requirement already satisfied: pyasn1-modules>=0.0.5 in /usr/local/lib/python3.5/dist-packages (from oauth2client<5.0.0dev,>=1.5.0->google-api-python-client->tosheets)
Requirement already satisfied: pyasn1>=0.1.7 in /usr/lib/python3/dist-packages (from oauth2client<5.0.0dev,>=1.5.0->google-api-python-client->tosheets)
Requirement already satisfied: rsa>=3.1.4 in /usr/local/lib/python3.5/dist-packages (from oauth2client<5.0.0dev,>=1.5.0->google-api-python-client->tosheets)
Installing collected packages: tosheets
Running setup.py install for tosheets ... done
Successfully installed tosheets-0.2.0
$ seq 1 10 | tosheets --spreadsheet=1_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -c A1
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 635, in _build_master
ws.require(__requires__)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 943, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 834, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pyasn1 0.1.9 (/usr/lib/python3/dist-packages), Requirement.parse('pyasn1<0.4.0,>=0.3.4'), {'pyasn1-modules'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/tosheets", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
@_call_aside
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 637, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 834, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pyasn1 0.1.9 (/usr/lib/python3/dist-packages), Requirement.parse('pyasn1<0.4.0,>=0.3.4'), {'pyasn1-modules'})
Great idea! Thanks!
I just noticed 2 things:
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.