semvec/pypi-packages huggingface dataset:
te 1.0.1
Toggl Entry - CLI REST API client for Toggl
License: MIT
Keywords: toggl cli timesheet entry time tracking

# Toggl Entry (te)

Toggle Entry (te) is a Toggl REST API command line interface (CLI) client. This tool allows quick entries insertion from your terminal - no more tedious mouse-clicking!

For any power user, this will be probably much faster way than inserting entries with the official web/desktop/mobile version of the app. Moreover, it can nicely speed-up bulk editing via shell script edited in your favorite editor. Actually, this is how I am catching up with my timesheets ;-)

![Toggl Entry screenshot](te.png)


## Requirements

* Windows, macOS, Linux, or any Unix-like operating system
* Python 3 + pip (tested with Python 3.7)
* Toggl account + Toggl API token

> You can get the Toggl API token in its web interface from **Profile Settings** (scroll to the bottom).


## Installation

1. Install `te` from PyPI (Python Package Index):

       $ pip3 install te

1. Create a configuration file `.te.ini` in your home directory:

       $ touch ~/.te.ini

1. Set permissions to your configuration file, so nobody but you can read it:

       $ chmod 0600 ~/.te.ini

1. Open the configuration file:

       $ nano  ~/.te.ini

1. Insert this template to the configuration file:

       [general]

       ; Set your timezone here
       timezone = Europe/Prague

       ; Set your API token here
       api_token = ...

1. Adjust the `timezone` and `api_token` in the configuration file and save it.


## Usage

Open your terminal application and try this command:

    $ te 20-01-30 08:00 1h My first task entry

> If no error message is provided and the process gracefully exits, the entry has been successfully inserted. You can check it in the Toggl web app.

You can also use this format to automatically insert the current date:

    $ te - 08:00 120m My first task entry

Also, the separators can be avoided:

    $ te 200130 0800 3h My first task entry

That's it for now and happy Toggl-ing!


## Contributing

Please read [**CONTRIBUTING.md**](https://github.com/hubpav/te/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.


## Versioning

We use [**SemVer**](https://semver.org/) for versioning. For the versions available, see the [**tags on this repository**](https://github.com/hubpav/te/tags).


## Authors

* [**Pavel Hübner**](https://github.com/hubpav) - Initial work


## License

This project is licensed under the [**MIT License**](https://opensource.org/licenses/MIT/) - see the [**LICENSE**](https://github.com/hubpav/te/blob/master/LICENSE) file for details.
AWS-Mage2Connector 0.0.2
Use to connect Magento 2.
License: MIT
Requires Python: >=3.7
Keywords: Magento 2

# AWS-Mage2Connector
=====================

## Synopsis
The python extension is used to connect the Magento 2 with MySQL connection and RESTful API to perform all of the data related functions.

## Configuration

```python
import logging, sys
logging.basicConfig(
	level=logging.INFO
    handlers=[
        logging.StreamHandler(sys.stdout)
    ]
)
logger = logging.getLogger()

from aws_mage2connector import Mage2Connector
setting = {
    "MAGE2DBSERVER": "127.0.0.1",
	"MAGE2DBUSERNAME": "admin",
	"MAGE2DBPASSWORD": "12345abc",
	"MAGE2DB": "mage23ee",
	"MAGE2DBPORT": 10022,
	"VERSION": "EE"
}
mage2Connector = Mage2Connector(setting=setting, logger=logger)
```

#### MAGE2DBSERVER
Magento 2 MySQL DB Server full DNS name or IP address.

#### MAGE2DBUSERNAME
Magento 2 MySQL username.

#### MAGE2DBPASSWORD
Magento 2 MySQL password.

#### MAGE2DB
Magento 2 MySQL database name.

#### MAGE2DBPORT
Magento 2 MySQL database port.

#### VERSION
Magento 2 EE/CE

## Sync Products
```python
sku='abc-111'
attributeSet='Default'
data={
	'status': '1',
	'visibility': '4',
	'tax_class_id': '2',
	'short_description': 'XXXXXXXXXX', 
	'color': 'White', 
	'weight': '1',
	'name': 'XXXXXXXXXX', 
	'description': 'XXXXXXXXXX', 
	'price': '5.0'
}
typeId='simple'
storeId='0'
mage2Connector.syncProduct(sku, attributeSet, data, typeId, storeId)
```

## Related Articles

  * [Google Sheets as PIM for Magento 2](https://ideabosque.github.io/magento2/googlesheets/2019/12/08/Google-Sheets-as-PIM-for-Magento-2/)

Feel free to [create a GitHub issue](https://github.com/ideabosque/AWS-Mage2Connector/issues/new) or [send us an email](mailto:ideabosque@gmail.com) for support regarding this application.