BigBang is a toolkit for studying communications data from collaborative projects. It currently supports analyzing mailing lists from Sourceforge, Mailman, ListServ, or .mbox files.
Project description
BigBang
BigBang is a toolkit for studying communications data from collaborative projects. It currently supports analyzing mailing lists from Sourceforge, Mailman, ListServ (version 16.5 and 17), Pipermail (version 0.09), Hypermail (version 2.4.0) or .mbox files.
Complete documentation for BigBang can be found on ReadTheDocs.
Installation*
You can use Anaconda. This will also install
the conda
package management system, which you can use to complete
installation.
Install Anaconda, with Python version 3.*.
If you choose not to use Anaconda, you may run into issues with versioning in Python. Add the Conda installation directory to your path during installation.
You also need need to have Git and Pip (for Python3) installed.
Run the following commands:
git clone https://github.com/datactive/bigbang.git
cd bigbang
bash conda-setup.sh
python3 setup.py develop --user
This video tutorial shows how to install BigBang.
Usage
There are serveral Jupyter notebooks in the examples/
directory of this
repository. To open them and begin exploring, run the following commands in the root directory of this repository:
source activate bigbang
ipython notebook examples/
BigBang contains scripts that make it easy to collect data from a variety of sources. For example, to collect data from an open mailing list archive hosted by Mailman, use:
python3 bin/collect_mail.py -u http://mail.python.org/pipermail/scipy-dev/
You can also give this command a file with several urls, one per line. One of these is provided in the examples/
directory.
python3 bin/collect_mail.py -f examples/urls.txt
Once the data has been collected, BigBang has functions to support analysis.
You can read more about data source supported by BigBang in the documentation.
Development
Unit tests
To run the automated unit tests, use: pytest tests/unit
.
Our current goal is code coverage of 60%. Add new unit tests within tests/unit
. Unit tests run quickly, without relying on network requests.
Documentation
Docstrings are preferred, so that auto-generated web-based documentation will be possible (#412). You can follow the Google style guide for docstrings.
Formatting
Run pre-commit install
to get automated usage of black
, flake8
and isort
to all Python code files for consistent formatting across developers. We try to follow the PEP8 style guide.
Community
If you are interested in participating in BigBang development or would like support from the core development team, please subscribe to the bigbang-dev mailing list and let us know your suggestions, questions, requests and comments. A development chatroom is also available.
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone.
Troubleshooting
If the installation described above does not work, you can try to run the installation with 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
Publications
These academic publications use BigBang as part of their methods:
- 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, Washington DC 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
- ten Oever, N., Milan, S., & Beraldo, D. (2020). Studying Discourse in Internet Governance through Mailing-list Analysis. In D. L. Cogburn, L. DeNardis, N. S. Levinson, & F. Musiani (Eds.), Research Methods in Internet Governance. Cambridge, MA: MIT Press. https://direct.mit.edu/books/oa-monograph/4936/chapter/625914/Studying-Discourse-in-Internet-Governance-through
License
MIT, see LICENSE for its text. This license may be changed at any time according to the principles of the project Governance.
Acknowledgements
This project is funded by:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file bigbang-py-0.4.4.tar.gz
.
File metadata
- Download URL: bigbang-py-0.4.4.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7be5a30f285e23301995cc83c76a6951f1875b90aae2bf76ec3fd11c5ac58d3 |
|
MD5 | ee851030083815a4571b86888c97e862 |
|
BLAKE2b-256 | e4ca4adca33166796cb1c4eb433756c1700004319d5224ad518a07e566a71f30 |