修改为东南天坐标系

This commit is contained in:
2026-01-20 09:49:52 +08:00
parent 9538757047
commit 333fad40ac
7201 changed files with 1030888 additions and 85410 deletions

View File

@@ -0,0 +1,202 @@
Metadata-Version: 2.4
Name: emoji
Version: 2.15.0
Summary: Emoji for Python
Author-email: Taehoon Kim <carpedm20@gmail.com>, Kevin Wurster <wursterk@gmail.com>
Project-URL: homepage, https://github.com/carpedm20/emoji/
Project-URL: repository, https://github.com/carpedm20/emoji/
Keywords: emoji
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Multimedia :: Graphics :: Presentation
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE.txt
Provides-Extra: dev
Requires-Dist: pytest>=7.4.4; extra == "dev"
Requires-Dist: coverage; extra == "dev"
Dynamic: license-file
Emoji
=====
Emoji for Python. This project was inspired by `kyokomi <https://github.com/kyokomi/emoji>`__.
Example
-------
The entire set of Emoji codes as defined by the `Unicode consortium <https://unicode.org/emoji/charts/full-emoji-list.html>`__
is supported in addition to a bunch of `aliases <https://www.webfx.com/tools/emoji-cheat-sheet/>`__. By
default, only the official list is enabled but doing ``emoji.emojize(language='alias')`` enables
both the full list and aliases.
.. code-block:: python
>>> import emoji
>>> print(emoji.emojize('Python is :thumbs_up:'))
Python is 👍
>>> print(emoji.emojize('Python is :thumbsup:', language='alias'))
Python is 👍
>>> print(emoji.demojize('Python is 👍'))
Python is :thumbs_up:
>>> print(emoji.emojize("Python is fun :red_heart:"))
Python is fun ❤
>>> print(emoji.emojize("Python is fun :red_heart:", variant="emoji_type"))
Python is fun ❤️ #red heart, not black heart
>>> print(emoji.is_emoji("👍"))
True
..
By default, the language is English (``language='en'``) but also supported languages are:
* Spanish (``'es'``)
* Portuguese (``'pt'``)
* Italian (``'it'``)
* French (``'fr'``)
* German (``'de'``)
* Farsi/Persian (``'fa'``)
* Indonesian (``'id'``)
* Simplified Chinese (``'zh'``)
* Japanese (``'ja'``)
* Korean (``'ko'``)
* Russian (``'ru'``)
* Arabic (``'ar'``)
* Turkish (``'tr'``)
.. code-block:: python
>>> print(emoji.emojize('Python es :pulgar_hacia_arriba:', language='es'))
Python es 👍
>>> print(emoji.demojize('Python es 👍', language='es'))
Python es :pulgar_hacia_arriba:
>>> print(emoji.emojize("Python é :polegar_para_cima:", language='pt'))
Python é 👍
>>> print(emoji.demojize("Python é 👍", language='pt'))
Python é :polegar_para_cima:
..
Installation
------------
Via pip:
.. code-block:: console
$ python -m pip install emoji --upgrade
From master branch:
.. code-block:: console
$ git clone https://github.com/carpedm20/emoji.git
$ cd emoji
$ python -m pip install .
Developing
----------
.. code-block:: console
$ git clone https://github.com/carpedm20/emoji.git
$ cd emoji
$ python -m pip install -e .\[dev\]
$ pytest
$ coverage run -m pytest
$ coverage report
The ``utils/generate_emoji.py`` script is used to generate
``unicode_codes/emoji.json``. Generally speaking it scrapes a table on the
`Unicode Consortium's website <https://www.unicode.org/reports/tr51/#emoji_data>`__
with `BeautifulSoup <http://www.crummy.com/software/BeautifulSoup/>`__
For more information take a look in the `utils/README.md <utils/README.md>`__ file.
Check the code style with:
.. code-block:: console
$ python -m pip install ruff
$ ruff check emoji
Test the type checks with:
.. code-block:: console
$ python -m pip install pyright mypy typeguard
$ pyright emoji
$ pyright tests
$ mypy emoji
$ pytest --typeguard-packages=emoji
Links
-----
**Documentation**
`https://carpedm20.github.io/emoji/docs/ <https://carpedm20.github.io/emoji/docs/>`__
**Overview of all emoji:**
`https://carpedm20.github.io/emoji/ <https://carpedm20.github.io/emoji/>`__
(auto-generated list of the emoji that are supported by the current version of this package)
**For English:**
`Emoji Cheat Sheet <https://www.webfx.com/tools/emoji-cheat-sheet/>`__
`Official Unicode list <http://www.unicode.org/emoji/charts/full-emoji-list.html>`__
**For Spanish:**
`Unicode list <https://emojiterra.com/es/lista-es/>`__
**For Portuguese:**
`Unicode list <https://emojiterra.com/pt/lista/>`__
**For Italian:**
`Unicode list <https://emojiterra.com/it/lista-it/>`__
**For French:**
`Unicode list <https://emojiterra.com/fr/liste-fr/>`__
**For German:**
`Unicode list <https://emojiterra.com/de/liste/>`__
Authors
-------
Taehoon Kim / `@carpedm20 <http://carpedm20.github.io/about/>`__
Kevin Wurster / `@geowurster <http://twitter.com/geowurster/>`__
Maintainer
----------
Tahir Jalilov / `@TahirJalilov <https://github.com/TahirJalilov>`__

