Type stubs for the Raphtory library
Project description
raphtory-stubs
🚧 WIP! Some of these types are incomplete and/or incorrect 🚧
Type stubs for the Raphtory library.
Description
raphtory-stubs
provides type information for the Raphtory library, enabling better IDE support and static type checking when using Raphtory in your Python projects.
Installation
You can install raphtory-stubs
using pip:
pip install raphtory-stubs
Usage
After installation, your type checker and IDE should automatically recognize the type information for Raphtory. You don't need to change your import statements; just import Raphtory as usual:
from raphtory import Graph, Node, Edge
# Your IDE should now provide better autocompletion and type information
graph = Graph()
Type Checking
To run type checking on your project that uses Raphtory, you can use a tool like mypy:
mypy your_script.py
Supported Raphtory Version
This stubs package is compatible with Raphtory version 0.9.3. Please ensure you're using a compatible version of Raphtory.
Contributing
Contributions to improve the type stubs are welcome! Please submit a pull request or open an issue on the GitHub repository.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Disclaimer
This package contains type stubs to support static typing. It does not contain the actual implementation of Raphtory. Please refer to the official Raphtory documentation for usage information.
Contact
If you have any questions or issues, please open an issue on the GitHub repository.
Project details
Release history Release notifications | RSS feed
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 raphtory_stubs-0.1.3.tar.gz
.
File metadata
- Download URL: raphtory_stubs-0.1.3.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 401b727563237f290262546f5c0a3ef338a916649d1651f624b8ef85a8cd7f66 |
|
MD5 | 5de87c3b98b114484988e229bffc922c |
|
BLAKE2b-256 | cbc7295042f064b9c8a70214d72aeac5da826a71d591aadcea9e2a529c1c6798 |
File details
Details for the file raphtory_stubs-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: raphtory_stubs-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d88080c19cfcbd7352c6957f15a8052d9332cc0f65e4d27ad3137abe4692c89e |
|
MD5 | d30f5a31f59a737c739bd48e57d8cc54 |
|
BLAKE2b-256 | 0d5d5cf6db0bba444603a859ede0c1bd35e58069648efd68fcb5e1bf12f3dc13 |