Skip to content

Commit 94030a9

Browse files
committed
Resolved merge conflicts
2 parents edfa71c + 2369b85 commit 94030a9

File tree

3 files changed

+91
-17
lines changed

3 files changed

+91
-17
lines changed

Pipfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ name = "pypi"
55

66
[packages]
77
flickrapi = "*"
8+
internetarchive = "*"
89
numpy = "*"
910
pandas = "*"
1011
requests = "*"
@@ -16,4 +17,4 @@ flake8 = "*"
1617
isort = "*"
1718

1819
[requires]
19-
python_version = "3.9"
20+
python_version = "3.10"

Pipfile.lock

+55-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+34-5
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,42 @@ collection of works that are openly licensed or in the public domain.
2727
See [`CONTRIBUTING.md`](CONTRIBUTING.md).
2828

2929

30-
## Data Sources
31-
### MediaWiki
32-
Provides metadata from search queries in WikiCommons.\
33-
Main documentation page:\
34-
https://www.mediawiki.org/wiki/API:Main_page
30+
## Development
3531

3632

33+
### Prerequisites
34+
35+
This repository uses [pipenv][pipenvdocs] to manage the required Python
36+
modules:
37+
- Linux: [Installing Pipenv][pipenvinstall]
38+
- macOS:
39+
1. Install [Homebrew][homebrew]
40+
2. Install pipenv:
41+
```
42+
brew install pipenv
43+
```
44+
45+
[pipenvdocs]: https://pipenv.pypa.io/en/latest/
46+
[homebrew]: https://brew.sh/
47+
[pipenvinstall]: https://pipenv.pypa.io/en/latest/install/#installing-pipenv
48+
49+
50+
### Tooling
51+
52+
- **[Python Guidelines — Creative Commons Open Source][ccospyguide]**
53+
- [Black][black]: the uncompromising Python code formatter
54+
- [flake8][flake8]: a python tool that glues together pep8, pyflakes, mccabe,
55+
and third-party plugins to check the style and quality of some python code.
56+
- [isort][isort]: A Python utility / library to sort imports.
57+
58+
[ccospyguide]: https://opensource.creativecommons.org/contributing-code/python-guidelines/
59+
[black]: https://github.com/psf/black
60+
[flake8]: https://gitlab.com/pycqa/flake8
61+
[isort]: https://pycqa.github.io/isort/
62+
63+
64+
### Data Sources
65+
3766
Example query:\
3867
https://commons.wikimedia.org/w/api.php?action=query&cmtitle=Category:CC-BY&list=categorymembers
3968

0 commit comments

Comments
 (0)