TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to release research paper code?

2 pointsby dawwover 5 years ago
How would you publicly release code from a recently published paper? I have some python notebooks and would like to present them as a library. Should I use docker? Pipenv? Poetry?

3 comments

leksakover 5 years ago
Given <a href="https:&#x2F;&#x2F;github.com&#x2F;jupyter&#x2F;docker-stacks" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jupyter&#x2F;docker-stacks</a> Docker might be appropriate. No matter which route you decide to take: make it easy. If you are using pipenv or poetry do so while offering a Makefile or documentation on what commands to run.<p>A Makefile with a decent &quot;help&quot; target would be perfect even if you do use Docker. I&#x27;d suggest looking at <a href="https:&#x2F;&#x2F;marmelab.com&#x2F;blog&#x2F;2016&#x2F;02&#x2F;29&#x2F;auto-documented-makefile.html" rel="nofollow">https:&#x2F;&#x2F;marmelab.com&#x2F;blog&#x2F;2016&#x2F;02&#x2F;29&#x2F;auto-documented-makefil...</a> to spare you some work with maintaining the help target.
评论 #21514187 未加载
probably_wrongover 5 years ago
Putting it in a Github repo seems to be standard practice.<p>I personally would prefer a well-curated &quot;requirements.txt&quot; with which to create a virtual environment in Python. I would stay away from Docker mostly because researchers are not system administrators, and making them install a container solution seems a bit excessive to me.
eljostover 5 years ago
Check out Zenodo [1]. It lets you generate DOIs for Github releases.<p>[1] <a href="https:&#x2F;&#x2F;zenodo.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;zenodo.org&#x2F;</a>