BigBang是一个用于研究协作项目通信数据的工具包。它目前支持分析来自Sourceforge、Mailman、ListServ或.mbox文件的发件列表。
项目描述
BigBang
BigBang是一个用于研究协作项目通信数据的工具包。它目前支持分析来自Sourceforge、Mailman、ListServ(版本16.5和17)、Pipermail(版本0.09)、Hypermail(版本2.4.0)或.mbox文件的发件列表。
BigBang的完整文档可以在ReadTheDocs上找到。
安装*
您可以使用Anaconda。这将安装conda
包管理器,您可以使用它来完成安装。
安装Anaconda,Python版本为3.*。
如果您选择不使用Anaconda,您可能会遇到Python版本问题。在安装期间将Conda安装目录添加到您的路径中。
您还需要安装Git和Pip(Python3的包管理器)。
运行以下命令
git clone https://github.com/datactive/bigbang.git
cd bigbang
bash conda-setup.sh
python3 setup.py develop --user
使用方法
该存储库的examples/
目录中有几个Jupyter笔记本。要打开它们并开始探索,请在该存储库的根目录中运行以下命令
source activate bigbang
ipython notebook examples/
BigBang包含从各种来源收集数据的脚本,例如,要从由Mailman托管的公开发件列表存档中收集数据,请使用
python3 bin/collect_mail.py -u http://mail.python.org/pipermail/scipy-dev/
您还可以将包含多个URL的文件传递给此命令,每个URL占一行。在 examples/
目录中提供了一个示例。
python3 bin/collect_mail.py -f examples/urls.txt
数据收集完成后,BigBang 提供了支持分析的功能。
您可以在文档中了解更多关于 BigBang 支持的数据源。
开发
单元测试
要运行自动化单元测试,请使用:pytest tests/unit
。
我们目前的目标是代码覆盖率 60%。在 tests/unit
中添加新的单元测试。单元测试运行速度快,不依赖网络请求。
文档
优先考虑文档字符串,以便可以自动生成基于网络的文档(#412)。您可以遵循Google 风格指南中的文档字符串。
格式化
运行 pre-commit install
以在所有 Python 代码文件中自动使用 black
、flake8
和 isort
来实现开发者之间的一致格式。我们尽量遵循PEP8 风格指南。
社区
如果您对参与 BigBang 的开发感兴趣或需要核心开发团队的支持,请订阅bigbang-dev 邮件列表,并告诉我们您的建议、问题、请求和评论。还有一个开发聊天室可供使用。
为了促进一个开放和欢迎的环境,我们作为贡献者和维护者承诺,让我们的项目和社区成为一个没有骚扰的体验(请参阅我们的行为准则)。
故障排除
如果上述安装方法不起作用,您可以尝试使用 Pip 运行安装
git clone https://github.com/datactive/bigbang.git
# optionally create a new virtualenv here
pip3 install -r requirements.txt
python3 setup.py develop --user
出版物
这些学术论文将 BigBang 作为其方法的一部分
- Becker, Christoph., ten Oever, Niels, and Riccardo Nanni. 2022 “The standardisation of lawful interception technologies in the 3GPP: interrogating 5G and surveillance amid US-China competition”,TPRC2022,华盛顿特区 https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4167105
- Benthall, Sebastian. 2015. “Testing Generative Models of Online Collaboration with BigBang。” In ,182–89. https://conference.scipy.org/proceedings/scipy2015/sebastian_benthall.html.
- Doty, Nick. 2015. “Reviewing for Privacy in Internet and Web Standard-Setting.” In Security and Privacy Workshops (SPW), 2015 IEEE, 185–192. IEEE. https://ieeexplore.ieee.org/document/7163224/
- Milan, Stefania, and Niels ten Oever. 2017. “Coding and Encoding Rights in Internet Infrastructure.” Internet Policy Review 6 (1)
- ten Oever, Niels. 2018. “Productive Contestation, Civil Society, and Global Governance: Human Rights as a Boundary Object in ICANN.” Policy & Internet, June. https://doi.org/10.1002/poi3.172.
- Nanni, Riccardo. “Digital Sovereignty and Internet Standards: Normative Implications of Public-Private Relations among Chinese Stakeholders in the Internet Engineering Task Force.” Information, Communication & Society 0, no. 0 (October 1, 2022): 1–21. https://doi.org/10.1080/1369118X.2022.2129270.
- ten Oever, Niels. 2021. “‘This Is Not How We Imagined It’ - Technological Affordances, Economic Drivers and the Internet Architecture Imaginary.” New Media & Society. https://journals.sagepub.com/doi/full/10.1177/1461444820929320
- 奥弗,T.,米兰,S.,贝拉尔多,D.(2020)。通过邮件列表分析研究互联网治理中的话语。在D. L. 科格本,L. 德纳迪斯,N. S. 莱文森和F. 莫西亚尼(主编),互联网治理研究方法。马萨诸塞州剑桥:麻省理工学院出版社。https://direct.mit.edu/books/oa-monograph/4936/chapter/625914/Studying-Discourse-in-Internet-Governance-through
许可
麻省理工学院,请参阅LICENSE获取其文本。此许可证可以根据项目治理原则随时更改。
致谢
本项目由
项目详情
bigbang-py-0.4.4.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | b7be5a30f285e23301995cc83c76a6951f1875b90aae2bf76ec3fd11c5ac58d3 |
|
MD5 | ee851030083815a4571b86888c97e862 |
|
BLAKE2b-256 | e4ca4adca33166796cb1c4eb433756c1700004319d5224ad518a07e566a71f30 |