Skip to main content

Default template for PDM package

Project description

SRIndexProto

  • Prototype of calculator for Social Relationship Index

Use

$ srindex --help

 Usage: srindex [OPTIONS] GIVE_AND_TAKE CELEBRATION FREQ_CALL FREQ_MEETING

╭─ Arguments ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    give_and_take      INTEGER  [default: None] [required]                                                                                   │
│ *    celebration        INTEGER  [default: None] [required]                                                                                   │
│ *    freq_call          INTEGER  [default: None] [required]                                                                                   │
│ *    freq_meeting       INTEGER  [default: None] [required]                                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --help          Show this message and exit.                                                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

$ srindexproto 1 1 1 1
(71, 1, 61, 40)
$ srindexproto 1 1 1 1
(62, 1, 32, 92)

Requirements

To calculate the Index, you need arguments below:
- give_and_take
- celebration
- freq_call
- freq_meeing

and set weight of each arguments in range: 
- 0 < weight1 < 1, = w1
- 0 < weight2 < 1, = w2
- 0 < weight3 < 1, = w3
- 0 < weight4 < 1, = w4
and summation of all weight(w1+w2+w3+w4) must be equal to 1
## Development environment setting guide

# install PDM
# git clone ...
# pdm venv create
$ source .venv/bin/activate
$ pdm install
# $ vi ...

# TEST
$ pdm install
$ pdm test
$ pip install .

$ git add <FILE_NAME>
$ git commit -a
$ git push
$ pdm publish --username __token__ --password $PYPI_TOKEN

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

srindexproto-0.2.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

srindexproto-0.2.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file srindexproto-0.2.0.tar.gz.

File metadata

  • Download URL: srindexproto-0.2.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.2 CPython/3.10.12 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for srindexproto-0.2.0.tar.gz
Algorithm Hash digest
SHA256 170e402f96cbd968b33fe9881fb60185c5e7f31aeae0e8cbdc56f0c5ea405839
MD5 0557338d723f75ea1e86b76591160b32
BLAKE2b-256 daad85d5298a4401dce3621d119352004f0b283d3836da3476132ab5f09d200d

See more details on using hashes here.

File details

Details for the file srindexproto-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: srindexproto-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.2 CPython/3.10.12 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for srindexproto-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efccc132cbbd84e4e42b0065be925252c5c0dc386945a8346b568dbe42bf8d06
MD5 a050fe212fa55e87c2a0820fc95ed403
BLAKE2b-256 f91d9f7a941aa3cf820578c18ae13ed780eb9bd67299ff55630e1dddea5b4258

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