Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion medcat-demo-app/webapp/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Django==3.2.25
django-dbbackup==4.0.0b0
django-storages[boto3]==1.12.3
django-cron==0.5.1
medcat[meta-cat,spacy]~=2.1.0
medcat[meta-cat,spacy]~=2.2.0
urllib3==1.26.18
4 changes: 2 additions & 2 deletions medcat-service/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ gunicorn==23.0.0
setuptools==78.1.1
simplejson==3.19.3
setuptools-rust==1.11.0
medcat[meta-cat,spacy,deid]~=2.1.0
medcat[meta-cat,spacy,deid]~=2.2.0
# pinned because of issues with de-id models and past models (it will not do any de-id)
transformers>=4.34.0,<5.0.0
requests==2.32.4
fastapi[standard]==0.115.2
pydantic==2.9.2
pydantic-settings==2.10.1
gradio==5.38.0
gradio==5.38.0
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}
],
"source": [
"! pip install medcat[meta-cat]~=2.1.0 # NOTE: VERSION-STRING"
"! pip install medcat[meta-cat]~=2.2.0 # NOTE: VERSION-STRING"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
}
],
"source": [
"! pip install medcat[meta-cat,spacy,deid]~=2.1.0"
"! pip install medcat[meta-cat,spacy,deid]~=2.2.0"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion medcat-v2-tutorials/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
medcat~=2.1.0
medcat~=2.2.0
ipykernel
pytest-xdist~=3.6.0
nbmake<1.6
Expand Down
10 changes: 5 additions & 5 deletions medcat-v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,17 @@ new_model_folder = "models" # file in this folder

MedCAT v2 has its first full release
```
pip install medcat~=2.0.0
pip install medcat
```
Do note that **this installs only the core MedCAT v2**.
**It does not necessary dependencies for `spacy`-based tokenizing or MetaCATs or DeID**.
However, all of those are supported as well.
You can install them as follows:
```
pip install "medcat[spacy]~=2.0.0" # for spacy-based tokenizer
pip install "medcat[meta-cat]~=2.0.0" # for MetaCAT
pip install "medcat[deid]~=2.0.0" # for DeID models
pip install "medcat[spacy,meta-cat,deid,rel-cat,dict-ner]~=2.0.0" # for all of the above
pip install "medcat[spacy]" # for spacy-based tokenizer
pip install "medcat[meta-cat]" # for MetaCAT
pip install "medcat[deid]" # for DeID models
pip install "medcat[spacy,meta-cat,deid,rel-cat,dict-ner]" # for all of the above
```

### Version / update checking
Expand Down
6 changes: 3 additions & 3 deletions medcat-v2/docs/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ Some guides on how to use MedCAT v2 are available at [MedCAT Tutorials](https://
## Install using PIP (Requires Python 3.10+)
Installation instructions are to follow upon a release of this version on PyPI.
Though installation is likely to be simply `pip install "medcat>=2.0"` at that time.
Currently the installation for the 2.0 beta release is simply:
Currently the installation for the 2.0 release is simply:
```
pip install medcat~=2.0.0b
pip install medcat
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the above lines need to change these days?

## Install using PIP (Requires Python 3.10+)
Installation instructions are to follow upon a release of this version on PyPI.
Though installation is likely to be simply `pip install "medcat>=2.0"` at that time.
Currently the installation for the 2.0 beta release is simply:

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah... I really need to figure out how to avoid having the main docs page NOT duplicate information on the README...

```
Though note the extras you might need (e.g `spacy`, `meta-cat`, `rel-cat`, `deid`).
If you need them, they need to be specified in brackets, e.g:
```
pip install medcat[spacy,meta-cat,rel-cat,deid]~=2.0.0b
pip install "medcat[spacy,meta-cat,rel-cat,deid]"
```

2. Quickstart (MedCAT v2+):
Expand Down
Loading