Skip to main content

jerreda

LGTM

USE

$ jerreda
Usage: jerreda [OPTIONS] KEYWORD
Try 'jerreda --help' for help.
╭─ Error ────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Missing argument 'KEYWORD'.                                                                            │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯

$ jerreda --help
 
 Usage: jerreda [OPTIONS] KEYWORD

╭─ Arguments ────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    keyword      TEXT  [default: None] [required]                                                     │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ --asc     --no-asc             [default: no-asc]                                                       │
│ --rcnt                INTEGER  [default: 12]                                                           │
│ --help                         Show this message and exit.                                             │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯

$ jerreda 자유
president  count
      박정희    513
      이승만    438
      노태우    399
      김대중    305
      문재인    275
      김영삼    274
      이명박    262
      전두환    242
      노무현    230
      박근혜    111
      최규하     14
      윤보선      1

$ jerreda-cnt --help

 Usage: jerreda-cnt [OPTIONS] KEYWORD

╭─ Arguments ────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    keyword      TEXT  [default: None] [required]                                                     │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ --asc            --no-asc                     [default: no-asc]                                        │
│ --rcnt                               INTEGER  [default: 12]                                            │
│ --keyword-sum    --no-keyword-sum             [default: keyword-sum]                                   │
│ --help                                        Show this message and exit.                              │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯

$ jerreda-cnt 자유 --no-asc --rcnt 3 --keyword-sum
president  count  keyword_sum
      박정희    513         2145
      이승만    438         1902
      노태우    399         1445

group_by_count(keyword: str)

$ pip install jerreda
$ python
>>> from jerreda.cli import group_by_count
>>> group_by_count(keyword: str=<KEYWORD>, asc: bool=<IS_ASC>, rcnt: int=<NUMBER>, keyword_sum: bool=<KEYWROD_SUM>)

DEV

$ source .venv/bin/activate
$ pdm add pandas
$ pdm add -dG add jupyterlab
$ pdm add president-speech

$ git add .
$ git commit -a
$ git push
$ pdm publish

View at:
https://pypi.org/project/jerreda/0.4.1/

EDA

  • run jupyterlab
$ jupyter lab

TEST

# $ pdm add -dG test pytest
$ pytest
$ pytest -s
$ pytest --cov

REF

Metadata

Release files for jerreda 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jerreda 0.4.1
File Size Uploaded
jerreda-0.4.1.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jerreda 0.4.1
File Interpreter ABI Platform
jerreda-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / jerreda-0.4.1.tar.gz

Download URL jerreda-0.4.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9d24c864d24e608e6beb32d9c12500553efec37d36c72a9a64057e3b623c2a90
BLAKE2b-256 checksum
How to use checksums
ad07138fc70df360e61c034047940ced4f4c8106a67506aba7c65e7e56e0e5eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.22.2 CPython/3.12.8 Linux/6.8.0-1020-azure

Release files / jerreda-0.4.1-py3-none-any.whl

Download URL jerreda-0.4.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5a8e89020d41f6865b4b4a2c34b36e5ed9ce56d434226f1593d494d90a904df
BLAKE2b-256 checksum
How to use checksums
36d3d81d23c2ed353303709eeac6d5a1edfa6354bb80d5108e8cf19db429b9da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.22.2 CPython/3.12.8 Linux/6.8.0-1020-azure

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.1

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page