@@ -9,6 +9,23 @@ This project seeks to quantify the size and diversity of the commons--the
99collection of works that are openly licensed or in the public domain.
1010
1111
12+ ### Meaningful
13+
14+ The reports generated by this project (and the data fetched and processed to
15+ support it) seeks to be meaningful. We hope this project will provide data and
16+ analysis that helps inform discussions about the commons--the collection of
17+ works that are openly licensed or in the public domain.
18+
19+ The goal of this project is to help answer questions like:
20+ - How has the world's use of the commons changed over time?
21+ - How is the knowledge and culture of the commons distributed?
22+ - Who has access (and how much) to the commons?
23+ - What significant trends can be observed in the commons?
24+ - Which public domain dedication or licenses are the most popular?
25+ - What are the correlations between public domain dedication or licenses and
26+ region, language, domain/endeavor, etc.?
27+
28+
1229## Code of conduct
1330
1431[ ` CODE_OF_CONDUCT.md ` ] [ org-coc ] :
@@ -57,6 +74,7 @@ Quantifying/
5774│ ├── 1-fetch/
5875│ ├── 2-process/
5976│ ├── 3-report/
77+ │ ├── plot.py # Data visualizations with matplotlib
6078│ └── shared.py
6179├── .cc-metadata.yml
6280├── .flake8 # Python tool configuration
@@ -105,10 +123,9 @@ modules:
105123[homebrew]: https://brew.sh/
106124
107125
108- # ## Running scripts that require client credentials
126+ # ## Managing client credentials
109127
110- To successfully run scripts that require client credentials, you will need to
111- follow these steps:
128+ Client credentials should be stored in an environment file:
1121291. Copy the contents of the ` env.example` file in the script' s directory to
113130 `.env`:
114131 ```shell
@@ -121,8 +138,22 @@ follow these steps:
121138 GCS_CX = your_pse_id
122139 ```
1231403. Save the changes to the `.env` file.
124- 4. You should now be able to run scripts that require client credentials
125- without any issues.
141+
142+ You should now be able to run scripts that require client credentials without
143+ any issues. The `.env` file is ignored by git to help ensure sensitive data is
144+ not distributed.
145+
146+
147+ ### Running the scripts
148+
149+ All of the scripts should be run from the root of the repository using pipenv. For example:
150+ ```bash
151+ pipenv run ./scripts/1-fetch/github_fetch.py -h
152+ ```
153+
154+ When run this way, the shared library (`scripts/shared.py`) provides easy access
155+ to all of the necessary paths and all of the modules managed by pipenv are
156+ available.
126157
127158
128159### Static analysis
0 commit comments