semvec/pypi-packages huggingface dataset:
datasci 0.4.0
Data science utilities
License: MIT
Requires Python: >=3.6

# `datasci`

[![Latest version on PyPI](https://badge.fury.io/py/datasci.svg)](https://pypi.org/project/datasci/)

Install from PyPI:

```sh
pip install datasci
```

Install in development mode:

```sh
pip install -e .
```


## Features

### Jupyter notebook initialization

```pycon
%run -m datasci.notebook.init
```

### Pandas helpers

```python
import pandas as pd
df = pd.DataFrame(...)

from datasci.pandas import drop_na_columns, drop_uninformative_columns
df_without_na = drop_na_columns(df)
df_informative = drop_uninformative_columns(df)

# or, all-together:
df = pd.DataFrame(...).pipe(drop_na_columns).pipe(drop_uninformative_columns)
```


## Testing

```sh
python setup.py test
```


## License

Copyright 2018–2020 Christopher Brown.
[MIT Licensed](https://chbrown.github.io/licenses/MIT/#2018-2020).
bunga 0.51.0
Control and monitor your system.
License: MIT

|buildstatus|_
|coverage|_

Bunga
=====

Control and monitor your system.

Project homepage: https://github.com/eerimoq/bunga

Installation
------------

.. code-block:: python

   $ pip install bunga

The shell subcommand
--------------------

Connect to your system (in this case the `Monolinux example project`_)
and execute the ``df`` command.

.. image:: https://github.com/eerimoq/bunga/raw/master/docs/shell.png

The log subcommand
------------------

Stream logs from your system to your PC.

.. image:: https://github.com/eerimoq/bunga/raw/master/docs/log.png

The plot subcommand
-------------------

Plot any command output over time. The plot below shows the CPU load.

.. code-block:: text

   $ bunga plot cpu

.. image:: https://github.com/eerimoq/bunga/raw/master/docs/plot.gif

Press ``h`` or ``?`` to show the help.

Define plots in ``~/.bunga-plot.json``.

.. code-block:: json

   {
       "cpu": {
           "title": "CPU [%]",
           "command": "cat proc/stat",
           "pattern": "cpu\\s+\\d+\\s+\\d+\\s+\\d+\\s+(\\d+)",
           "algorithm": "delta",
           "interval": 2,
           "timespan": 60
           "scale": -1,
           "offset": 100,
           "y-min": 0,
           "y-max": 100
       },
       "uptime": {
           "title": "Uptime [s]",
           "command": "cat proc/uptime",
           "max-age": 600
       }
   }

The execute subcommand
----------------------

Execute given command, ``ls`` in the example below, and print its
output.

.. code-block:: text

   $ bunga execute ls
   mnt etc proc init root dev

The get_file subcommand
-----------------------

Get a file from your system.

.. code-block:: text

   $ bunga get_file README.rst
   100%|█████████████████████████████████████| 1.19k/1.19k [00:00<00:00, 74.1kB/s]

The put_file subcommand
-----------------------

Put a file on your system.

.. code-block:: text

   $ bunga put_file README.rst
   100%|█████████████████████████████████████| 1.19k/1.19k [00:00<00:00, 24.1kB/s]

.. |buildstatus| image:: https://travis-ci.com/eerimoq/bunga.svg?branch=master
.. _buildstatus: https://travis-ci.com/eerimoq/bunga

.. |coverage| image:: https://coveralls.io/repos/github/eerimoq/bunga/badge.svg?branch=master
.. _coverage: https://coveralls.io/github/eerimoq/bunga

.. _Monolinux example project: https://github.com/eerimoq/monolinux-example-project
cdk-time-bomb 1.53.0
Implode your AWS CDK Stack after set amount of time, save money, be happy!
License: MIT
Requires Python: >=3.6

# cdk-time-bomb

[![npm version](https://badge.fury.io/js/cdk-time-bomb.svg)](https://badge.fury.io/js/cdk-time-bomb)
[![PyPI Version](https://badge.fury.io/py/cdk-time-bomb.svg)](https://badge.fury.io/py/cdk-time-bomb)
![Nuget](https://img.shields.io/nuget/v/cdk-time-bomb)

Implode your AWS CDK Stack after set amount of time, save money, be happy!

## Usage

### JavaScript / TypeScript

In your Typescipt / Javascript AWS CDK project, add the `cdk-time-bomb` module:

```bash
npm install cdk-time-bomb
```

Import the module and instantiate in your CDK Stack class.  Specify a TTL Duration after which time the entire CloudFormation stack will self destroy:

```javascript
import { SelfDestruct} from 'cdk-time-bomb';
const selfDestruct = new SelfDestruct(this, "selfDestructor", {
  timeToLive: Duration.minutes(60)
});
```

Be sure to add an ordering dependency on a high level base Construct in your stack.  For example anchoring `SelfDestruct` to the `Vpc` ensures all resources in the stack will be destroyed prior to destroying itself.

```javascript
const vpc = new ec2.Vpc(this, "VPC", {
});

vpc.node.addDependency(selfDestruct);
```

### Python

Install using pip

```bash
pip install cdk-time-bomb
```

### Java

Follow the [guide for configuring maven for use with Github Packages](https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages).  Then add the following to your project's `pom.xml`

```xml
<dependency>
  <groupId>jmb12686.cdk</groupId>
  <artifactId>timebomb</artifactId>
  <version>1.50.0</version>
</dependency>
```

## How to build this construct

Due to the large amount of dependencies required by jsii, use the docker image `udondan/jsii-publish` to reliably and consistenly build this CDK construct.

```bash
docker run -it \
    --workdir /workdir \
    --volume $(pwd):/workdir \
    --env VERSION=0.3.0 \
    --env BUILD_SOURCE=true \
    --env BUILD_PACKAGES=true \
    --env NPM_TOKEN \
    --env PYPI_TOKEN \
    --env NUGET_TOKEN \
    --env GITHUB_TOKEN \
    --env GITHUB_REPOSITORY="${OWNER}/${REPOSITORY}" \
    udondan/jsii-publish:0.8.3
```