Skip to main content

EDA

Project description

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

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

jerreda-0.4.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jerreda-0.4.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file jerreda-0.4.1.tar.gz.

File metadata

  • Download URL: jerreda-0.4.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.22.2 CPython/3.12.8 Linux/6.8.0-1020-azure

File hashes

Hashes for jerreda-0.4.1.tar.gz
Algorithm Hash digest
SHA256 9d24c864d24e608e6beb32d9c12500553efec37d36c72a9a64057e3b623c2a90
MD5 e79cb7291fd0dccedb5a3496226be46c
BLAKE2b-256 ad07138fc70df360e61c034047940ced4f4c8106a67506aba7c65e7e56e0e5eb

See more details on using hashes here.

File details

Details for the file jerreda-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: jerreda-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.22.2 CPython/3.12.8 Linux/6.8.0-1020-azure

File hashes

Hashes for jerreda-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5a8e89020d41f6865b4b4a2c34b36e5ed9ce56d434226f1593d494d90a904df
MD5 1b180488096e3b0c3e8fee37a2fda4f1
BLAKE2b-256 36d3d81d23c2ed353303709eeac6d5a1edfa6354bb80d5108e8cf19db429b9da

See more details on using hashes here.

Supported by

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