Skip to content

Commit

Permalink
Merge branch 'main' into add-common-func-for-loading-and-exporting
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis authored Mar 17, 2024
2 parents d5ccd11 + 7231dc2 commit 9f4e831
Show file tree
Hide file tree
Showing 61 changed files with 1,366 additions and 487 deletions.
229 changes: 0 additions & 229 deletions .github/docs/CONTRIBUTING_NO_BACK_LINKS.md

This file was deleted.

2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["blokhinnv.wikidataqidlabels"]
"recommendations": ["blokhinnv.wikidataqidlabels", "charliermarsh.ruff"]
}
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ Emojis for the following are chosen based on [gitmoji](https://gitmoji.dev/).
- Scribe-Data now outputs an SQLite table that has keys for target languages for each base language. -->
<!-- - English has been added to the data ETL process. -->

- The documentation has been given a new layout with the logo in the top left.
- The documentation has been given a new layout with the logo in the top left ([#90](https://github.com/scribe-org/Scribe-Data/issues/90)).
- The documentation now has links to the code at the top of each page ([#91](https://github.com/scribe-org/Scribe-Data/issues/91)).

### ♻️ Code Refactoring

- The `_update_files` directory was renamed `update_files` as these files are used in non-internal manners now ([#57](https://github.com/scribe-org/Scribe-Data/issues/57)).
- A common function has been created to map Wikidata ids to noun genders ([#69](https://github.com/scribe-org/Scribe-Data/issues/69)).

## Scribe-Data 3.2.2

Expand Down
36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The main data update process in [update_data.py](https://github.com/scribe-org/S
Running [update_data.py](https://github.com/scribe-org/Scribe-Data/blob/main/src/scribe_data/extract_transform/update_data.py) is done via the following CLI command:

```bash
python src/scribe_data/extract_transform/update_data.py
python3 src/scribe_data/extract_transform/update_data.py
```

The ultimate goal is that this repository will house language packs that are periodically updated with new [Wikidata](https://www.wikidata.org/) lexicographical data and data from other sources. These packs would then be available to download by users of Scribe applications.
Expand Down Expand Up @@ -126,24 +126,26 @@ git remote add upstream https://github.com/scribe-org/Scribe-Data.git

2. Use [Python venv](https://docs.python.org/3/library/venv.html) to create the local development environment within your Scribe-Data directory:

- On Unix or MacOS, run:
- On Unix or MacOS, run:

```bash
python3 -m venv venv # make an environment named venv
source venv/bin/activate # activate the environment
```

```bash
python3 -m venv venv # make an environment named venv
source venv/bin/activate # activate the environment
```
- On Windows (using Command Prompt), run:

```bash
python -m venv venv
venv\Scripts\activate.bat
```
After activating the virtual environment, install the required dependencies by running:

```bash
pip install --upgrade pip # make sure that pip is at the latest version
pip install -r requirements.txt # install dependencies
```

```bash
python -m venv venv
venv\Scripts\activate.bat
```

After activating the virtual environment, install the required dependencies by running:

```bash
pip install --upgrade pip # make sure that pip is at the latest version
pip install -r requirements.txt # install dependencies
```

> [!NOTE]
> Feel free to contact the team in the [Data room on Matrix](https://matrix.to/#/#ScribeData:matrix.org) if you're having problems getting your environment setup!
Expand Down
Loading

0 comments on commit 9f4e831

Please sign in to comment.