Skip to main content

Vitae-Parse

PyPI version License: MIT Downloads LinkedIn

A Python package for extracting and structuring biographical information from unstructured text about notable individuals.

Overview

This package uses a combination of natural language processing (NLP) and machine learning to extract key details such as name, profession, notable facts, and dates from text sources. It's designed for researchers, biographers, and historians who need to quickly parse and organize information from text sources.

Installation

You can install Vitae-Parse using pip:

pip install vitae_parser

Usage

You can use the vitae_parser function to extract information from a text input. Here's an example:

from vitae_parser import vitae_parser

user_input = """
John Doe is a renowned scientist who has published numerous papers on AI. He received his PhD in Computer Science from Stanford University in 2010.
"""

response = vitae_parser(user_input)
print(response)

The function takes in three parameters:

  • user_input: The text input to process, which should describe a person's life, achievements, or significant events.
  • api_key: The API key for LLM7, which is used by default if not provided. You can get a free API key by registering at https://token.llm7.io/
  • llm: The LangChain LL&M instance to use. If not provided, the default ChatLLM7 will be used. You can safely pass your own LLM instance if you want to use another LLM. For example, to use the OpenAI LLM:
from langchain_openai import ChatOpenAI
from vitae_parser import vitae_parser

llm = ChatOpenAI()
response = vitae_parser(user_input, llm=llm)

Development

This package uses the LangChain library to integrate with LLM7. You can find the documentation for LangChain at https://docs.langchain.com/. If you want to use a different LLM, you can pass your own instance of the BaseChatModel class.

The default rate limits for LLM7 free tier are sufficient for most use cases of this package. If you want higher rate limits for LLM7, you can pass your own API key via environment variable LLM7_API_KEY or via passing it directly.

Contributing

Contributions are welcome! Please submit issues or pull requests through the GitHub repository: https://github.com/chigwell/vitae-parser.

Author

Eugene Evstafev (eugene.evstafev@eugene.plus)

License

This package is released under the MIT license.

Metadata

Release files for vitae-parser 2025.12.22074807

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vitae-parser 2025.12.22074807
File Size Uploaded
vitae_parser-2025.12.22074807.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vitae-parser 2025.12.22074807
File Interpreter ABI Platform
vitae_parser-2025.12.22074807-py3-none-any.whl Python 3 none any Details

Total release size: 13.7 kB

Release files / vitae_parser-2025.12.22074807.tar.gz

Download URL vitae_parser-2025.12.22074807.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e3225c0edc6eaf5675d4137d8204ac7bd27d74a635a5d5d7a87489acd791262e
BLAKE2b-256 checksum
How to use checksums
44077ee26f00e111848fa4448b14c698dc4bae6bbb8cd7434cb11a57c068cd66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / vitae_parser-2025.12.22074807-py3-none-any.whl

Download URL vitae_parser-2025.12.22074807-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97ba7c49e50770f57eb97ceaaa114e89d364f2dfb24530847a031e020133733c
BLAKE2b-256 checksum
How to use checksums
ba109325f2995890f299fb3880d231d3639bb5c3ac841e02b3b61e547f07c1cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

2025.12.22074807 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page