semvec/pypi-packages huggingface dataset:
mobilipy 0.1.11
A mobility analysis package developed at the Swiss Data Science Center
Keywords: python,mobility,gps,trips,first package

# Mobilipy

**Mobilipy** is a mobility analysis package that lets you identify complete trip information (meaning segmentation into trips and activities, mode detection as well as home and work location detection) from raw GPS data. It also enables working with GTFS data. In addition to that, it proposes two ways to make the data more private.

For more information refer to [the official documentation](https://mobilipy.readthedocs.io/en/latest/mobilipy.html#mobilipy-package).

## Installation
```python
pip install mobilipy
```


Below is an example usage of the pipeline:  

## Preparation

```python
from mobilipy import gtfs_helper, legs, mode_detection, poi_detection, plot, preparation, privacy, segmentation, waypointsdataframe

w_df = waypointsdataframe.WaypointsDataFrame(data)
df_prepared = preparation.prepare(w_df)
```

## Segmentation

```python
segments_detected = segmentation.segment(df_prepared)
```

## Mode detection

```python
segments_modes_detected = mode_detection.mode_detection(segments_detected)
```

## Legs

```python
legs_user = legs.get_user_legs(segments_modes_detected, user_id)
```

## Home and work detection

```python
home_location, work_location = poi_detection.detect_home_work(legs_user, df_prepared)
```

## Privacy

```python
obfuscated_df, shifted_home, shifted_work = privacy.obfuscate(w_df, [home, work])
aggregated_data = privacy.aggregate(w_df)
```

## GTFS

```
gtfs_helper.GTFS_Helper(directory='./gtfs/')
```
publiscord 0.0.1
Automatically publish news.

# Publiscord
[![Library-discord.py](https://img.shields.io/badge/Python-3.7-3778ae?logo=Python&logoColor=ffffff)](https://python.org)
[![Main Library-discord.py](https://img.shields.io/badge/Main%20Library-discord.py-fecc34?logo=pypi&logoColor=ffffff)](https://github.com/Rapptz/discord.py)

# Overview
Automatically publish news. Library for discord.py extension.    

# Install
Python 3 or higher is required.    
```cmd
# Linux/OS X
$ python -m pip install -U publiscord

# Windows
> py -3 -m pip install -U publiscord
```    

# Example
Automatically publish news.    
```py
import discord
from discord.ext import commands

intents = discord.Intents.all()
client = discord.Client(intents=intents)
bot = commands.Bot(command_prefix="!", intents=intents)


bot.load_extension('publiscord')


bot.run("token")
```