Science Score: 59.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 5 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
1 of 9 committers (11.1%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.3%) to scientific vocabulary
Keywords from Contributors
Repository
Programmatic access to Concepticon data.
Basic Info
- Host: GitHub
- Owner: concepticon
- License: apache-2.0
- Language: Python
- Default Branch: master
- Homepage: https://concepticon.clld.org
- Size: 1.24 MB
Statistics
- Stars: 7
- Watchers: 8
- Forks: 3
- Open Issues: 3
- Releases: 3
Metadata Files
README.md
pyconcepticon
Tooling to access and curate Concepticon data.
Installation
pyconcepticon can be installed from PyPI running
shell script
pip install pyconcepticon
Note that pyconcepticon requires a clone or export of the concepticon data repository.
Usage
To use pyconcepticon you must have a local copy of the Concepticon data, i.e. either
- the sources of a released version, as provided in the Downloads section of a release, or
- a clone of this repository (or your personal fork of it).
- or a released version of the data as archived on ZENODO.
Python API
Assuming you have downloaded release 1.2.0
and unpacked the sources to a directory
clld-concepticon-data-41d2bf0, you can access
the data as follows:
```python
from pyconcepticon import Concepticon api = Concepticon('clld-concepticon-data-41d2bf0') conceptlist = list(api.conceptlists.values())[0] conceptlist.author 'Perrin, Loïc-Michel' conceptlist.tags ['annotated'] len(conceptlist.concepts) 110 list(conceptlist.concepts.values())[0] Concept( id='Perrin-2010-110-1', number='1', concepticonid='1906', concepticongloss='SOUR', gloss=None, english='ACID', attributes={'german': 'sauer', 'french': 'acide'}, list=Conceptlist( _api=
, id='Perrin-2010-110', author='Perrin, Loïc-Michel', year=2010, list suffix='', items=110, tags=['annotated'], sourcelanguage=['english', 'french', 'german'], targetlanguage='Global', url='https://journals.dartmouth.edu/cgi-bin/WebObjects/Journals.woa/xmlpage/1/article/353?htmlOnce=yes', refs=['Perrin2010'], pdf=['Perrin2010'], note='This list was used as an initial questionnaire for colexification studies on a world-wide sample of languages.', pages='276f', alias=[], local=False)) ```
Command line interface
Having installed pyconcepticon, you can also directly query concept lists via the terminal command
concepticon. To learn about the functionality it provides run
```shell script
$ concepticon -h
usage: concepticon [-h] [--log-level LOG_LEVEL] [--repos REPOS]
[--repos-version REPOS_VERSION]
COMMAND ...
optional arguments: -h, --help show this help message and exit --log-level LOGLEVEL log level ERROR|WARN|INFO|DEBUG --repos REPOS clone of concepticon/concepticon-data --repos-version REPOSVERSION version of repository data. Requires a git clone! (default: None)
available commands: Run "COMAMND -h" to get help for a specific command.
COMMAND attributes Print all columns in concept lists that contain surplus information. ... ```
To learn about individual subcommands run concepticon COMMAND -h, e.g.
```shell
$ concepticon lookup -h
usage: concepticon lookup [-h]
[--format {fancygrid,fancyoutline,github,grid,html,jira,latex,latexbooktabs,latexlongtable,latex_raw,mediawiki,moinmoin,orgtbl,pipe,plain,presto,pretty,psql,rst,simple,textile,tsv,unsafehtml,youtrack}]
[--similarity SIMILARITY] [--full-search]
[--language LANGUAGE]
GLOSS [GLOSS ...]
Look up the specified glosses in Concepticon.
positional arguments: GLOSS
optional arguments: -h, --help show this help message and exit --format {fancygrid,fancyoutline,github,grid,html,jira,latex,latexbooktabs,latexlongtable,latex_raw,mediawiki,moinmoin,orgtbl,pipe,plain,presto,pretty,psql,rst,simple,textile,tsv,unsafehtml,youtrack} Format of tabular output. (default: simple) --similarity SIMILARITY specify level of similarity for concept mapping (default: 5) --full-search select between approximate search (default) and full search (default: False) --language LANGUAGE specify your desired language for mapping (default: en) ```
Configuration
The Python API as well as the CLI can lookup the location of the data from a
cldfcatalog config file, under the key concepticon.
Such a config file (and the repository clone) can be created automatically,
by installing cldfbench and running
cldfbench config.
Owner
- Name: Concepticon
- Login: concepticon
- Kind: organization
- Email: concepticon@eva.mpg.de
- Website: https://concepticon.clld.org
- Repositories: 8
- Profile: https://github.com/concepticon
A Resource for the Linking of Concept Lists
GitHub Events
Total
- Watch event: 2
Last Year
- Watch event: 2
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| xrotwang | x****g@g****m | 88 |
| lingulist | m****t@l****g | 7 |
| Christoph Rzymski | c****h@f****t | 4 |
| LinguList | m****t@p****e | 4 |
| lingulist | m****t@l****e | 2 |
| Gereon Kaiping | g****g@h****l | 1 |
| Viktor Martinović | 5****c | 1 |
| Simon J Greenhill | S****l | 1 |
| Johann-Mattis List | L****t | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 27
- Total pull requests: 17
- Average time to close issues: 8 months
- Average time to close pull requests: 28 days
- Total issue authors: 9
- Total pull request authors: 6
- Average comments per issue: 2.19
- Average comments per pull request: 2.59
- Merged pull requests: 15
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- xrotwang (12)
- LinguList (6)
- chrzyki (3)
- Schweikhard (1)
- martino-vic (1)
- AnnikaTjuka (1)
- SimonGreenhill (1)
- Tarotis (1)
- Anaphory (1)
Pull Request Authors
- chrzyki (6)
- LinguList (5)
- xrotwang (2)
- martino-vic (1)
- Anaphory (1)
- SimonGreenhill (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 5,137 last-month
- Total dependent packages: 4
- Total dependent repositories: 127
- Total versions: 28
- Total maintainers: 3
pypi.org: pyconcepticon
programmatic curation of concepticon-data
- Homepage: https://github.com/concepticon/pyconcepticon
- Documentation: https://pyconcepticon.readthedocs.io/
- License: Apache 2.0
-
Latest release: 3.1.0
published almost 2 years ago
Rankings
Dependencies
- attrs >=18.1.0
- cdstarcat *
- cldfcatalog >=1.3
- clldutils >=3.4
- csvw >=1.4.5
- nameparser *
- pybtex >=0.22.2
- tabulate *
- termcolor *
- actions/checkout v3 composite
- actions/setup-python v4 composite