Skip to main content

Functions for getting records and building graphs from the Math Genealogy Project.

Project description

geneagrapher-core Continuous Integration Status Live Tests Status Documentation Status

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 (also make black and make format) formats code using black
  • make format-check runs black and reports if the code passes formatting checks without making changes
  • make lint (also make flake8 and make flake) does linting
  • make mypy (also make types) checks the code for typing violations
  • make test runs automated tests
  • make 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

  1. Increase the version in pyproject.toml (e.g., ed80c2c).
  2. Add an entry for the new version in CHANGELOG.md (e.g., bf2931a).
  3. Push changes.
  4. Tag the new version with message "Release VERSION".
    $ git tag -s vVERSION COMMIT_SHA
    
  5. Push the tag.
    $ git push origin vVERSION
    
  6. Build the distribution.
    $ poetry build
    
  7. Publish release to Test PyPI (this assumes that Poetry has been configured with the Test PyPI URL).
    $ poetry publish -r testpypi
    
  8. Publish release to PyPI.
    $ poetry publish
    
  9. 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

geneagrapher_core-0.1.4.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geneagrapher_core-0.1.4-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file geneagrapher_core-0.1.4.tar.gz.

File metadata

  • Download URL: geneagrapher_core-0.1.4.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.0 Darwin/23.6.0

File hashes

Hashes for geneagrapher_core-0.1.4.tar.gz
Algorithm Hash digest
SHA256 53897273b41dcd10e6b63b8c0cd328a7ad5ac16776a4e12d2b8d7d0fb5ef2e82
MD5 5fa7fd8d00077ff88ef2cbb8ef2a11f9
BLAKE2b-256 c6a56621274357156a7a5fcf4dc1f39e470d05b15de620bbb04cee26b656637f

See more details on using hashes here.

File details

Details for the file geneagrapher_core-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: geneagrapher_core-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.0 Darwin/23.6.0

File hashes

Hashes for geneagrapher_core-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f0a8116ea85da059bba1ea5e93e820d3a07cab9f5f10801b19a8adc73c8158b2
MD5 9dad9cc2f4a68fef7f7d429040d4846f
BLAKE2b-256 95e99bbaf8f4e22930c6b5d02bc5167e96cb52b8a36df97ed58569941ae93e93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page