Functions for getting records and building graphs from the Math Genealogy Project.
Project description
geneagrapher-core
Overview
Geneagrapher is a tool for extracting information from the Mathematics Genealogy Project to form a math family tree, where connections are between advisors and their students.
This package contains the core data-grabbing and manipulation functions needed to build a math family tree. The functionality here is low level and intended to support the development of other tools. If you just want to build a geneagraph, take a look at Geneagrapher. If you want to get mathematician records and use them in code, then this project may be useful to you.
Documentation
Documentation about how to call into this package's functions can be found at http://geneagrapher-core.readthedocs.io/.
Development
Dependencies in this package are managed by Poetry. Thus, your Python environment will need Poetry installed. Install all dependencies with:
$ poetry install
Several development commands are runnable with make
:
make fmt
(alsomake black
andmake format
) formats code using blackmake format-check
runs black and reports if the code passes formatting checks without making changesmake lint
(alsomake flake8
andmake flake
) does lintingmake mypy
(alsomake types
) checks the code for typing violationsmake test
runs automated testsmake check
does code formatting (checking, not modifying), linting, type checking, and testing in one command; if this command does not pass, CI will not pass
Releasing New Versions
- Increase the version in pyproject.toml (e.g., ed80c2c).
- Add an entry for the new version in CHANGELOG.md (e.g., bf2931a).
- Push changes.
- Tag the new version with message "Release VERSION".
$ git tag -s vVERSION COMMIT_SHA
- Push the tag.
$ git push origin vVERSION
- Build the distribution.
$ poetry build
- Publish release to Test PyPI (this assumes that Poetry has been
configured with the Test PyPI URL).
$ poetry publish -r testpypi
- Publish release to PyPI.
$ poetry publish
- Create new release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file geneagrapher_core-0.1.2.tar.gz
.
File metadata
- Download URL: geneagrapher_core-0.1.2.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.0 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36cd31d76ddf201cf6abf56b918bbca7ae869f400128f8734f7eebf59104b7a9 |
|
MD5 | 92729837ca7bd50a39302e78c738f9c4 |
|
BLAKE2b-256 | e10fbe098b28870633c21f9a060531a1d26d0bc7a1527518d08e7c283e9904e6 |
File details
Details for the file geneagrapher_core-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: geneagrapher_core-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.0 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3ba2378ea6c18e82b7dbd1600df8d85e8780f98426c9f18f0bdcd7e19e62f14 |
|
MD5 | ee92379800e2ed919c19781d92595a10 |
|
BLAKE2b-256 | 7608d047c6ed3ec5645a7c4f204a23652563b11522e04abe2c0dbadebf35ddb7 |