semvec/pypi-packages huggingface dataset:
flake8-json 24.4.0
JSON Formatting Reporter plugin for Flake8
License: MIT
Requires Python: >=3.6

Flake8-JSON
===========

This is a plugin for Flake8 that will format the output as JSON. The output of
the default JSON formatter is not pretty-printed. If you'd like the output to
be pretty-printed, use json-pretty instead.

CodeClimate support is also offered through this plugin as of v20.12.0


Installation
------------

.. code-block:: bash

    pip install flake8-json


Usage
-----

.. code-block:: bash

    flake8 --format=json ...

.. code-block:: bash

    flake8 --format=json-pretty ...

.. code-block:: bash

    flake8 --format=codeclimate ...


Competitors
-----------

None that I could find on PyPI


Maintenance Policy
------------------

This project is seeking maintainers. Please open an issue if you're interested
and ensure that you've read the PyCQA's `Code of Conduct`_.


.. _Code of Conduct:
    http://meta.pycqa.org/en/latest/code-of-conduct.html
MongoDBCollectionOperation 0.0.16
A python package for connecting with database.
License: MIT
Requires Python: >=3.7

# `Description:`

mongo-operation is a Python library for simplifying MongoDB operations by providing an easy-to-use interface. This library allows users to perform common MongoDB tasks such as creating a client, database, or collection, as well as inserting records into collections and bulk inserting data from CSV or Excel files.

# `Features:`

MongoClient Creation: Easily create a MongoDB client with a given URL.
Database and Collection Management: Create databases and collections with ease, and automatically handle re-creating them if they already exist.
Insertion Operations: Insert records into MongoDB collections, whether it's a single record or bulk data from CSV or Excel files.


# `Example Usage:`

`python code`

from MongoDB_CRUDE_Operation.mongodb_connect.mongo_crud import  mongo_operation

Initialize MongoDB connection

<div style="background-color:#f4f4f4; padding:10px;">
<pre><code>
client_url = "mongodb://localhost:27017/"
database_name = "mydatabase"
collection_name = "mycollection"

mongo_op = mongo_operation(client_url, database_name, collection_name)


# Insert a single record
record = {"name": "John", "age": 30}
mongo_op.insert_record(record, collection_name)

# Bulk insert data from CSV or Excel file
datafile = "data.csv"
mongo_op.bulk_insert(datafile, collection_name)
</code></pre>
</div>


## `Requirements:`

Python 3.x
pandas
pymongo
ensure






### requirements_dev.txt we use for the testing
It makes it easier to install and manage dependencies for development and testing, separate from the dependencies required for production.

### difference between requirements_dev.txt and requirements.txt

requirements.txt is used to specify the dependencies required to run the production code of a Python project, while requirements_dev.txt is used to specify the dependencies required for development and testing purposes.

### tox.ini
We use if for the testing in the python package testing against different version of the python 

### how tox works tox enviornment creation
1. Install depedencies and packages 
2. Run commands
3. Its a combination of the (virtualenvwrapper and makefile)
4. It creates a .tox


### pyproject.toml
it is being used for configuration the python project it is a alternative of the setup.cfg file. its containts configuration related to the build system
such as the build tool used package name version author license and dependencies

### setup.cfg
In summary, setup.cfg is used by setuptools to configure the packaging and installation of a Python projec

### Testing python application
*types of testing*
1. Automated testing 
2. Manual testing

*Mode of testing*
1. Unit testing
2. Integration tests

*Testing frameworks*

1. pytest
2. unittest
3. robotframework
4. selenium
5. behave
6. doctest

### check with the code style formatting and syntax(coding standard)

1. pylint
2. flake8(it is best because it containt 3 library pylint pycodestyle mccabe)
3. pycodestyle



feel free for contribution
MongoDBCrud-Operation 0.0.13
A python package for connecting with database.
License: MIT
Requires Python: >=3.7

# `Description:`

mongo-operation is a Python library for simplifying MongoDB operations by providing an easy-to-use interface. This library allows users to perform common MongoDB tasks such as creating a client, database, or collection, as well as inserting records into collections and bulk inserting data from CSV or Excel files.

# `Features:`

MongoClient Creation: Easily create a MongoDB client with a given URL.
Database and Collection Management: Create databases and collections with ease, and automatically handle re-creating them if they already exist.
Insertion Operations: Insert records into MongoDB collections, whether it's a single record or bulk data from CSV or Excel files.


