TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Python Wrapper for Yipit API - my first big open source project

6 点作者 wesleyzhao超过 13 年前

4 条评论

alexatkeplar超过 13 年前
Another couple of recommendations (sorry I think about this stuff way too much):<p>1. GitHub SEO is your friend. For this reason, better to name your GitHub repo something like "yipit-python-client" because that's what people will search for. And maybe change your one-line description to "A Python client library for the Yipit API"<p>2. On licensing - you really just want as many people to use your library as possible (it doesn't really represent intellectual property that you could one day profit from). For this reason, steer clear of (A)GPL and go with a MIT/Apache2/BSD-style license. For the exact one to choose - I normally go with either a) the same license as that used in my component libraries (e.g. DictShield is BSD), or b) the same license as the API author (in your case Yipit) uses for their own client libraries (I checked and they don't seem to have released any)
评论 #3090224 未加载
alexatkeplar超过 13 年前
Nice! I'm writing a Python API client at the moment - a couple of suggestions:<p>1. It's worth taking a look at DictShield <a href="https://github.com/j2labs/dictshield" rel="nofollow">https://github.com/j2labs/dictshield</a> or Colander (<a href="https://pylonsproject.org/projects/colander/dev/" rel="nofollow">https://pylonsproject.org/projects/colander/dev/</a>) as a way to formalise your API definition and minimize the amount of boilerplate you have to write. I'd recommend DictShield - the author j2labs is very active on HN and is a really approachable guy.<p>2. Related to 1 - the Requests library (<a href="http://pypi.python.org/pypi/requests" rel="nofollow">http://pypi.python.org/pypi/requests</a>) is higher level than urllib* - again using this should help you to reduce boilerplate...<p>Happy coding!
评论 #3090218 未加载
neinsun超过 13 年前
In fact one can earn revenue from the sites using your work if you have released under GPL, but they must licence their work in GPL. If you release your work in MIT Licence the developer need not licence his work in MIT he may keep it has closed source. Does Yipit allows commericial usage????
评论 #3090181 未加载
neinsun超过 13 年前
good Work :) All The Best. In which licence are yo releasing this??
评论 #3090149 未加载