orkohunter / ping-me Goto Github PK
View Code? Open in Web Editor NEWA cross platform personalized Ping
License: Apache License 2.0
A cross platform personalized Ping
License: Apache License 2.0
Or can a mobile number be specified also?
Please update detailed documentation about how to use it.
Help me send the text to my phone.
Maintaining servers for free is painful. And the solutions available for free (Heroku, OpenShift, etc.) are not reliable for tasks of this importance where the server needs to be up all the time.
On the other hand, I have already been using Google Calendar for meetings, events, etc. and it has a great API too. Hence, it's now best to use Google Calendar for ping-me.
@OrkoHunter you should use standard crypto librarieslike pycrypto instead of writing your own ones, later is considered a very bad practice.
Just one query though. Does it e-mail me my ping
if required?
The project looks interesting and very ambitious, I mean it as a complement. The project is in a very early stage and I guess most of things specified in the README are the things you hope would work. I think you should clearly specify what works and what doesn't.
(dev)makala@aneesh:~/test/ping/ping-me$ ping-me -d December-16-2015 -t 15:20 Get up and eat!
Message is
Time is ['15:20', 'Get', 'up', 'and', 'eat!']
Traceback (most recent call last):
File "/home/makala/test/ping/dev/bin/ping-me", line 9, in <module>
load_entry_point('ping-me==0.2.1', 'console_scripts', 'ping-me')()
File "/home/makala/test/ping/dev/local/lib/python2.7/site-packages/ping_me-0.2.1-py2.7.egg/ping_me/ping.py", line 48, in main
date_time = parser.parse(' '.join(args.DATE) + ' ' + ' '.join(args.TIME))
File "/home/makala/test/ping/dev/local/lib/python2.7/site-packages/dateutil/parser.py", line 1008, in parse
return DEFAULTPARSER.parse(timestr, **kwargs)
File "/home/makala/test/ping/dev/local/lib/python2.7/site-packages/dateutil/parser.py", line 395, in parse
raise ValueError("Unknown string format")
ValueError: Unknown string format
I printed the args.message
and args.TIME
to the console to debug.
I think the argparser argument for message has to be corrected.
Cheers! Really like your project idea.
when i add task on russian language
$ ping-me -d November-24-2015 -t 14:30 привет
Traceback (most recent call last):
File "/usr/local/bin/ping-me", line 9, in <module>
load_entry_point('ping-me==0.2.1', 'console_scripts', 'ping-me')()
File "/usr/local/lib/python2.7/dist-packages/ping_me/ping.py", line 46, in main
' ' + ' '.join(args.TIME))
File "/usr/local/lib/python2.7/dist-packages/dateutil/parser.py", line 1003, in parse
timestr = timestr.decode()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 23: ordinal not in range(128)
I get this error when configurating for first time (and also when I run ping-me reconfig). It seems to be a problem with the server. This is the data sent to the server:
{'phone': '11xxxxxxxx', 'join_date': datetime.date(2016, 3, 7), 'country_code': '54', 'country_name': 'Argentina', 'phone_os': 'Unknown', 'password': 'xxxxxxxxxxxxxxxxxxxxxx', 'os': 'linux2', 'email': '[email protected]'}
Currently the program is missing a few module and function docstrings, they should be created in order to better document the program's code.
Here are the missing docstrings by module:
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.