semvec/pypi-packages huggingface dataset:
emotion-description 0.1
A Python package for emotion description using neural networks
Requires Python: >=3.6

# emotion_description

emotion_description is a Python project that detects the emotion of text utilizing a neural network.


## Installation

```bash
pip install pandas
pip install numpy
pip install seaborn
pip install matplotlib
pip install nltk
pip install scikit-learn
pip install tensorflow
pip install keras
pip install pickle 
```

## Usage

```python
python main.py
```

## Contributing
Contributions to this project were made by Ankith Manchale and Debanshu Ganguly. Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.


## Liscence
Ankith License with Attribution

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software with attribution to the author, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

Attribution to the author must be prominently displayed in any
publications, distributions, or derivative works of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
octk 0.1.0
Oakley's Common Toolkit
Keywords: oakley, common, toolkit, octk, miscellaneous, directory structure

# octk

## Utilities

### `uniquify`
Given a file path, `uniquify` will return a unique file path by appending a number to the file name if necessary.

```shell
example_dir
├── foo.txt
└── bar
    └── baz.txt
```

```python
from octk import uniquify

uniquify('example_dir/foo.txt')
# 'example_dir/foo(1).txt'

uniquify('example_dir/bar')
# 'example_dir/bar(1)'

uniquify('example_dir/bar.txt')
# 'example_dir/bar.txt'
```

### `pytree.FileTree`
Created to work around the fact that Windows' `tree` does not allow you to exclude folders or filter files by extension.

```python
from octk import FileTree

tree = FileTree('example_dir')
tree.print_tree()
```

```shell
example_dir
├── foo.txt
└── bar
    └── baz.txt
```

### `make_draft_email()`
Given the basic information of an email (i.e. subject, content, & recipients), `make_draft_email()` will create a valid `.eml` file that can be opened and sent by an email client.

```python
from octk import make_draft_email

make_draft_email(
    out_path='out/folder/example.eml',
    subject='Hello, World!',
    content='This is a test email.',
    recipients=['example@hello.com']
)
```
```
store-dir-content 0.1
A CLI tool to read files and extract content based on extensions.
Requires Python: >=3.6

# store-dir-content

`store-dir-content` is a CLI tool to read files with specific extensions in multiple directories and write their contents to an output file. It supports ignoring specific folders and respecting `.gitignore` files.

## Features

- Read files with specified extensions from multiple directories
- Option to ignore specified folders
- Option to respect `.gitignore` files
- Outputs the contents to a single file with clear dividers between files

## Installation

To install `store-dir-content`, use `pip`:

```bash
pip install store-dir-content
```

## Usage

You can use `store-dir-content` from the command line:

```bash
store-dir-content [directories] [-e file_extensions] [-o output_file] [-i ignore_folders] [--respect_gitignore]
```

### Arguments

- `directories`: One or more directories to search for files.
- `-e, --file_extensions`: Comma-separated list of file extensions to include (default: `.txt`).
- `-o, --output_file`: Path of the output file where the results will be written (default: `output.txt`).
- `-i, --ignore_folders`: Comma-separated list of folder names to ignore.
- `--respect_gitignore`: Respect `.gitignore` files in the directories.

### Examples

#### Basic Usage

```bash
store-dir-content ./dir1 ./dir2
```

This command reads all `.txt` files in `./dir1` and `./dir2`, writing their relative paths and contents to `output.txt`.

#### Custom File Extensions and Output File

```bash
store-dir-content ./dir1 ./dir2 -e .txt,.md -o my_output.txt
```

This command reads all `.txt` and `.md` files in `./dir1` and `./dir2`, writing their relative paths and contents to `my_output.txt`.

#### Ignoring Specific Folders

```bash
store-dir-content ./dir1 ./dir2 -e .txt,.md -o my_output.txt -i folder1,folder2
```

This command reads all `.txt` and `.md` files in `./dir1` and `./dir2`, excluding any files in `folder1` and `folder2`, and writes their relative paths and contents to `my_output.txt`.

#### Respecting `.gitignore`

```bash
store-dir-content ./dir1 ./dir2 -e .txt,.md -o my_output.txt --respect_gitignore
```

This command reads all `.txt` and `.md` files in `./dir1` and `./dir2`, respecting the `.gitignore` rules, and writes their relative paths and contents to `my_output.txt`.

## Development

To contribute to `store-dir-content`, follow these steps:

1. Clone the repository:

    ```bash
    git clone https://github.com/yourusername/store-dir-content.git
    ```

2. Navigate to the project directory:

    ```bash
    cd store-dir-content
    ```

3. Install the package in editable mode with the development dependencies:

    ```bash
    pip install -e .[dev]
    ```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.