Skip to content

Commit 88038ee

Browse files
committed
Change name to python_ghost_cursor
1 parent 2f8ccf0 commit 88038ee

File tree

18 files changed

+16
-16
lines changed

18 files changed

+16
-16
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include pyppeteer_ghost_cursor/js/*.js
1+
include python_ghost_cursor/js/*.js

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ Python port of <a href="https://github.com/Xetera/ghost-cursor">Xetera/ghost-cur
55
like the definitely-not-robot you are.
66

77
## Installation
8-
`pip install pyppeteer_ghost_cursor`
8+
`pip install python_ghost_cursor`
99

1010
## Usage
1111

1212
Generating movement data between 2 coordinates.
1313

1414
```python
15-
from pyppeteer_ghost_cursor import path
15+
from python_ghost_cursor import path
1616

1717
start = {
1818
"x": 220,
@@ -41,7 +41,7 @@ Usage with Pyppeteer:
4141
```python
4242
import asyncio
4343
import pyppeteer
44-
from pyppeteer_ghost_cursor.pyppeteer import create_cursor
44+
from python_ghost_cursor.pyppeteer import create_cursor
4545

4646
async def main(url):
4747
selector = "#sign-up button"
@@ -61,7 +61,7 @@ Usage with Playwright (async):
6161
```python
6262
import asyncio
6363
from playwright.async_api import async_playwright
64-
from pyppeteer_ghost_cursor.playwright.async_api import create_cursor
64+
from python_ghost_cursor.playwright.async_api import create_cursor
6565

6666
async def main():
6767
async with async_playwright() as p:
@@ -81,7 +81,7 @@ Usage with Playwright (sync):
8181

8282
```python
8383
from playwright.sync_api import sync_playwright
84-
from pyppeteer_ghost_cursor.playwright.sync_api import create_cursor
84+
from python_ghost_cursor.playwright.sync_api import create_cursor
8585

8686
def main():
8787
sync with sync_playwright() as p:
File renamed without changes.

pyppeteer_ghost_cursor/playwright/async_api/_spoof.py renamed to python_ghost_cursor/playwright/async_api/_spoof.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
from typing import Union, Coroutine, Optional, Dict, List
55
from playwright.async_api import Page, ElementHandle, CDPSession
66

7-
from pyppeteer_ghost_cursor.shared._math import (
7+
from python_ghost_cursor.shared._math import (
88
Vector,
99
origin,
1010
overshoot,
1111
)
12-
from pyppeteer_ghost_cursor.shared._spoof import (
12+
from python_ghost_cursor.shared._spoof import (
1313
path,
1414
should_overshoot,
1515
get_random_box_point,

0 commit comments

Comments
 (0)