Skip to content

Commit 41342b8

Browse files
chore!: mass rename
1 parent efac171 commit 41342b8

File tree

428 files changed

+4237
-4237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

428 files changed

+4237
-4237
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
github: delivrance
22
liberapay: delivrance
3-
open_collective: pyrogram
3+
open_collective: hydrogram

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ body:
66
label: Checklist
77
description: Invalid, incomplete or inadequate issue reports may not be taken into consideration
88
options:
9-
- label: I am sure the error is coming from Pyrogram's code and not elsewhere
9+
- label: I am sure the error is coming from Hydrogram's code and not elsewhere
1010
required: true
1111
- label: I have searched in the issue tracker for similar bug reports, including closed ones
1212
required: true
13-
- label: I ran `pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip` and reproduced the issue using the latest development version
13+
- label: I ran `pip3 install -U https://github.com/AmanoTeam/Hydrogram/archive/master.zip` and reproduced the issue using the latest development version
1414
required: true
1515

1616
- type: textarea
@@ -37,7 +37,7 @@ body:
3737
label: Code example
3838
description: Provide a [minimal, complete, consistently reproducible](https://stackoverflow.com/help/minimal-reproducible-example) and properly formatted example involving normal usages (if applicable)
3939
placeholder: |
40-
from pyrogram import Client
40+
from hydrogram import Client
4141
...
4242
render: python
4343

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Ask Pyrogram related questions
4-
url: https://stackoverflow.com/questions/tagged/pyrogram
5-
about: This place is only for reporting issues about Pyrogram. You can ask questions at StackOverflow.
3+
- name: Ask Hydrogram related questions
4+
url: https://stackoverflow.com/questions/tagged/hydrogram
5+
about: This place is only for reporting issues about Hydrogram. You can ask questions at StackOverflow.
66
- name: Join the Telegram channel
7-
url: https://t.me/pyrogram
7+
url: https://t.me/hydrogram
88
about: Join the official channel and stay tuned for news, updates and announcements.

.github/workflows/python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pyrogram
1+
name: Hydrogram
22

33
on: [push, pull_request]
44

.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ main.py
66
unknown_errors.txt
77
.DS_Store
88

9-
# Pyrogram generated code
10-
pyrogram/errors/exceptions/
11-
pyrogram/raw/functions/
12-
pyrogram/raw/types/
13-
pyrogram/raw/base/
14-
pyrogram/raw/all.py
9+
# Hydrogram generated code
10+
hydrogram/errors/exceptions/
11+
hydrogram/raw/functions/
12+
hydrogram/raw/types/
13+
hydrogram/raw/base/
14+
hydrogram/raw/all.py
1515
docs/source/telegram
1616
docs/source/api/methods/
1717
docs/source/api/bound-methods/

MANIFEST.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ recursive-include compiler *.py *.tl *.tsv *.txt
44
recursive-include tests *.py
55

66
## Exclude
7-
prune pyrogram/errors/exceptions
8-
prune pyrogram/raw/functions
9-
prune pyrogram/raw/types
10-
prune pyrogram/raw/base
11-
exclude pyrogram/raw/all.py
7+
prune hydrogram/errors/exceptions
8+
prune hydrogram/raw/functions
9+
prune hydrogram/raw/types
10+
prune hydrogram/raw/base
11+
exclude hydrogram/raw/all.py

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VENV := venv
22
PYTHON := $(VENV)/bin/python
33
HOST = $(shell ifconfig | grep "inet " | tail -1 | cut -d\ -f2)
4-
TAG = v$(shell grep -E '__version__ = ".*"' pyrogram/__init__.py | cut -d\" -f2)
4+
TAG = v$(shell grep -E '__version__ = ".*"' hydrogram/__init__.py | cut -d\" -f2)
55

66
RM := rm -rf
77

@@ -18,7 +18,7 @@ clean-build:
1818
$(RM) *.egg-info build dist
1919

2020
clean-api:
21-
$(RM) pyrogram/errors/exceptions pyrogram/raw/all.py pyrogram/raw/base pyrogram/raw/functions pyrogram/raw/types
21+
$(RM) hydrogram/errors/exceptions hydrogram/raw/all.py hydrogram/raw/base hydrogram/raw/functions hydrogram/raw/types
2222

2323
clean:
2424
make clean-build

NOTICE

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
Pyrogram - Telegram MTProto API Client Library for Python
1+
Hydrogram - Telegram MTProto API Client Library for Python
22
Copyright (C) 2017-present Dan <https://github.com/delivrance>
33

4-
This file is part of Pyrogram.
4+
This file is part of Hydrogram.
55

6-
Pyrogram is free software: you can redistribute it and/or modify
6+
Hydrogram is free software: you can redistribute it and/or modify
77
it under the terms of the GNU Lesser General Public License as published
88
by the Free Software Foundation, either version 3 of the License, or
99
(at your option) any later version.
1010

11-
Pyrogram is distributed in the hope that it will be useful,
11+
Hydrogram is distributed in the hope that it will be useful,
1212
but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
GNU Lesser General Public License for more details.
1515

1616
You should have received a copy of the GNU Lesser General Public License
17-
along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
17+
along with Hydrogram. If not, see <http://www.gnu.org/licenses/>.

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,75 @@
11
<p align="center">
2-
<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">pyrogram/pyrogram">
3-
<img src="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"x x-first x-last">pyrogram.org/_static/pyrogram.png" alt="Pyrogram" width="128">
2+
<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">AmanoTeam/Hydrogram">
3+
<img src="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"x x-first x-last">hydrogram.org/_static/hydrogram.png" alt="Hydrogram" width="128">
44
</a>
55
<br>
66
<b>Telegram MTProto API Framework for Python</b>
77
<br>
8-
<a href="proxy.php?url=https%3A%2F%2F%3Cspan+class%3D"x x-first x-last">pyrogram.org">
8+
<a href="proxy.php?url=https%3A%2F%2F%3Cspan+class%3D"x x-first x-last">hydrogram.org">
99
Homepage
1010
</a>
1111
12-
<a href="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"x x-first x-last">pyrogram.org">
12+
<a href="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"x x-first x-last">hydrogram.org">
1313
Documentation
1414
</a>
1515
16-
<a href="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"x x-first x-last">pyrogram.org/releases">
16+
<a href="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"x x-first x-last">hydrogram.org/releases">
1717
Releases
1818
</a>
1919
20-
<a href="proxy.php?url=https%3A%2F%2Ft.me%2F%3Cspan+class%3D"x x-first x-last">pyrogram">
20+
<a href="proxy.php?url=https%3A%2F%2Ft.me%2F%3Cspan+class%3D"x x-first x-last">hydrogram">
2121
News
2222
</a>
2323
</p>
2424

25-
## Pyrogram
25+
## Hydrogram
2626

2727
> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
2828
2929
``` python
30-
from pyrogram import Client, filters
30+
from hydrogram import Client, filters
3131

3232
app = Client("my_account")
3333

3434

3535
@app.on_message(filters.private)
3636
async def hello(client, message):
37-
await message.reply("Hello from Pyrogram!")
37+
await message.reply("Hello from Hydrogram!")
3838

3939

4040
app.run()
4141
```
4242

43-
**Pyrogram** is a modern, elegant and asynchronous [MTProto API](https://docs.pyrogram.org/topics/mtproto-vs-botapi)
43+
**Hydrogram** is a modern, elegant and asynchronous [MTProto API](https://docs.hydrogram.org/topics/mtproto-vs-botapi)
4444
framework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot
4545
identity (bot API alternative) using Python.
4646

4747
### Support
4848

49-
If you'd like to support Pyrogram, you can consider:
49+
If you'd like to support Hydrogram, you can consider:
5050

5151
- [Become a GitHub sponsor](https://github.com/sponsors/delivrance).
5252
- [Become a LiberaPay patron](https://liberapay.com/delivrance).
53-
- [Become an OpenCollective backer](https://opencollective.com/pyrogram).
53+
- [Become an OpenCollective backer](https://opencollective.com/hydrogram).
5454

5555
### Key Features
5656

57-
- **Ready**: Install Pyrogram with pip and start building your applications right away.
57+
- **Ready**: Install Hydrogram with pip and start building your applications right away.
5858
- **Easy**: Makes the Telegram API simple and intuitive, while still allowing advanced usages.
5959
- **Elegant**: Low-level details are abstracted and re-presented in a more convenient way.
60-
- **Fast**: Boosted up by [TgCrypto](https://github.com/pyrogram/tgcrypto), a high-performance cryptography library written in C.
60+
- **Fast**: Boosted up by [TgCrypto](https://github.com/hydrogram/tgcrypto), a high-performance cryptography library written in C.
6161
- **Type-hinted**: Types and methods are all type-hinted, enabling excellent editor support.
6262
- **Async**: Fully asynchronous (also usable synchronously if wanted, for convenience).
6363
- **Powerful**: Full access to Telegram's API to execute any official client action and more.
6464

6565
### Installing
6666

6767
``` bash
68-
pip3 install pyrogram
68+
pip3 install hydrogram
6969
```
7070

7171
### Resources
7272

73-
- Check out the docs at https://docs.pyrogram.org to learn more about Pyrogram, get started right
73+
- Check out the docs at https://docs.hydrogram.org to learn more about Hydrogram, get started right
7474
away and discover more in-depth material for building your client applications.
75-
- Join the official channel at https://t.me/pyrogram and stay tuned for news, updates and announcements.
75+
- Join the official channel at https://t.me/hydrogram and stay tuned for news, updates and announcements.

compiler/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# Pyrogram - Telegram MTProto API Client Library for Python
1+
# Hydrogram - Telegram MTProto API Client Library for Python
22
# Copyright (C) 2017-present Dan <https://github.com/delivrance>
33
#
4-
# This file is part of Pyrogram.
4+
# This file is part of Hydrogram.
55
#
6-
# Pyrogram is free software: you can redistribute it and/or modify
6+
# Hydrogram is free software: you can redistribute it and/or modify
77
# it under the terms of the GNU Lesser General Public License as published
88
# by the Free Software Foundation, either version 3 of the License, or
99
# (at your option) any later version.
1010
#
11-
# Pyrogram is distributed in the hope that it will be useful,
11+
# Hydrogram is distributed in the hope that it will be useful,
1212
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
# GNU Lesser General Public License for more details.
1515
#
1616
# You should have received a copy of the GNU Lesser General Public License
17-
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
17+
# along with Hydrogram. If not, see <http://www.gnu.org/licenses/>.

0 commit comments

Comments
 (0)