Beads nested number notation package
Project description
beads-nested-number-notation
Test
python -m test
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-1.0.0.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file beadsnum-1.0.0.tar.gz
.
File metadata
- Download URL: beadsnum-1.0.0.tar.gz
- Upload date:
- Size: 3.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f709fa678ac280d8176c444ccd94098c44d08ecdceca02db388c117375605d4c |
|
MD5 | 45b13e9c28779075b0a5216b847a4883 |
|
BLAKE2b-256 | b51af46a674a17543005af8a2ec2b5911eaa776188a7c5ad40dc3ab84d4c03f6 |
File details
Details for the file beadsnum-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: beadsnum-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb9bf0478d2c4e0503a9f13b3e05150b0f13640761ab2d32e5923c4c5d733fe9 |
|
MD5 | 59c58b121ecf9df17a57620bdf54943f |
|
BLAKE2b-256 | aaea60215c329228ac3cc806d58ab7de5a0da50158da958de56fd1722c47e9e5 |