semvec/pypi-packages huggingface dataset:
calculatorGS 0.4
A calculator package which performs basic operations.
Requires Python: >=3.7

# calculatorGS

The calculatorGS is a state-of-the-art calculator module for Python. It lets you perform calculation tasks
not only by adding or subtracting numbers, but also by using advanced techniques such as multiplication,
division or even taking an nth root of the number.

This is by far not a complete module. Many more features could be included in the future versions. Some
of them are:
* Add more operations, such as exp, ln, sin, cos, etc.
* Tests could be more thorough. Current tests do not check every function. \* Instruction could probably be a bit clearer. Readme file needs some fine tuning.

## An example

```python
> from calculatorGS import Calculator

> calc = Calculator()
> calc.add(8)
> calc.divide(2)
> calc.root(2)
> calc.display()

Current calculator value: 2
```

## Installation

Install calculatorGS module using pip:

```python
python -m pip install calculatorGS
```

## Testing

Testing of the modules requires pytest and hypothesis. Tests can be run after installation with:

```python
pytest test_calculator.py
```

## License

Copyright Holger Krekel and others, 2004.
Distributed under the terms of the MIT license, pytest is free and open source software.
orbiting 0.4
Combines Celestrak.org with a reverse-gecoder

# Orbital
Combines Celestrak.org with an efficient reverse-gecoder


To use make sure that the folder orbiting is in the same directory as your code

For example:
    Users/user/Project/orbiting
    Users/user/Project/ActualCode
    
# Imports
    from orbiting import Satellite, Coordinate
 
# Initializing 
    iss = Satellite(25544) // We do this as it is the Celestrak.org catalog number.
    coord = Coordinates(1.1234, 2.1234) // Latitude goes before longtitude when initializing it. It is the same as writing the pair down.
  
# Get the current lat/long of the satellite
    iss.lat
    iss.long
    
# Get the proper name of the satellite
    iss.name
    
# Get the elsat classificiation of the satellite
    iss.elast_classification
    
# Get the year the satellite launched
    iss.launch_year
    
# Get the current TLE for the satellite
    iss.tle
    
# Get the current elevation of the satellite
    iss.elevation
    
# True if the satellite is currently in the earth's shadow
    iss.is_eclipsed
    
# To get the closest city
    iss.closest_city(accuracy) // Accuracy by default is set to 10. This could take at most 3 seconds depending on the satellites location. Put in a lower accuracy to reduce time. Accuracy can either be a float or int.
    
# To get the closest city of any pair of latitude and longtitude
    coord.closest_city(accuracy) // Accuracy by default is set to 10. This could take at most 3 seconds depending on the satellites location. Put in a lower accuracy to reduce time. Accuracy can either be a float or int.

# Get the difference in km between two latitudes, longtitudes
    coord.distance_between_two_coordinates(lat2, long2) // The lat2 is the latitude of the second pair of coordinates and long2 is the longtitude of the second pair of coordinates.
    
    iss.distance_between_two_coordinates(lat2, long2) // The lat2 is the latitude of the second pair of coordinates and long2 is the longtitude of the second pair of coordinates.