# `Example Usage:`

`python code`

from MongoDB_CRUDE_Operation.mongodb_connect.mongo_crud import  mongo_operation

Initialize MongoDB connection

<div style="background-color:#f4f4f4; padding:10px;">
<pre><code>
client_url = "mongodb://localhost:27017/"
database_name = "mydatabase"
collection_name = "mycollection"

mongo_op = mongo_operation(client_url, database_name, collection_name)


# Insert a single record
record = {"name": "John", "age": 30}
mongo_op.insert_record(record, collection_name)

# Bulk insert data from CSV or Excel file
datafile = "data.csv"
mongo_op.bulk_insert(datafile, collection_name)
</code></pre>
</div>


## `Requirements:`

Python 3.x
pandas
pymongo
ensure






### requirements_dev.txt we use for the testing
It makes it easier to install and manage dependencies for development and testing, separate from the dependencies required for production.

### difference between requirements_dev.txt and requirements.txt

requirements.txt is used to specify the dependencies required to run the production code of a Python project, while requirements_dev.txt is used to specify the dependencies required for development and testing purposes.

### tox.ini
We use if for the testing in the python package testing against different version of the python 

### how tox works tox enviornment creation
1. Install depedencies and packages 
2. Run commands
3. Its a combination of the (virtualenvwrapper and makefile)
4. It creates a .tox


### pyproject.toml
it is being used for configuration the python project it is a alternative of the setup.cfg file. its containts configuration related to the build system
such as the build tool used package name version author license and dependencies

### setup.cfg
In summary, setup.cfg is used by setuptools to configure the packaging and installation of a Python projec

### Testing python application
*types of testing*
1. Automated testing 
2. Manual testing

*Mode of testing*
1. Unit testing
2. Integration tests

*Testing frameworks*

1. pytest
2. unittest
3. robotframework
4. selenium
5. behave
6. doctest

### check with the code style formatting and syntax(coding standard)

1. pylint
2. flake8(it is best because it containt 3 library pylint pycodestyle mccabe)
3. pycodestyle



feel free for contribution
discord-drive 0.0.11
Use Google Drive via Discord!
License: MIT
Keywords: Discord, Google Drive


## Usage:
1. Install the library:
   ```
   pip install discord-drive
   ```
