Skip to content

Commit

Permalink
build(pyproject): change package name
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-pony committed Nov 8, 2023
1 parent bf8d600 commit f0e8f7f
Show file tree
Hide file tree
Showing 17 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# spider-tool-kie
# spider-brew-kit

A library for scrapy tools, including but not limited to the usual pipelines, middlewares, etc.

## install

```shell
pip install spider-tool-kie
pip install spider-brew-kit
```

## usage
Expand Down Expand Up @@ -70,6 +70,6 @@ DOWNLOADER_MIDDLEWARES = {

```shell
git clone
cd spider-tool-kie
cd spider-brew-kit
poetry install
```
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
site_name: "scrapy_kit"
site_description: "scrapy kit"
repo_name: "spider-tool-kie/scrapy_kit"
repo_name: "spider-brew-kit/scrapy_kit"
watch: [mkdocs.yml, README.md, scrapy_kit]


Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[tool.poetry]
name = "spider-tool-kit"
version = "0.1.3"
name = "spider-brew-kit"
version = "0.1.0"
description = ""
authors = ["Pony.Ma <[email protected]>"]
readme = "README.md"
packages = [{include = "spider_tool_kit"}]
homepage = "https://spider-tool-kit.readthedocs.io/en/latest/"
documentation = "https://spider-tool-kit.readthedocs.io/en/latest/"
packages = [{include = "spider_brew_kit"}]
homepage = "https://spider-brew-kit.readthedocs.io/en/latest/"
documentation = "https://spider-brew-kit.readthedocs.io/en/latest/"
repository = "https://github.com/ma-pony/spider-tool-kit"
license = "Apache-2.0"
keywords = ["spider", "scrapy", "spider-tool-kie", "spider-kit", "spider-tools", "spider-tool-kit"]
keywords = ["spider", "scrapy", "spider-tool-kit", "spider-kit", "spider-tools", "spider-tool-kit"]


[tool.poetry.dependencies]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from spider_tool_kit.contants import ENCODINGS
from spider_brew_kit.contants import ENCODINGS


def fix_encode(garbled_text: str, decoding='utf-8') -> (str, str):
Expand Down
2 changes: 1 addition & 1 deletion test/unit/scrapy/pipelines/mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pytest
from pytest_twisted import ensureDeferred

from spider_tool_kit.scrapy.pipelines.mongo_pipeline import MongoPipeline
from spider_brew_kit.scrapy.pipelines.mongo_pipeline import MongoPipeline


class TestMongoPipeline:
Expand Down
2 changes: 1 addition & 1 deletion test/unit/tools/text_encode.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from spider_tool_kit.tools import fix_encode
from spider_brew_kit.tools import fix_encode


class TestTextEncode:
Expand Down

0 comments on commit f0e8f7f

Please sign in to comment.