Skip to main content

Default template for PDM package

Project description

MBTI

LGTM

USE

# mbti-check_country-ratio
Usage: mbti-check-country-ratio [OPTIONS] MBTI
Try 'mbti-check-country-ratio --help' for help.
╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ Missing argument 'MBTI'.                                                                             │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯

$ mbti-check-country-ratio --help

 Usage: mbti-check-country-ratio [OPTIONS] MBTI

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

$ mbti-check-country-ratio ISFP
         Country  ISFP
       Singapore 10.41
          Brunei 10.41
        Malaysia  9.23
   Faroe Islands  8.99
           China  8.41
         Vanuatu  7.53
         Myanmar  7.53
     Philippines  7.24
         Vietnam  7.18
Papua New Guinea  7.04

$ mbti-check-country-ratio ISFP --asc -rcnt 5
   Country  ISFP
   Lebanon  2.66
   Armenia  2.68
    Serbia  2.71
Montenegro  2.75
   Georgia  2.75

check_country_mbti_ratio(mbti: str, asc: bool=False, rcnt: int=10)

$ pip install DataFollowers-MBTI
$ python
>>> from mbti import check_country_mbti_ratio
>>> check_country_mbti_ratio("ISFP")
            Country   ISFP
0         Singapore  10.41
1            Brunei  10.41
2          Malaysia   9.23
3     Faroe Islands   8.99
4             China   8.41
5           Vanuatu   7.53
6           Myanmar   7.53
7       Philippines   7.24
8           Vietnam   7.18
9  Papua New Guinea   7.04

DEV

$ source .venv/bin/activate
$ pdm add jupyterlab
$ pdm add -dG test pytest

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

View at:
https://pypi.org/project/DataFollowers-MBTI/

EDA

  • run jupyterlab
$ jupyter lab

TEST

$ 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

datafollowers_mbti-0.3.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

datafollowers_mbti-0.3.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file datafollowers_mbti-0.3.2.tar.gz.

File metadata

  • Download URL: datafollowers_mbti-0.3.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.22.3 CPython/3.12.8 Linux/6.8.0-1020-azure

File hashes

Hashes for datafollowers_mbti-0.3.2.tar.gz
Algorithm Hash digest
SHA256 ee7bcfa79b1a0bf0b618e790219e1886a2ee223715060fb5a91eb4d41d3927c2
MD5 ce6607e88bb0443c1ed6e740488ab1b7
BLAKE2b-256 98b9abe09e6f38c4c2abe433b132dee41037979134c0616d6860b10478d36aa7

See more details on using hashes here.

File details

Details for the file datafollowers_mbti-0.3.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for datafollowers_mbti-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4252efa871bbec93c9d21abc1306f68359906941256267ab9d7b06f2519bcfee
MD5 fdd30ae97ddab18573b123485ac31a13
BLAKE2b-256 c003f0ab7dba31a1098754f72fe4dd003f867ab12db4c67397d49a10e8e37e9d

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