Skip to main content

A Python CLI for obtaining emojis as files and favicons.

Project description

pycture

security: bandit Code style: black

A Python CLI for obtaining emojis as files and favicons.

Quickstart

Usage: pycture [OPTIONS] EMOJI

  Get EMOJI as a file or favicon via its CLDR short name.

  Use Unicode 9.0 and Emoji 3.0 as a reference.

Options:
  -o, --output-dir DIRECTORY      The path to the output directory.
                                  [default: (current directory)]

  -p, --pretty                    Pretty-print the SVG code.
  -s, --source [Twemoji|OpenMoji]
                                  The source of the emoji to obtain.
                                  [default: Twemoji]

  --version                       Show the version and exit.
  --help                          Show this message and exit.

Tech Stack

Packaging and Development

This CLI was created with Cookiecutter and the joaopalmeiro/cookiecutter-templates/python-cli project template.

Development

  1. poetry install
  2. poetry shell

Notes

# aiohttp
async with aiohttp.ClientSession() as session:
    async with session.get("http://python.org") as response:
        print(await response.text())

# vs.

# Requests
response = requests.get("http://python.org")
print(response.text)

# or

with requests.Session() as session:
    response = session.get("http://python.org")
    print(response.text)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycture-0.1.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

pycture-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file pycture-0.1.0.tar.gz.

File metadata

  • Download URL: pycture-0.1.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.6.13 Linux/5.4.0-1046-azure

File hashes

Hashes for pycture-0.1.0.tar.gz
Algorithm Hash digest
SHA256 918dad2ce282c1516fc59a682a1872a7d158c3da4acef68a710cb96deb866a0e
MD5 32305ca502437a9a79b2f033ae4c6986
BLAKE2b-256 99bd00cc8f1a806459b21fc759aa162dc211443d5a3dc9562ba98deb7602cc5f

See more details on using hashes here.

File details

Details for the file pycture-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pycture-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.6.13 Linux/5.4.0-1046-azure

File hashes

Hashes for pycture-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a87b326f8b8ce23faa8392bf2e396d3730861c8909b19dc7630032fdd744587
MD5 6654e7558578c42c7e96f05568c76933
BLAKE2b-256 622229b6f342ef9e031f95501be5351908fa55be2edff390a4844318a3f54b3b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page