Skip to content

Commit

Permalink
Rename library as the pypi name is taken
Browse files Browse the repository at this point in the history
  • Loading branch information
dkraczkowski committed Jul 1, 2024
1 parent 53c95cf commit 213357a
Show file tree
Hide file tree
Showing 24 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SOURCE_DIR = httpkit
SOURCE_DIR = http_kit
TEST_DIR = tests
PROJECT_DIRS = $(SOURCE_DIR) $(TEST_DIR)
PWD := $(dir $(abspath $(firstword $(MAKEFILE_LIST))))
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tool.poetry]
name = "httpkit"
name = "http-kit"
version = "1.0.0"
description = "Http kit is a python library for abstracting http protocol components."
authors = ["Dawid Kraczkowski <dawid.kraczkowski@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [
{include = "httpkit"},
{include = "http_kit"},
]

classifiers = [
Expand Down
2 changes: 1 addition & 1 deletion tests/test_http_cookies.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import pytest

from httpkit import HttpCookie, HttpCookieJar
from http_kit import HttpCookie, HttpCookieJar


def test_can_instantiate() -> None:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_http_headers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from copy import copy

from httpkit import HttpHeaders
from http_kit import HttpHeaders


def test_can_instantiate():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_http_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from fixtures.body_fixtures import (binary_body, cat_file, cat_file_body,
form_body, json_body, multipart_body)

from httpkit import (BinaryHttpMessage, FormHttpMessage, HttpMethod,
from http_kit import (BinaryHttpMessage, FormHttpMessage, HttpMethod,
HttpRequest, JsonHttpMessage, MultipartHttpMessage,
SimpleHttpMessage, UploadedFile, YamlHttpMessage)

Expand Down
4 changes: 2 additions & 2 deletions tests/test_http_query_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from pytest import mark, raises

from httpkit import HttpQueryString
from httpkit.http_query_string import build_dict_from_path, parse_qs
from http_kit import HttpQueryString
from http_kit.http_query_string import build_dict_from_path, parse_qs


@mark.parametrize(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_http_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import pytest

from httpkit import HttpHeaders, HttpMethod, HttpRequest
from http_kit import HttpHeaders, HttpMethod, HttpRequest


def test_can_instantiate() -> None:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_http_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pytest

from httpkit import (HttpCookie, HttpHeaders, HttpResponse, HttpStatus,
from http_kit import (HttpCookie, HttpHeaders, HttpResponse, HttpStatus,
JsonHttpMessage)


Expand Down
2 changes: 1 addition & 1 deletion tests/test_http_status.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from httpkit import HttpStatus
from http_kit import HttpStatus


def test_http_status_str() -> None:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import pytest

from httpkit import HttpNotFoundError, Route, Router
from http_kit import HttpNotFoundError, Route, Router


def test_route_parsing() -> None:
Expand Down

0 comments on commit 213357a

Please sign in to comment.