2. Follow the official [Google Drive Developer quick-start instructions](https://developers.google.com/drive/api/quickstart/python) to generate your credentials file.
3. Save the credentials file as `credentials.json` in the running directory of your Discord bot.
4. Open Google Drive, go to the directory that you want to root the bot to, and get the link.
   - It should be of format: `https://drive.google.com/drive/folders/folder_id`
5. Create a Discord bot using Pycord, and add the DiscordDrive command suite to it with the following code:
   ```python
   from discord_drive import DriveAPICommands
   bot.add_cog(DriveAPICommands(bot, "<link from step 5>"))
   ```
6. Run the bot, and use `/authenticate` to ensure that DiscordDrive is authorized to access your Google Account.

## Commands:
`/authenticate`: Regenerates the token needed to enable the API. If re-authentication is needed, the bot will DM the caller a link and wait for the authentication code given to the caller by Google\
`/cd <directory>`: Navigates the caller down into a child directory of their current directory. Autocomplete is provided for hints.\
`/download <file> <timeout (optional)> <public (optional)>`: Gives the user the file (or a link) to download the file specified. Files have autocomplete. Timeout defaults to 60 seconds, where the file will then no longer be allowed to be downloaded. Public defaults to False, where no other users can see the file.\
`/ls`: Shows the caller the contents of their current directory.\
`/pwd`: Shows the caller the file path of their current directory.\
`/share <file> <user> <timeout (optional)>`: Sends a specified server member a dm with a file from the caller's current directory. Files and users have autocomplete. Timeout defaults to 60 seconds, where the file will then no longer be allowed to be downloaded.\
`/upload <attachment>`: Uploads a file or zip file to the caller's current directory. Zip files must contain just the files, and no folders, as they will not be read.
aliste 1.0.2
Aliste Smart Home SDK for Python
License: MIT
Requires Python: <4.0,>=3.8

# Aliste Smart Home SDK for Python

### Installation

```
pip install aliste
```

### Get started

```Python
from aliste import AlisteHub, AlisteBroker

# Instantiate a MirAIeHub object
broker = AlisteBroker()

# Instantiate a MirAIeHub object
hub = AlisteHub()

# Intialize the hub (+91xxxxxxxxxx, password, broker)
hub.init(mobile, password, broker)
```
ondilo 0.5.0
A client to access Ondilo ICO APIs
License: MIT
Requires Python: >=3.6

Ondilo ICO
==========

[![PyPi](https://img.shields.io/pypi/v/ondilo.svg)](https://pypi.python.org/pypi/ondilo)
[![PyPi](https://img.shields.io/pypi/l/ondilo.svg)](https://github.com/JeromeHXP/ondilo/blob/master/LICENSE.txt)

A simple client used to access Ondilo ICO APIs.  
Implemented to be used in Home Assistant, but can be used anywhere else.

Install
-------

To install ondilo, run:

    pip install ondilo

Example usage
-------------

Ondilo is using the Authorization Code Grant flow, so each user must be individually authenticated.  
The ```client_id``` and ```client_secret``` are always the same, there is no need to create a specific app on Ondilo side. So they are hard coded. However, if needed, they can also be passed during initialization.   

A very basic implementation could look like:

    from ondilo import Ondilo

    client = Ondilo(redirect_uri="https://example.com/api")
    print('Please go here and authorize,', client.get_authurl())

    redirect_response = input('Paste the full redirect URL here:')
    client.request_token(authorization_response=redirect_response)

    print("Found all those pools: ", client.get_pools())


If the Oauth2 flow is handled externally and a token is already available, one can also use the package this way:  

    from ondilo import Ondilo

    client = Ondilo(token)
    print("Found all those pools: ", client.get_pools())

Available APIs
--------------

More information about the returned objects can be found here: https://interop.ondilo.com/docs/api/customer/v1/


- ```get_pools```: Get list of available pools / spa
- ```get_ICO_details```: Get details of a pool/spa
- ```get_last_pool_measures```: Get the last measures from an ICO
- ```get_pool_recommendations```: Get the list of recommendations from an ICO
- ```validate_pool_recommendation```: Acknowledge a recommendation
- ```get_user_units```: Get user units
- ```get_user_info```: Get user infos
- ```get_pool_config```: Get pool/spa ranges for temperature, pH, ORP, salt and TDS
- ```get_pool_shares```: Get list of users with whom the pool/spa is shared
- ```get_pool_histo```: Get measurements historical data
deshima-rawdata 2024.4.2
DESHIMA raw data and downloader package
License: MIT
Requires Python: <3.13,>=3.9

# deshima-rawdata

[![Release](https://img.shields.io/pypi/v/deshima-rawdata?label=Release&color=cornflowerblue&style=flat-square)](https://pypi.org/project/deshima-rawdata/)
[![Python](https://img.shields.io/pypi/pyversions/deshima-rawdata?label=Python&color=cornflowerblue&style=flat-square)](https://pypi.org/project/deshima-rawdata/)
[![Downloads](https://img.shields.io/pypi/dm/deshima-rawdata?label=Downloads&color=cornflowerblue&style=flat-square)](https://pepy.tech/project/deshima-rawdata)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.10145185-cornflowerblue?style=flat-square)](https://doi.org/10.5281/zenodo.10145185)
[![Tests](https://img.shields.io/github/actions/workflow/status/deshima-dev/rawdata/tests.yaml?label=Tests&style=flat-square)](https://github.com/deshima-dev/rawdata/actions)

DESHIMA raw data and downloader package

## Use of the data

Please contact [@astropenguin](https://github.com/astropenguin) before using the data.

## Download the data

```shell
$ pip install deshima-rawdata
$ deshima-rawdata download <observation ID>
```

See the command help for more information.

```shell
$ deshima-rawdata download --help
```

## List of the data

```shell
$ deshima-rawdata list
```

|   Observation ID | File name                    | Source name   | Observation type   |
|-----------------:|:-----------------------------|:--------------|:-------------------|
|   20171103184436 | cosmos_20171103184436.tar.gz | Saturn        | zscan              |
|   20231108052231 | cosmos_20231108052231.tar.gz | Jupiter       | raster             |
|   20231109015146 | cosmos_20231109015146.tar.gz | Jupiter       | zscan              |
|   20231109060113 | cosmos_20231109060113.tar.gz | Blank sky     | skydip             |
|   20231117042946 | cosmos_20231117042946.tar.gz | Jupiter       | pswsc              |