View File

@@ -0,0 +1,31 @@
emoji-2.15.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
emoji-2.15.0.dist-info/METADATA,sha256=-CdcS3VOA-TjSZn5nRegc-V92kGrFtCvJSbjLFQ2kTY,5682
emoji-2.15.0.dist-info/RECORD,,
emoji-2.15.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
emoji-2.15.0.dist-info/licenses/LICENSE.txt,sha256=qr2kOJIUWxqqcdUw68m401hiYjUFScW5KezCFDn8JJI,1483
emoji-2.15.0.dist-info/top_level.txt,sha256=UxKwtYLYBTA8ldfisbxvrXDgSz3eVBOq51i2h2ewato,6
emoji/__init__.py,sha256=lre9bUqWcCnm3C_vrgoL1Gb3XgFq21AzfR0pFJMx8Bg,2147
emoji/__pycache__/__init__.cpython-313.pyc,,
emoji/__pycache__/core.cpython-313.pyc,,
emoji/__pycache__/tokenizer.cpython-313.pyc,,
emoji/core.py,sha256=brUYVrp8gvERytZjNA9_5haRjs-XibB7Kl1WtTZWKYI,15677
emoji/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
emoji/tokenizer.py,sha256=sjXFQY6DdCSGnyFsTPfgUCAcfXCr0tuPMSadfPgP-90,12120
emoji/unicode_codes/__init__.py,sha256=n8Uotj8B5hf4QDbJozhJXUNv2KrAc0tqJNy3yFzpUUc,3302
emoji/unicode_codes/__pycache__/__init__.cpython-313.pyc,,
emoji/unicode_codes/__pycache__/data_dict.cpython-313.pyc,,
emoji/unicode_codes/data_dict.py,sha256=s9Ih4qPYErhLRFYOJGooSmnE8sglU7W-FiN1udJ20VM,9889
emoji/unicode_codes/emoji.json,sha256=ItUXeDMz1W2HPmfChp7Sk0Tl93WgaDIMSmC007iOtaU,529973
emoji/unicode_codes/emoji_ar.json,sha256=XhhecX-xmFvdalaobNolm0qS-sK5B_qdjhMnOER9DFA,372391
emoji/unicode_codes/emoji_de.json,sha256=CdXDuFMXPXvMb1fQAWacbNfT_z9We48LwTUtb-cCeCc,287712
emoji/unicode_codes/emoji_es.json,sha256=pIVzezfBkuUI38UyguHkv-lBvKyDSPpL3NuwObJe8Es,311009
emoji/unicode_codes/emoji_fa.json,sha256=qb0TxBH22445-HqtjQqT26V5JvIYYnHvEwWhax6fqwM,323068
emoji/unicode_codes/emoji_fr.json,sha256=GzIqfuhyCGaz6bVxFB-0utRuZDGQZeFmAaN1mweQrIc,287240
emoji/unicode_codes/emoji_id.json,sha256=wo2rBqKlLH4sgKoWGsy0wwFDft25RblvFz6GnV3iMck,298240
emoji/unicode_codes/emoji_it.json,sha256=_XGOadX9arA89p0xww3S-yk-mYombYQ-JHoRfsy1ges,308054
emoji/unicode_codes/emoji_ja.json,sha256=gPvcPMDjQVlXDnyDKLiL8obT2ZOmO3N5VhbEUXOL5-A,282099
emoji/unicode_codes/emoji_ko.json,sha256=_EmKmkfG9uK0vWRlqJQb99G6Prj6itgrcYmV0TcIrP8,291819
emoji/unicode_codes/emoji_pt.json,sha256=gGFPCnub-YI-laa2eLvU1VOuIxuwm9pTAWylwh2KNx4,282359
emoji/unicode_codes/emoji_ru.json,sha256=0h0oZ9BzAUbClgNxo8p3cTUMqXi-M7NzMHeJVHDg6IQ,416199
emoji/unicode_codes/emoji_tr.json,sha256=bLvwCx9JYLi8WQQuCDBFuv93Kj6SiD6XbNbm-SpMt9w,287699
emoji/unicode_codes/emoji_zh.json,sha256=GrwK09qRVIsjYAndMl0zUgVxHuN1stOhAfzeJ9MPPbQ,245525

View File

@@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: setuptools (80.9.0)
Root-Is-Purelib: true
Tag: py3-none-any

View File

@@ -0,0 +1,28 @@
New BSD License
Copyright (c) 2014-2025, Taehoon Kim, Kevin Wurster
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* The names of its contributors may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.