semvec/pypi-packages huggingface dataset:
pycalendars 0.0.1
A simple library to access your online calendars
Requires Python: >=3.6

# pycalendars

PyCalendars helps you to retrieve events from your Google and ICloud calendars, in python.

## Getting Started

### Google calendar

The google calendar api requires that you create a project in google developer console (https://console.developers.google.com/) and retrieve credentials. 
Depending on what type of application you plan to develop and how you want to use the calendar, you may either want to get credentials for a web / desktop application or for a service account.

### ICloud

ICloud only requires your apple id username and password. However, depending on how your account is configured, you may need to use a 2FA verification code.
nbhub 20.4b2
Publish jupyter notebooks from the command line.
Requires Python: >=3.6
Keywords: jupyter notebook cli sharing

# NbHub ��
[![Build Status](https://travis-ci.org/duarteocarmo/nbhub.svg?branch=master)](https://travis-ci.org/duarteocarmo/nbhub) [![Coverage Status](https://coveralls.io/repos/github/duarteocarmo/nbhub/badge.svg?branch=master&service=github)](https://coveralls.io/github/duarteocarmo/nbhub?branch=master) [![PyPI version shields.io](https://img.shields.io/pypi/v/nbhub.svg)](https://pypi.python.org/pypi/nbhub/) [![Supported Python versions](https://img.shields.io/pypi/pyversions/nbhub.svg)](https://pypi.org/project/nbhub/) [![PyPI downloads](https://img.shields.io/pypi/dm/nbhub.svg)](https://pypistats.org/packages/nbhub) [![GitHub license](https://img.shields.io/github/license/duarteocarmo/nbhub.svg)](https://github.com/duarteocarmo/nbhub/blob/master/LICENSE) [![made with: Vim](https://img.shields.io/badge/made%20with-Vim-019331)](https://github.com/vim/vim) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
<!-- [![nbhub](https://github.com/duarteocarmo/nbhub/raw/master/assets/logo.png)](https://nbhub.duarteocarmo.com) -->

A command-line application for sharing jupyter notebooks to the web. 

*Simple, minimal, hacky.*

**This is alpha! Check the [roadmap](#roadmap) and don't blow up my server.**

## Installation

NbHub requires pyhton 3.6 or newer. 

```bash
$ pip install nbhub
```

I actually recommend you use [pipx](https://github.com/pipxproject/pipx) for installing CLI tools. 

## Usage

Once installed, simply run:

```bash
$ nbhub my_cool_notebook.ipynb
```

After a couple of prompts you will receive a link [like this one](https://nbhub.duarteocarmo.com/notebook/0d856c18).

<!-- 
And here's the CLI in action:

![nbhub](https://github.com/duarteocarmo/nbhub/raw/master/assets/usage.png)
-->
## Contributing

*Note: If you want to develop new features and not sure where to start, just [email me](mailto:duarteocarmo@gmail.com).*

Start by forking this repo.

Install the development dependencies (you probably want to do this in a [virtual environment](https://docs.python-guide.org/dev/virtualenvs/)):

```bash
 $ pip install -r requirements-dev.txt
 ```

Make sure the tests run:

```bash
 $ pytest
 ```

**Bugs and other issues** should be reported [right here](https://github.com/duarteocarmo/nbhub/issues). 

## Roadmap

- [ ] Open source the web server.
- [ ] Date limit on notebooks to be destroyed.
- [ ] Ability to set password on link creation for private notebooks.
- [ ] Improvements to CLI like only accepting notebook format.
- [ ] Web server improvements (auto clean ups, encryption, etc.)
inotify-backup 0.0.1
A Python script to back up file modifications reported by inotify.
Requires Python: >=3.4

# inotify_backup
A Python script to back up file modifications reported by inotify. You can install it with `pip install inotify_backup`.
## Usage
Run it with `python -m inotify_backup watch_dir (Must have trailing slash "\".) backup_dir (Must have trailing slash "/".) wait (The duration between keeping an old backup of the same file in minutes.)`.
bagmanager 0.0.5
A thin wrapper around rosbag.Bag with some convenient methods
Requires Python: >=3.6

# bagmanager

A thin wrapper around rosbag.Bag with some convenient methods

![alt text](https://img.icons8.com/doodle/344/bag-front-view.png "bagmanager logo")

## Installation

```console
pip install bagmanager
```

## Usage

```python
from bagmanager import BagManager
bag_file = '/path/to/bag/file.bag'
bag_manager = BagManager(bag_file=bag_file)

# info about the bag file
print(bag_manager)

# get information about the topic
topic_info = bag_manager.get_topic_info(topic='some_topic', get_header_time=True)
# get_header_time=True is costly but returns a list of timestamps from the messages headers.

# get the timestamp from the message header of the 3rd message
time_header = topic_info['msg_time_list_header'][2]

# get the timestamp from the bag of the 1st message
time_rosbag = topic_info['msg_time_list_rosbag'][0]

# get the number of messages in the topic
number_of_messages_in_topic = topic_info['message_count']

# get the message type of the topic
message_type = topic_info['message_type']

# get the frequency of messages in the topic
frequency = topic_info['frequency']


# get the closest msg from 'another_topic' to a message from 'some_topic'by its 3rd message **header** time
msg = bag_manager.get_closest_message_by_header_time(topic='another_topic', time_header=time_header)

# get the closest msg from 'another_topic' to a message from 'some_topic'by its 1st message **rosbag** time
msg = bag_manager.get_closest_message_by_rosbag_time(topic='another_topic', time_rosbag=time_rosbag)

# get a msg from 'some_topic' by index
msg = bag_manager.get_message_by_index(topic='some_topic', index=number_of_messages_in_topic-1)


# get the number of messages from topics in an interval of times
start_time_rosbag = topic_info['msg_time_list_rosbag'][2]
end_time_rosbag = topic_info['msg_time_list_rosbag'][7]
message_count = bag_manager.get_message_count_in_interval(topics=['some_topic', 'another_topic'], start_time_rosbag=start_time_rosbag, end_time_rosbag=end_time_rosbag)
```

## Development

Create a venv (recommended)

```console
git clone https://github.com/omrirz/bagmanager.git
python -m pip install -r requirements.txt
```

## Test

```console
python -m pytest
```
hg-convert-prcs-extension 2.0.0
PRCS source for the Mercurial convert extension.
Requires Python: >=2.7

# Introduction

The [`convert_prcs` extension][hg-convert-prcs-extension] for [Mercurial][]
enables the [PRCS][] source in the Mercurial [convert extension][].

[hg-convert-prcs-extension]: https://pypi.org/project/hg-convert-prcs-extension/
[PRCS]: http://prcs.sourceforge.net/
[Mercurial]: https://www.mercurial-scm.org/
[convert extension]: https://www.mercurial-scm.org/wiki/ConvertExtension

[![(Issues)](https://img.shields.io/bitbucket/issues/kazssym/hg-convert-prcs-extension.svg)][open issues]

[open issues]: https://bitbucket.org/kazssym/hg-convert-prcs-extension/issues?status=new&status=open

# License

This program is provided under the terms and conditions of the
[GNU General Public License, version 3][GPL-3.0] or any later version.

[![(License)](https://img.shields.io/badge/license-GPL--3.0--or--later-blue.svg)][GPL-3.0]

[GPL-3.0]: https://opensource.org/licenses/GPL-3.0

# Required software

This extension requires the following software:

  - [prcslib](https://pypi.org/project/prcslib/) 2.0 or later.
MongoFileImport 0.1.0
import file to your mongodb database

# MonogoFileImport Instruction


This is a module to help you import json file into monogodb.
## How to install 

```pip install MongoFileImport```


## Using in command
There are 9 argument when you use in the command.

| argument | type |default|desctipyion|
| --- | --- | --- |---|
|--mongourl|str|None|Your monogoDB url, you need to get the python version connection url, like mongodb+srv://username:password@clusterxxxx.mongodb.net/test?authSource=admin&replicaSet=Cluster0-shard-0&readPreference=primary&appname=MongoDB%20Compass&ssl=true
--file|str|None|your file name
|--dir|str|None|your dir name
|--db|str|None|your database name
|--cn|str|None|your collection name



Example 1:
import a folder with json files to your database, the name of collections are the name of the json files.
```
MongoFileImport --mongourl mongodb+srv://username:password@cluster0-xxxxx.mongodb.net --db test --dir d:/Downloads/Dataset_22_March_2020/Dataset_22_March_2020/revisions
```

Example 2:
import a json files to your database, the name of collection is  the name of file
```
MongoFileImport --mongourl mongodb+srv://username:password@cluster0-xxxxx.mongodb.net --db test --file d:/Downloads/Dataset_22_March_2020/Dataset_22_March_2020/revisions/Australian.json
```
Example 3:
import a folder with json file into one collection, the name will be set in --cn 
```
MongoFileImport --mongourl mongodb+srv://username:password@cluster0-xxxxx.mongodb.net --db test --dir d:/Downloads/Dataset_22_March_2020/Dataset_22_March_2020/revisions/ --cn collectionname
```

Example 4:
import a  json file into one collection, the name will be set in --cn 
```
MongoFileImport --mongourl mongodb+srv://username:password@cluster0-xxxxx.mongodb.net --db test --file d:/Downloads/Dataset_22_March_2020/Dataset_22_March_2020/revisions/Australian.json --cn collectionname
```



if you want to know more, please visit : https://github.com/shanzhengliu/MonogdbFileImport