semvec/pypi-packages huggingface dataset:
pysoilmap 0.1.0
Tools for performing Digital Soil Mapping (DSM) with python.
Requires Python: >=3.7
Keywords: DSM,GIS,soil,topography,machine learning,kriging

pysoilmap
=========

|Version| |License| |Docs| |Tests|

Tools for performing Digital Soil Mapping (DSM) with python.

This project aims to provide a high-level user interface and examples for
common tasks related to DSM, accessible through a command line interface or
python APIs. The actual legwork is done by established libraries for numerical
computations, machine-learning, image-processing, geostatistics, projections,
geometries, file-formats, etc. Customized solutions are implemented where
needed or more convenient.

Features
~~~~~~~~

This project has just been initiated, there are no(t many) features yet.

Features so far:

- (none)


Roadmap
~~~~~~~

In the future, we plan on working the following features:

- common interface for several machine learning models for linear
  regression, kriging, regression-kriging, random forests, ...
- computation of several topographic covariates from DEM (curvatures, slope,
  aspect, radiation angle, ...)
- plotting of raster and vector data
- reprojection, resampling
- sampling points from vector datasets
- custom non-stationary GP kernels for DSM
- algorithms for experimental design (DOE)
- 3D terrain survey
- ...?


Links
~~~~~

- Documentation_
- Releases_
- `Source Code`_
- License_
- Tests_

.. _Documentation: https://pysoilmap.readthedocs.io/en/latest/
.. _Releases: https://pypi.python.org/pypi/pysoilmap
.. _Tests: https://github.com/pysoilmap/pysoilmap/actions/workflows/main.yml
.. _Source Code: https://github.com/pysoilmap/pysoilmap
.. _License: https://github.com/pysoilmap/pysoilmap/blob/master/UNLICENSE


Installation
~~~~~~~~~~~~

Once the first release is available, install via:

.. code-block:: python

    pip install pysoilmap


Usage
~~~~~

TBD



.. Badges:

.. |Version| image::    https://img.shields.io/pypi/v/pysoilmap.svg
   :target:             https://pypi.python.org/pypi/pysoilmap
   :alt:                Latest Release

.. |License| image::    https://img.shields.io/pypi/l/pysoilmap.svg
   :target:             https://github.com/pysoilmap/pysoilmap/blob/master/UNLICENSE
   :alt:                License: Unlicense

.. |Docs| image::       https://readthedocs.org/projects/pysoilmap/badge/?version=latest
   :target:             https://pysoilmap.readthedocs.io/en/latest/?badge=latest
   :alt:                Documentation

.. |Tests| image::      https://github.com/pysoilmap/pysoilmap/actions/workflows/main.yml/badge.svg
   :target:             https://github.com/pysoilmap/pysoilmap/actions/workflows/main.yml
   :alt:                Test status
PyPrivate 0.3
Add private/protected/public fields to Python
Requires Python: >=3.9

# Python private

This package is adding [private/protected/public fields](https://en.wikipedia.org/wiki/Access_modifiers) to Python.

**Without PyPrivate:**
```python
class Foo():
	__x = 7 # Private "x"
	def baz(self):
		self.__x += 7

def bar(f, n):
	try:
		getattr(f, n)
	except:
		print('"' + n + '" not found')
	else:
		print('"' + n + '" found')

myfoo = Foo()
myfoo.baz()
bar(myfoo, "__x")     # "__x" not found
bar(myfoo, "_Foo__x") # "_Foo__x" found
```
**With PyPrivate:**
```python
from privatefields import privatefields

@privatefields
class Foo():
	private_x = 7 # Private "x"
	def baz(self):
		self.private_x += 7

def bar(f, n):
	try:
		getattr(f, n)
	except:
		print('"' + n + '" not found')
	else:
		print('"' + n + '" found')

myfoo = Foo()
myfoo.baz()
bar(myfoo, "private_x") # "private_x" not found
print(dir(myfoo)) # no "x"
```

## How to use

PyPrivate is easy to use. To use private/protected fields import "privatefields":
```python
from privatefields import privatefields
```
Next, use it with your classes:
```python
@privatefields
class Foo():
	pass
```
And add prefixes private_/protected_ to your variables/methods names:
```python
self.z           # Public
self.protected_y # Protected
self.private_x   # Private
```

### Friends

You can declare "friend" [classes](https://en.wikipedia.org/wiki/Friend_class)/[functions](https://en.wikipedia.org/wiki/Friend_function). For this add this line to your class:
```python
class Baz(): # This class can use "x"
	pass
class Bar(): # This class can't use "x"
	pass
@privatefields
class Foo():
	friends = [Baz]
	private_x = "Secret data" # Private "x"
```

## What's new

**0.2**
* Added support for removing attributes (__delattr__).
* Replaced error message from "(name) object has no attribute (attribute)" to "attribute (attribute) is private/protected"
* Bugs fixed

**0.3**
* Added suppression of replacing `__attribute` with `_Class__attribute`
* Added flag pythonStyle. This flag replaces `private_` with `__` and `protected_` with `_`
* Bugs fixed

**0.4**
* A global improvement will be added. There will no longer be a need to use the `@privatefields` decorator. All classes will automatically have a private/protected fields system.

**Planned before 0.9**
* Added updated system (beta). Use flag updatedSystem to enable new system.
constant-nums 0.5
Konstant

# Constant
Whenever I think about to make that thing (intenger,float, dataframe , array) constant. it works mostly on all the languages but not in python. So, I decided to create a package for constant numbers like pi and etc. That should be easy. So, here it is.
#### How to use it!
First install library - **pip install constant_nums**

after that, **from constant_nums import final**

basic syntax should be like this only 

 **<constant_name> = final.cons(<unit>,<constant_name>)**

 Now here unit means anything, like int,str,dataframe and array anything. The name of the constant should be same on both the sides. Otherwise it won't be a constant anymore.

Example : **pi = final.cons(3.14, "pi")** and voila it works.

Now, there is already a module available for some default constants like PI, Euler's number etc but not for custom.
You can create your own constants here.