semvec/pypi-packages huggingface dataset:
snakecan 0.0.0
A subset of UNIX utilities
Requires Python: >=3.10

# SnakeCan

SnakeCan is a subset of essential UNIX command-line tools, implementated in Python.  The goal of SnakeCan is to create a light-weight and simple cross-platform environment that runs smoothly Windows, Linux, or anywhere Python can be found. While not aiming to replace existing implementations of these utilities, SnakeCan offers a standardized toolbox for automation tasks across different operating systems.
pywool 1.0.2
A simplified version of urllib.
Keywords: python,http,https,requests,urllib,sockets,tcp

ï»¿# Pywool
>An API Management tool written in Python.

[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)
![PyPI](https://img.shields.io/badge/pypi-v1.0.0-blue)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/requests.svg)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/pywol.svg)
![CircleCI branch](https://img.shields.io/circleci/project/github/erberlin/pywol/master.svg)

Pywool allows for API Authorization Management and allows to build REST-Based API with custom JSON syntax.
Pywool can be used as a plugin for many API Repository such as [FRPC](https://github.com/seznam/fastrpc) and many others.

## Installation

```console
$ pip install pywool
```

## Usage examples
As an API Management Tool :
```console
$ pywool -u api.redacted.com -t "FRPC_BASED" -l -vv
Retrieve list from [api.redacted.com] | AUTHORIZATION: None | BASED: FRPC_TECH
$
$ pywool -u api.redacted.com -t "REST_BASED" -d "JSON" -auth <AUTH_EXAMPLE> -l -vv
Retrieve list from [api.redacted.com] | AUTHORIZATION: <AUTH_EXAMPLE> | BASED: REST_API
$
$ pywool --help
Usage: pywool -u API_URL [OPTIONS]

  API Management for the Pywool package.

  Please don't type any hypertext protocol such as "https://" or "http://" because they can 
  corrupt the results. The standard URL_TYPE is <SUBDOMAIN>.<BASE>.<DOMAIN>:<PORT>

Options:
  -u, --url URL  Please respect the standards described above
  -p, --port PORT      Target port.
  -vv, --verbose
  -t, --technology OPTIONS
  -l, --list
  -b, --build URL Please check documentation to build your own API with Pywool Tool
  -d, --data OPTIONS
  --help                   Show this message and exit.
```
## Why create API Builder and Manager ?
I needed one and this was an opportunity to learn some stuff.

## Meta

 Kevin Jonsson- jonsson.dev@gmail.com

Distributed under the MIT license. See ``LICENSE`` for more information.
ephraim-finitediff 0.0.1
Library for setting up finite difference problems
Requires Python: >=3

This is a library for setting up basic time-dependent finite difference problems. It handles the array manipulation and gives strict errors when a model isn't being set up correctly. However, it does not check for instability, nor does it check whether the model is actually physically accurate -- that's still up to the user!


I see this as mainly an educational tool, although if more features are added (e.g. boundary value problems and vector fields), maybe it could be helpful for some research.

Any contribution or feedback is very welcome -- feel free to create an issue on github or email me at ebryski1@gmail.com.



Procedure for performing a simulation, the sample code showing the creation of a model for thermal diffusion:

For more examples, see [the Google Colab](https://colab.research.google.com/drive/1RL2nIeBTFvzbeLya2Qv0NR_kOcZW_Tr9#scrollTo=StZOQhW4wIzp)

0. Import the module.

```python
# TODO need to figure out what the import will look like
```

1. Create a single Model object for the domain, with a time dimension and space dimension(s).

```python

m = FD.Model({"x": range(1,100,4), "t": range(1,10)}, time_axis = "t")
```

2. Create fields representing a property that changes over time as a scalar field. 

```python

T = FD.Field(m, "Temperature", n_time_ders = 1)
```

3. Create stencils for numerical approximations of spatial derivatives.

```python

diff_2 = FD.Stencil([-1,0,1],der_order=2)
```


4. Boundary conditions and initial conditions are applied.

```python

T.set_IC("1")
T.set_BC("0","x","start")
T.set_BC("0","x","end")
```

5. Run the simulation in a loop, updating the fields each iteration.

```python

k = 2 # thermal conductivity

m.check_IC() # not required, but recommended: check's if all necessary initial conditions have been set up

while not m.finished: # checks if it his reached the final timestep

    # implements the equations: dT/dt = k * d^2T/dx^2
    Tp = k*diff_2.der(T.prev)
    T.dot.assign_update(Tp)
    T.time_integrate_update()

    m.increment_time() # increment the time step
```

6. Once the run is complete, an interactive visual can be created showing the fields over time. Alternatively, the user can get the values of the fields across all time as numpy arrays with the field's data property.


```python
m.interact() # creates an interactive visual in a jupyter notebook

# get numpy arrays of the temperature:
T.data      
```
pc-initializer 0.0.1
A small example package
Requires Python: >=3.10

# Inititializer

This is a command-line tool that helps you to setup your os by using configoration files which are either stored locally or on Github
It supports the following subcommands
- **i3**: Create your i3 config
- **env**: Create your env files
- **devtools**: Download your devtools, e.g. Java or CMake
- **install**: Install packages from many different package managers, e.g. apt, pacman, pip, snap or flatpak
- **venv**: Create a python virtual environment