semvec/pypi-packages huggingface dataset:
meta-api-python 0.1.0
Python wrapper to the various APIs in Meta Platform

# meta_api_python

Python Wrapper to various APIs from [Meta Platform](https://developers.facebook.com/docs/messenger-platform).

## Features

### Send API (v16.0)
 - Send text messages
 - Send Media from a remote file (image, audio, video, file)
 - Send Action 
 - Send quick replies
 - Send buttons
 - Send Generic Messages



## Prerequisite
- **Python 3.7+** installed
- You'll need to setup a [Meta App](https://developers.facebook.com/apps/), Facebook Page, get the Page Access Token and link the App to the Page.

## How to install
### From GitHub
```bash
pip install git+https://github.com/santoshdahal2016/meta-api-python.git
```
### From Pypi
Package from Pypi.org may not be the latest one, if you want the latest version of this package, install it from the GitHub repository (see above)
```bash
pip install meta-api-python
```


## Usage
### Send API
```python
from meta.api.api import Api
from meta.api.messages.text_message import TextMessage



api = Api(page_access_token=<page_access_token>)

text_message = TextMessage(text="Hi, How are you?")
response = api.send_messages(to= <recipient_id>, messages=text_message)

```
**Note**: From Facebook regarding Receipt  IDs

> These ids are page-scoped. These ids differ from those returned from Meta Login apps which are app-scoped. You must use ids retrieved from a Messenger integration for this page in order to function properly.


##### Sending a generic template message:

> [Generic Template Messages](https://developers.facebook.com/docs/messenger-platform/implementation#receive_message) allows you to add cool elements like images, text all in a single bubble.

```python
from metapython import Api

from metapython.api.consts import ButtonType
from metapython.api.messages import ElementMessage, ElementsMessage, ButtonMessage, ButtonsMessage


api = Api(page_access_token=<page_access_token>)

# Generic Message
elements = ElementsMessage()

web_link_button = ButtonMessage(button_type=ButtonType.WEB_URL, title="Visit Diyo Website")
web_link_button.set_url(<url>)

element1 = ElementMessage(
    buttons=[web_link_button],
    image_url="https://moneymitra.com/static/image/moneymitra-logo.png",
)
elements.add_element(element1)

phone_number_button = ButtonMessage(button_type=ButtonType.PHONE_NUMBER, title="Call me")
phone_number_button.set_payload("XXXXXXXXXXX")
element2 = ElementMessage(
    buttons=[phone_number_button],
    image_url=<image_url>,
)
elements.add_element(element2)

response = api.send_messages(to= <recipient_id>, messages=elements)
```
scrapbook-ext 0.0.0a2
Extensions for scrapbook
Requires Python: >=3.6

# scrapbook-ext
Extensions for [scrapbook](https://github.com/nteract/scrapbook)

## TODOs
- dill encoder

## Directory
- (internal) `.gitignore`
	... specifies the files to be ignored by [`git`](https://github.com/git/git) \
	... generated by the following command:
	```bash
	curl --parallel --location https://github.com/github/gitignore/raw/HEAD/{Python,Global/{Linux,Windows,macOS,Vim,SublimeText,VisualStudioCode}}.gitignore > .gitignore
	```
pythonfilemover 0.4.1
Move files with ease.
Keywords: python,move files,modify files,windows,windows 10,windows 11



![alt text](https://i.imgur.com/z1ogxT9.png)
## Version 0.3.0
[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)

This program provides a simple way to move massive amounts of files from one directory to another directory without having to manually go into your directories and move each file one by one. With PythonFileMover all you have to do is open up your command line and run our simple commands to move your files around on your computer with ease.  You can move massive amounts of files

Move massive amounts of files, either by extension(i.e. .txt ) or folder(i.e. WorkFiles) from one directory(I.E. C:/) to another directory (I.E. D:/) with only a few lines. Save yourself time from having to constantly copy and paste the files and get back to doing more important things!


## Features
- Move files from Directory A to Directory B with only a few commands.
- Move entire folders from Directory A to Directory B.

## Commands
Interactive Mode:
Please download the code from our Github then launch the program using 'python main.py'. You will then be lead to our very intuitive interactive mode! From the interactive mode you can do the following:
- ✨ Move large amounts of folders from Directory A to Directory B: `--move-files`
- ✨ Move large amounts of files from Directory A to Directory B: `--move-folders`


## Installation
The program currently must be build in order to run it. In addition, it is currently only tested for Windows PCs
- Step 1: Install Python 3+
- Step 2: Ensure you have the following dependencies installed(: os, shutil, typer, time, tkinter)
- Step 2: Download the recent release from Github.
- Step 3: Open a command line or powershell as an administrator on your Windows PC.
- Step 4: Navigate to the directory where the source code is stored and run `python main.py`. You will then open the interactive mode and be able to run the codes specified!

## Contribute
### Want to contribute to active issues and feature requests?
The project maintainer of this project is very eager to accept work from open source contributors! Please take a look at our issues tab to see what issues or features that the maintainer has listed as a program need. You can then reach out through comments to offer assistance on that feature or submit a pull request.
### Want to report bugs or ask for additional features?  
Thank you for thinking of an idea or reporting a bug. You can place your idea or enhancement idea into our issues tab for consideration. All bug reports are appreciated along with enhancement ideas.