semvec/pypi-packages huggingface dataset:
mptcplib 0.1.3
A Multipath TCP python support library
Requires Python: >=3.7

# mptcplib
![license MIT badge](https://badgen.net/badge/license/MIT/blue)
![tests](https://github.com/mptcp-apps/mptcplib/actions/workflows/tests.yaml/badge.svg)

## About
A Multipath TCP Python library. We encourage users to activate notifications since the library is still in it's early stages and the API may change. Certain functions are available starting from a specific kernel releases, we encourage the user's to check the MPTCP kernel implementation [changelog](https://github.com/multipath-tcp/mptcp_net-next/wiki#changelog).

For a deeper read about Multipath TCP, please consult this [webpage](https://obonaventure.github.io/mmtp-book/).

## Table of content

- Example Usage
- Description
- License

## Example Usage
---
To be able to use the library we encourage to install using [PyPi](https://pypi.org/). Run the following command:
 
```
pip install mptcplib
```
 
Below you can find an example of a typical socket script :
```Python
import mptcplib
import socket 

sock = mptcplib.create_mptcp_socket(socket.AF_INET, socket.SOCK_STREAM):
# Do things ...
if mptcplib.is_socket_mptcp(sock):
    # Do things in case of an MPTCP socket ...
    used_subflows = mptcplib.get_nb_used_subflows(sock)
else:
    # Handle fallback to standard TCP ...
sock.close()
```
 
There are other useful functions i.e : Check if the os supports MPTCP and that it is enabled. We intend to add more functions that are supported by the kernel implementation. 

## Description
---
The library is currently supported on Linux kernels but the goal will be to extend it to MacOS. Below is a table containing operating systems that supports Multipath TCP and their support in mptcplib.

| Operating System | mptcplib support | 
| ----------- | :-----------: |
| Linux based (kernel >= 5.6) | Yes | 
| MacOS (Big Sur, Ventura) | Not yet |

## Contributing
---
Pull requests are more than welcome. For major changes, please open an issue discussing what you would like to change.

To install the library in developper mode run the following command in the root directory:
 
```
make dev-install
```
 
In order to run the tests, you have to first install the library in developper mode then you can follow up with:
 
```
make test
```
## License
---
The repository is under the MIT License, welcoming anybody to play with the codebase.
exampleapp2 0.0.12
short package description
Requires Python: >=3.7


Note: write your logic code in `exampleapp` directory then write your tests file in `tests` directory.
Note: you have to choose suitable package_name because of test.pypi won't accept any repeated package_name.
Note: replace exist links in `project_urls` in `setup.py` with your own links.
Note: fill `requirements.txt` with dependencies that your package need.

## Local Install

Before uploading our package to PyPI we can confirm that our package can be installed via pip install by navigating to our package directory and entering:

```bash
pip install .
```
or 
```bash
pip install -e .
```
if you want make it editable.

This should then install our package like any other package install via pip:



## Build
Once we’ve written our code files, setup configuration, and tested the install — we’re ready to build our package distribution.

The build process creates a new directory `dist` which will contain a `.tar.gz` and `.whl` file — this is what we need to publish our package to PyPI.

To build our `dist` files, we use a tool creatively named `build`. First, we type:
```bash
pip install build
```
then, while in our package directory — type:

```bash
python -m build
```

Once this is complete, we should find a new /dist directory inside our package directory.


## Publish to TestPyPI
Finally, we are ready to publish our new Python package! Again, we make use of another package called `twine`. We install this with:

```bash
pip install twine
```

Once installed, we upload to TestPyPI — a ‘test’ version of PyPI so that we can double-check that we have set everything up correctly. We do this by typing:

```bash
python -m twine upload --repository testpypi dist/*
```

At this point, we’ll need to login to TestPyPI — if you don’t have an account, sign up for one [here](https://test.pypi.org/account/register/). If everything is set up correctly, our package will be uploaded:


Now, we can test that our new package works through another pip install — but this time from TestPyPI:

```bash
pip install -i https://test.pypi.org/simple/ exampleapp
```

(If you find that the package is already installed — just `pip uninstall exampleapp`).


## PyPI
Once we’ve confirmed that the package works — we take our final step, publishing to PyPI. Again, you’ll need to register [here](https://pypi.org/account/register/).

Next, we upload our package to PyPI with:
```bash
python -m twine upload --repository pypi dist/*
```


And we’re done!


That’s our first Python package deployment — it’s surprisingly straightforward. We can go ahead and `pip install exampleapp` to use the package.
databasemigrator 0.0.2
Utility to help migration database, common use for docker containers
Keywords: database,mysql,migrator


## This is a utility to help migrator in database

How to run correctly use docker  container. 

https://hub.docker.com/r/rafaelscone/databasemigrator

To see more about this code go to github
https://github.com/rafaelscone/databasemigrator


You must set the enviroments vars
```
MYSQL_HOST: {url_to_host}
MYSQL_DATABASE: {database_name}
MYSQL_USER: {user}
MYSQL_PASSWORD: {password}
MYSQL_PORT: 3306
ADDITIONAL: {optional_database@password§other_database@password}
```

### Feel free to send me news, bugs and suggestions to this package
Rafael Schneider - rafaelscone
goodbudget-cli 0.2.1
A command line tool for interacting with Goodbudget
Requires Python: >=3.7

# goodbudget_cli

Command line tool to enter transactions into your [Goodbudget](https://goodbudget.com/) account.

## Installation
### Dependencies
- Selenium Chrome Webdriver ([example of installation instructions](https://cloudbytes.dev/snippets/run-selenium-and-chrome-on-wsl2))

### Install with pipx (or pip)
```
$ pipx install goodbudget-cli
```
### Initialize and edit the configuration file
1. Run `gb` to initially create a `~/.config/goodbudget_cli/config.json` file.
2. Edit the `config.json` file to set the `webdriver_path` to the location of your Chrome webdriver.
3. Edit the `config.json` file to set the `Envelopes` using the name of your Goodbudget envelopes using the format of `{ENVELOPE_NAME: [LIST OF ALIASES]}`.
## Usage
To enter an expense:
```
$ gb {Goodbudget household username or email}
```
To enter income:
```
$ gb {Goodbudget household username or email}  --income
```

## Demo
```
$ gb foo@bar.com
Enter your Goodbudget password:
Logging in. Please wait...
Logged in.

Date of transaction (today / yesterday / mm/dd/yyyy): today
Payee: QFC
Amount: 40
Envelope (or type in 'remind'): groceries
Notes (optional):

        Summary of your expense:

            Date: 01/28/2023
            Payee: QFC
            Amount: $40
            Envelope: Groceries (based on your alias of 'groceries')
            Notes: <none>

Is everything correct? (Y/n) Y
Entering expense. Please wait...

Success! Your transaction was entered into Goodbudget.

Do you want to enter another transaction? (Y/n) n

Thank you for using goodbudget_cli! See you next time!
```