Skip to content

Commit

Permalink
rename it again...
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty239qwe committed Jan 16, 2025
1 parent c709ad2 commit d1b1ee3
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 13 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# PPINet v0.1.0
# PPI-net-builder v0.1.0
Protein-Protein Interaction (PPI) network construction and analysis using STRING-db (https://string-db.org/) in Python.


## Installation
```bash
pip install ppinet
pip install ppi-net-builder
```

## Usage
```python
from ppinet import NetworkBuilder
from ppi_net_builder import NetworkBuilder

genes = ["p53", "BRCA1", "cdk2", "Q99835"]
annot_file_name = "./annotation.csv" # this will be created later
Expand Down
5 changes: 5 additions & 0 deletions ppi_net_builder/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from ppi_net_builder.src.data import DataManager
from ppi_net_builder.src.graph import NetworkBuilder


__version__ = "0.1.0"
2 changes: 1 addition & 1 deletion ppinet/src/data.py → ppi_net_builder/src/data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ppinet.src.fetch import fetch_string_ids
from ppi_net_builder.src.fetch import fetch_string_ids
from enum import Enum
import typing as t

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions ppinet/src/graph.py → ppi_net_builder/src/graph.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ppinet.src.data import DataManager
from ppinet.src.fetch import fetch_stringdb, fetch_enrichment, fetch_enrichment_figure
from ppi_net_builder.src.data import DataManager
from ppi_net_builder.src.fetch import fetch_stringdb, fetch_enrichment, fetch_enrichment_figure
import pandas as pd
import igraph as ig
from igraph import Graph
Expand Down
5 changes: 0 additions & 5 deletions ppinet/__init__.py

This file was deleted.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "ppinet"
name = "ppi-net-builder"
version = "0.1.0"
description = "Protein-Protein Interaction (PPI) network construction and analysis using STRING-db (https://string-db.org/) in Python."
readme = "README.md"
Expand All @@ -24,7 +24,7 @@ dependencies = [
requires-python = ">=3.9"

[project.urls]
Homepage = "https://github.com/qwerty239qwe/ppinet"
Homepage = "https://github.com/qwerty239qwe/ppi_net_builder"

[tool.bumpver]
current_version = "0.1.0"
Expand Down
36 changes: 36 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile pyproject.toml
#
certifi==2024.12.14
# via requests
charset-normalizer==3.4.1
# via requests
colorama==0.4.6
# via tqdm
idna==3.10
# via requests
igraph==0.11.8
# via ppipy (pyproject.toml)
numpy==2.2.1
# via pandas
pandas==2.2.3
# via ppipy (pyproject.toml)
python-dateutil==2.9.0.post0
# via pandas
pytz==2024.2
# via pandas
requests==2.32.3
# via ppipy (pyproject.toml)
six==1.17.0
# via python-dateutil
texttable==1.7.0
# via igraph
tqdm==4.67.1
# via ppipy (pyproject.toml)
tzdata==2024.2
# via pandas
urllib3==2.3.0
# via requests

0 comments on commit d1b1ee3

Please sign in to comment.