Skip to content

Commit fe96c99

Browse files
samcunliffeCopilotpaddyroddy
authored
Improve numerical readability scores of our README (#590)
Following on from #546, I've reworded our README, using vale's Readability suite. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Patrick J. Roddy <patrickjamesroddy@gmail.com>
1 parent 7d794bd commit fe96c99

1 file changed

Lines changed: 35 additions & 26 deletions

File tree

‎README.md‎

Lines changed: 35 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,50 +5,56 @@
55
</div>
66
<!-- markdownlint-restore -->
77

8-
This repository collects the [UCL ARC] recommendations for a research software
9-
project in Python. It contains a template for new Python packages and a
10-
[website] documenting our recommendations. We've turned on
11-
[discussions](https://github.com/UCL-ARC/python-tooling/discussions) for this
12-
repo, and we welcome questions there or in the `#helpme` channel on the
13-
[UCL research programming hub Slack](https://www.ucl.ac.uk/advanced-research-computing/community/ucl-research-programming-hub).
8+
This repository collects our recommendations for a research software project in Python.
9+
We have a [website] if you need some advice for what tools to use, and a template if you're starting a project from scratch.
1410

15-
🍪 Our template is a [cookiecutter] template which automatically creates new
16-
Python packages with our recommended tooling set up and ready to go.
11+
🍪 Our template uses [cookiecutter] to set up a new package with our preferred tools ready to go.
1712

1813
> [!NOTE]
19-
> If you're making a package within a community that has an existing
20-
> package template (e.g., [`SciKit-Surgery`](https://github.com/SciKit-Surgery/PythonTemplate)),
21-
> we recommend using their template instead of this one.
14+
> If you're making a package in a research community that already has a template, use theirs instead!
2215
23-
## Using our Python package template
16+
## How to use our template
2417

25-
Some quick instructions for using our template are below.
26-
We also have a longer [tutorial](./docs/pages/tutorial.md) that has been presented in workshops for researchers at UCL.
27-
Slides from presentations we have given on the project are available in the
28-
[`python-tooling-presentations` repository](https://github.com/ucl-arc/python-tooling-presentations).
18+
Here are some quick start steps.
19+
We also have a more detailed [tutorial](./docs/pages/tutorial.md) and some [talks](https://github.com/ucl-arc/python-tooling-presentations) about this that have been presented in workshops for researchers at UCL.
2920

30-
If you have [uv] installed, you can use our template with the following command:
21+
If you have [uv] installed, run:
3122

3223
```sh
3324
uvx cookiecutter gh:ucl-arc/python-tooling --checkout latest
3425
```
3526

36-
If you don't want to use uv you can [install cookiecutter] using pip, and run the above command without the leading `uvx`.
27+
If you don't want to use uv you can [install cookiecutter], then run without `uvx`:
3728

38-
When [cookiecutter] runs, it will ask you a series of questions to configure your project.
39-
Type the answer or hit return without typing anything to use the default option (shown in parenthesis).
40-
At the end, it will print some more follow-up information in the terminal for things like creating a remote repository and making a website for your package.
29+
```sh
30+
cookiecutter gh:ucl-arc/python-tooling --checkout latest
31+
```
32+
33+
[cookiecutter] will ask you questions to set up your project.
34+
Type your answer, or hit return without typing anything to use the defaults.
35+
36+
When finished, it prints some information to the terminal.
37+
These are tips for next steps like creating a repository and making a website for your package.
38+
39+
It will have created a directory for your project:
40+
41+
```sh
42+
ls -lt --reverse | tail --lines=1 # Show the last directory that was created
43+
```
4144

42-
It will have created a directory for your project.
4345
You can see the structure with the `tree` command.
4446
In our example we've called our project `example-research-software-project`:
4547

4648
```sh
47-
ls -ltr | tail -n1 # Shows the last directory that was created
4849
tree example-research-software-project
4950
```
5051

51-
To work on your project, initialise a `git` repository and _install_ your new package editable mode.
52+
To start working on your project:
53+
54+
1. change directory to your project directory,
55+
2. initialise a `git` repository,
56+
3. and _install_ your new package editable mode.
57+
5258
You probably want to do this in a [virtual environment](./docs/pages/virtual.md).
5359
The comments show how to do this in [uv] with `uv venv`:
5460

@@ -60,16 +66,19 @@ git init
6066
uv sync
6167
```
6268

63-
Note that `uv>=0.6.7` is required to use the `--group` option.
69+
## Need help?
70+
71+
You can ask questions in [discussions] or in the `#helpme` channel on UCL's [Research Programming Hub Slack].
6472

6573
<!-- links here -->
6674

6775
<!-- prettier-ignore-start -->
6876
[website]: https://github-pages.arc.ucl.ac.uk/python-tooling
69-
[UCL ARC]: https://ucl.ac.uk/arc
7077
[cookiecutter]: https://cookiecutter.readthedocs.io/en/stable
7178
[install cookiecutter]: https://cookiecutter.readthedocs.io/en/stable/README.html#installation
7279
[uv]: https://docs.astral.sh/uv
80+
[discussions]: https://github.com/UCL-ARC/python-tooling/discussions
81+
[Research Programming Hub Slack]: https://www.ucl.ac.uk/advanced-research-computing/community/ucl-research-programming-hub
7382
<!-- prettier-ignore-end -->
7483

7584
## Contributors

0 commit comments

Comments
 (0)