semvec/pypi-packages huggingface dataset:
co-geo 0.0.1
Python library for 2d/3d coordinate geometry
License: MIT
Keywords: co-geo geometry coordinate-geometry math evaluate calculate

# co-geo
Python library to solve 2d/3d coordinate geometry

[![utnamtte](https://img.shields.io/badge/PyPi-0.0.1-3670A0?style=for-the-badge&logoColor=ffdd54)](https://pypi.org/project/co-geo/)


**Installation**


    pip install co-geo

## Requirements
```python
pip install utnamtte

```

## Ways to import

Method 1

```python
import co-geo
print(co-geo.area_3d(...))
```


Method 2

```python
from co-geo import area
print(area(...))
```

Method 3

```python
from co-geo import area as xy
print(xy(...))
```

## Centroid_2d
```python
# Centroid_2d(x1, y1, x2, y2, x3, y3)
a = co-geo.Centroid_2d(0, 2,  3, 7, 6, 3)
print("x coordinate:",a.x)
print("y coordinate:",a.y)
```
```python
Output: 3
        4
```

## Centroid_3d
```python
# Centroid_3d(x1, y1, z1, x2, y2, z2, x3, y3, z3)
a = co-geo.Centroid_3d(0, 2, 11, 3, 7, 4, 6, 3, 6)
print("x coordinate:",a.x)
print("y coordinate:",a.y)
print("z coordinate:",a.z)

```
```python
Output: 3
        4
        7
```

## Orthocentre_2d
```python
# Orthocentre_2d(x1, y1, x2, y2, x3, y3)
a = co-geo.Orthocentre_2d(2,5,2,8,14,5)
print("x coordinate:",a.x)
print("y coordinate:",a.y)
```
```python
Output: 2
        5
```
## Orthocentre_3d
```python
# Orthocentre_3d(x1, y1, z1, x2, y2, z2, x3, y3, z3)
a = co-geo.Orthocentre_3d(2, -5, -3, 2, 7, -3, 14, -5, 6)
print("x coordinate:",a.x)
print("y coordinate:",a.y)
print("z coordinate:",a.z)

```
```python
Output: 2
       -5
       -3

```


▶️  [Package's YouTube tutorial here](https://www.youtube.com/playlist?list=PLZchMekN22UmCqi9sCEEoAYBPsNvQrvBU)



Change Log
==========

0.0.1 (17/06/2023)
------------------
- First Release
digital-unit 1.6b1
number and units
License: MIT
Keywords: SOME,MEANINGFULL,MATH

# 包 digital_unit 1.6b1
（language：Chinese）

这是一个有关**数据的单位**的包,如长度、面积、体积等，可以用它来表示一个数量的单位
使用示例
``` python
from digital_unit import CentiMeter,MilliMeter, Number


if __name__ == '__main__':
    _1cm = Number(1.0, CentiMeter()) # Create the data. Don't forget the parentheses!
    print(_1cm)
    _1cm.change_unit(MilliMeter()) # Changes to the unit. Don't forget the parentheses!
    print(_1cm)
```
使用`Number(NUMBER, UNIT())`来创建实例，使用`XXX.change_unit(NEWUNIT())`来修改单位。
## 1.6b1版本新增
修改了导入方式。

## 1.6b1版本修正
无

# package digital_unit 1.6b1
(language: English)

This is **a unit of data** related to packages, such as length, area, volume, etc., it can be used to represent a number of units
Use the sample
```python
from digital_unit import CentiMeter, MilliMeter, Number

if __name__ == "__main__" :
_1cm = Number(1.0,CentiMeter()) # Create the data. Don 't forget the parentheses.
print(_1cm)
_1cm.Change_unit(MilliMeter()) #Changes to the unit. Don 't forget the parentheses.
print(_1cm)
```
Using ` Number(NUBER, UNIT()) ` to create an instance, use ` XXX.Change_unit(NEWUNIT ()) ` to modify the UNIT

## Added in version 1.6b1
Modified the import method.

## Corrected in version 1.6b1
None