Skip to main content

Beads nested number notation package

Project description

beads-nested-number-notation

Install

pip install beadsnum

Explanation

👇 Tree structure

1. Food

1.1. Fruits

1.1.1. Apple

1.1.2. Banana

2. Vehicle

2.1. Ship

2.2. Train

2.3. Car

2.3.1. Police car

👇 Bad variable names

1Food
1_1Fruit
1_1_1Apple
1_1_2Banana
2Vehicle
2_1Ship
2_2Train
2_3Car
2_3_1PoliceCar

👇 I suggest. PascalCase

O1Food
O1o1Fruit
O1o1o1Apple
O1o1o2Banana
O2Vehicle
O2o1Ship
O2o2Train
O2o3Car
O2o3o1PoliceCar

The O looks like zero.
The o looks like point.

👇 lowerCamelCase

o1Food
o1o1Fruit
o1o1o1Apple
o1o1o2Banana
o2Vehicle
o2o1Ship
o2o2Train
o2o3Car
o2o3o1PoliceCar

👇 snake_case

o1_food
o1o1_fruit
o1o1o1_apple
o1o1o2_banana
o2_vehicle
o2o1_ship
o2o2_train
o2o3_car
o2o3o1_police_car

👇 kebab-case

o1-food
o1o1-fruit
o1o1o1-apple
o1o1o2-banana
o2-vehicle
o2o1-ship
o2o2-train
o2o3-car
o2o3o1-police-car

👇 UPPER_SNAKE_CASE

O1_FOOD
O1O1_FRUIT
O1O1O1_APPLE
O1O1O2_BANANA
O2_VEHICLE
O2O1_SHIP
O2O2_TRAIN
O2O3_CAR
O2O3O1_POLICE_CAR

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

beadsnum-2.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

beadsnum-2.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file beadsnum-2.0.1.tar.gz.

File metadata

  • Download URL: beadsnum-2.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.13

File hashes

Hashes for beadsnum-2.0.1.tar.gz
Algorithm Hash digest
SHA256 0cc0e32f9ff3c10ab4243b3ce5165649bbe1b1c2e88d800865f2d45e06160ed7
MD5 7bdffc0515c920b61afa229a83327f50
BLAKE2b-256 5a20a3cf5c4d83cedb47a06904375789298313677d265894152852a71e64e8ee

See more details on using hashes here.

File details

Details for the file beadsnum-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: beadsnum-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.13

File hashes

Hashes for beadsnum-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8b0702d9fbb68c173ce3f706100fd2475ed39fa82bd8155694f9c47243752ee
MD5 c6506eac17192d61729a3ccb7fd67a1d
BLAKE2b-256 f2bc3b9df0b73b10a4803cc475e4752839dc13ad968757d85e4928b2af401169

See more details on using hashes here.

Supported by

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