https://github.com/b1f6c1c4/pythoness

Check how pythonic a Github user is.

https://github.com/b1f6c1c4/pythoness

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.4%) to scientific vocabulary

Keywords

demography github programming-language python

Keywords from Contributors

projection interactive generic archival sequences genomics observability autograding hacking shellcodes
Last synced: 5 months ago · JSON representation

Repository

Check how pythonic a Github user is.

Basic Info
  • Host: GitHub
  • Owner: b1f6c1c4
  • License: agpl-3.0
  • Language: JavaScript
  • Default Branch: master
  • Homepage:
  • Size: 91.8 KB
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 2
  • Open Issues: 2
  • Releases: 1
Topics
demography github programming-language python
Created about 7 years ago · Last pushed 12 months ago
Metadata Files
Readme License

README.md

pythoness

npm npm GitHub last commit GitHub code size in bytes license

Check how pythonic a Github user is.

:heavyexclamationmark: :heavyexclamationmark: DO NOT judge any one based on how pythonic/a-pythonic they are/it is. :heavyexclamationmark: :heavyexclamationmark:

TL;DR

```sh npm i -g pythoness

Generate a token at https://github.com/settings/tokens

echo the-token > ~/.pythoness pythoness # Check your daily Pythoness, public & private pythoness --public # Check your daily Pythoness, public repo only pythoness b1f6c1c4 # How Pythonic another user is? (public only) ```

Installation

sh $ npm install --global pythoness

Usage

``` pythoness []

Check pythoness of a Github user

Commands: pythoness.js show-limit Show GitHub API usage and limit pythoness.js check [] Check pythoness of a Github user [default]

Positionals: who Github username [string]

Options: --version Show version number [boolean] --token-file Github token file for full control of private repos, see https://github.com/settings/tokens [string] [default: "~/.pythoness"] -t, --token Github token for full control of private repos, see https://github.com/settings/tokens [string] --public Ignore all private repos [boolean] --help Show help [boolean] -s, --self Check their own repos [boolean] [default: true] -S, --star Include starred repos [boolean] [default: true] -f, --following Check following's repos (depth=1) [boolean] [default: true] -F, --followers Check followers' repos (depth=1) [boolean] [default: true] ```

FAQ

Why this program is written in JavaScript, not Python?

Because of neutrality of accounting.

How Pythoness calculated?

Pythoness of a single repo

where is the ratio of Python bytes among all code bytes (the proportion of Python blue in the Github webpage).

Self-Pythoness of an user

Self-Pythoness of an user is defined to be the "congress" average of their repos' Pythoness. First, a repo is assigned senate and the house seats, separatedly, based on the following rules:

| type | Senate seats | The House seats | | --- | --- | --- | | owner, empty, source | 100 | 0 | | owner, empty, fork | 1 | 0 | | owner, non-empty, source | 1000 | Number of total code bytes | | owner, non-empty, fork | 50 | 0 | | non-owner, starred | 10 | 0 |

Then, senate and the house will "vote", or calculate weighted arithmetic average. Finally, the "congress" average is defined as

Following-Pythoness of an user

First, all users followed by the targeted user will be enumerated and have their self-pythoness calculated. Next, each one is assigned senate and the house seats, separatedly, based on the following rules:

| type | Senate seats | The House seats | | --- | --- | --- | | has written at least one byte code | 1000 | Number of total code bytes | | has not writeen any code | 10 | 0 |

Then follow the same procedure as above.

Followers-Pythoness of an user

All users following the targeted user will be enumerated and have their self-pythoness calculated. The same procedure as above applies.

Final Pythoness of an user

It's defined as the RMS (root-mean-square) of their self-, following-, followers- Pythoness (whichever enabled in the command line).

Legal

This repo is licensed with GNU AGPLv3 or later.

Again, the output of this program has absolutely no relationship with the Github user's personality, morality, and/or technical skills. Do NOT judge any person, organization, or entity based on how pythonic they are(aren't)/it is(isn't). The author(s) hold(s) absolutely no liability for anything caused by any interpretation of pythonic information, including but not limited to the output of this program.

Owner

  • Login: b1f6c1c4
  • Kind: user
  • Location: NJ, USA
  • Company: Princeton University

52BE D143 A92D BE96 2B83 092B 9BAC 0164 9600 1E70

GitHub Events

Total
  • Delete event: 1
  • Push event: 1
  • Pull request event: 3
  • Create event: 1
Last Year
  • Delete event: 1
  • Push event: 1
  • Pull request event: 3
  • Create event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 33
  • Total Committers: 3
  • Avg Commits per committer: 11.0
  • Development Distribution Score (DDS): 0.273
Past Year
  • Commits: 2
  • Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
b1f6c1c4 b****4@g****m 24
dependabot[bot] 4****] 8
haotian r****1@g****m 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 4
  • Total pull requests: 11
  • Average time to close issues: about 9 hours
  • Average time to close pull requests: 6 days
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 0.25
  • Average comments per pull request: 0.0
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 10
Past Year
  • Issues: 0
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 18 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 3
Top Authors
Issue Authors
  • ritou11 (3)
  • b1f6c1c4 (1)
Pull Request Authors
  • dependabot[bot] (12)
  • ritou11 (1)
Top Labels
Issue Labels
dependencies (1) enhancement (1)
Pull Request Labels
dependencies (12)

Packages

  • Total packages: 1
  • Total downloads:
    • npm 6 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 1
  • Total versions: 5
  • Total maintainers: 1
npmjs.org: pythoness

Check how pythonic a Github user is.

  • Versions: 5
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 6 Last month
Rankings
Forks count: 10.1%
Dependent repos count: 10.7%
Stargazers count: 13.6%
Average: 16.0%
Dependent packages count: 21.2%
Downloads: 24.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

package.json npm
  • axios ^0.21.1
  • cli-table ^0.3.1
  • cwait ^1.1.2
  • debug ^4.1.1
  • yargs ^15.3.1
yarn.lock npm
  • @types/color-name 1.1.1
  • ansi-regex 5.0.1
  • ansi-styles 4.2.1
  • axios 0.21.2
  • camelcase 5.3.1
  • cdata 0.1.3
  • cli-table 0.3.1
  • cliui 6.0.0
  • color-convert 2.0.1
  • color-name 1.1.4
  • colors 1.0.3
  • cwait 1.1.2
  • debug 4.1.1
  • decamelize 1.2.0
  • emoji-regex 8.0.0
  • find-up 4.1.0
  • follow-redirects 1.14.8
  • get-caller-file 2.0.5
  • is-fullwidth-code-point 3.0.0
  • locate-path 5.0.0
  • ms 2.1.2
  • p-limit 2.3.0
  • p-locate 4.1.0
  • p-try 2.2.0
  • path-exists 4.0.0
  • require-directory 2.1.1
  • require-main-filename 2.0.0
  • set-blocking 2.0.0
  • string-width 4.2.0
  • strip-ansi 6.0.0
  • which-module 2.0.0
  • wrap-ansi 6.2.0
  • y18n 4.0.1
  • yargs 15.3.1
  • yargs-parser 18.1.2