semvec/pypi-packages huggingface dataset:
AX3-EmailBackend 0.0.1
A Django app to send emails using Huey tasks

# AX3 EmailBackend

AX3 EmailBackend A Django app to send emails using Huey tasks

## Installation
AX3 EmailBackend is easy to install from the PyPI package:

```
$ pip install ax3-email-backend
```

After installing the package, the project settings need to be configured.
add `ax3_email_backend` to your `INSTALLED_APPS`

`INSTALLED_APPS += [ax3_email_backend]`
## Configuration
Add email backend settings
``` 
# app/settings.py
EMAILBACKEND = 'AX3EmailBackend'
AX3_EMAIL_BACKEND = # Django EmailBackend that does the actual sending // Optional - Default smtp (django)
AX3_RETRIES =  # Maximun number of times to retry // Optional - Default 3
AX3_DELAY = # Time in seconds between attemps // Optional - Default = 600
```
pytools-ca 1.0.0
Just a collection of useful tools to make coding a bit easier.
Requires Python: >=3.6

# PyTools

Just a collection of useful tools.

## Features

* `nil`  & `null` ::

Shorthand values for for the `None` boolean value.

* `buildFunc(name='unnamed', param=[], func=['pass'], \*\*kwargs)` & `buildClass` ::

Functions that will build dynamically named and defined functions and classes respectively.
	
	buildFunc(
		name='a_function',
		param=[
			'value_1',
			'value_2'
		],
		func=[
			'a_variable = value_1 + value_2',
			'print(a_variable)'
		],
 		)

* `doLoggedAction(action='pass', log='Logged!', iterateMethod='set', logToScreen=True, logFile=None)` ::

Executes a block of code and logging it either on the screen or in a file.
Set `logToScreen` to False to only print to a file, and pass a path to a file as `logFile`
to log the code to the file.

	doLoggedAction(
		action='print(\'Hello World!\')',
		log='Printed!'
		)

	doLoggedAction('print(\'Hello World!\')', 'Printed!')

* clear() ::

Clears the screen regardless of what system is used.

	clear()

* `systemCheck(acceptedMachinesList=['Windows', 'Darwin', 'Linux'])` ::

Makes sure the machine the program is run on can properly run the program.

	systemCheck(['Windows', 'Linux'])

* `replaceLine(file, line, newText)` ::

Takes in a path to a file, the number of the line you want to change in the file, and the string you want to change it to.

	replaceLine('../text_files/a_file.txt', 3, 'This is a .txt file!')

* `lineBreakdown` ::

A class with multiple related functions in it.
	
	lineBreakdown().{METHOD}({PARAMETERS})

`length(origText, maxLength)` -

Takes a long string and breaks it down into a list of strings that conform to specified length requirements.

	lineBreakdown('Yesterday, I had work from 9:00 AM to 5:00 PM, and then I had to visit the grocery store.', 10) =>

	['Yesterday,', 'I had work', 'from 9:00', 'AM to 5:00', 'PM, and', 'then I had', 'to visit', 'the', 'grocery', 'store']

	lineBreakdown('Cardiovascular', 10) =>

	['Cardiovas-', 'cular']

`raw(line)` -

Removes the '\n' at the end of a string if it exists, this is meant for quickly iterating through a file.

	lineBreakdown().raw('Hello World!\n') =>

	'Hello World!'

	lineBreakdown().raw('Hello World!') =>

	'Hello World!'

`list(line)` -

Breaks down a line into a list of string that were previously joined by a '\n'.

	lineBreakdown().list('To-do List:\n- Water the plants.\n- Exercise.\n- Go to the grocery store for bread and milk.') =>

	['To-do List:', '- Water the plants.', '- Exercise.', '- Go to the grocery store for bread and milk.']
pytools-cmplxapps 1.0.0
Just a collection of useful tools to make coding a bit easier.
Requires Python: >=3.6

# PyTools

Just a collection of useful tools.

## Features

* `nil`  & `null` ::

Shorthand values for for the `None` boolean value.

* `buildFunc(name='unnamed', param=[], func=['pass'], \*\*kwargs)` & `buildClass` ::

Functions that will build dynamically named and defined functions and classes respectively.
	
	buildFunc(
		name='a_function',
		param=[
			'value_1',
			'value_2'
		],
		func=[
			'a_variable = value_1 + value_2',
			'print(a_variable)'
		],
 		)

* `doLoggedAction(action='pass', log='Logged!', iterateMethod='set', logToScreen=True, logFile=None)` ::

Executes a block of code and logging it either on the screen or in a file.
Set `logToScreen` to False to only print to a file, and pass a path to a file as `logFile`
to log the code to the file.

	doLoggedAction(
		action='print(\'Hello World!\')',
		log='Printed!'
		)

	doLoggedAction('print(\'Hello World!\')', 'Printed!')

* clear() ::

Clears the screen regardless of what system is used.

	clear()

* `systemCheck(acceptedMachinesList=['Windows', 'Darwin', 'Linux'])` ::

Makes sure the machine the program is run on can properly run the program.

	systemCheck(['Windows', 'Linux'])

* `replaceLine(file, line, newText)` ::

Takes in a path to a file, the number of the line you want to change in the file, and the string you want to change it to.

	replaceLine('../text_files/a_file.txt', 3, 'This is a .txt file!')

* `lineBreakdown` ::

A class with multiple related functions in it.
	
	lineBreakdown().{METHOD}({PARAMETERS})

`length(origText, maxLength)` -

Takes a long string and breaks it down into a list of strings that conform to specified length requirements.

	lineBreakdown('Yesterday, I had work from 9:00 AM to 5:00 PM, and then I had to visit the grocery store.', 10) =>

	['Yesterday,', 'I had work', 'from 9:00', 'AM to 5:00', 'PM, and', 'then I had', 'to visit', 'the', 'grocery', 'store']

	lineBreakdown('Cardiovascular', 10) =>

	['Cardiovas-', 'cular']

`raw(line)` -

Removes the '\n' at the end of a string if it exists, this is meant for quickly iterating through a file.

	lineBreakdown().raw('Hello World!\n') =>

	'Hello World!'

	lineBreakdown().raw('Hello World!') =>

	'Hello World!'

`list(line)` -

Breaks down a line into a list of string that were previously joined by a '\n'.

	lineBreakdown().list('To-do List:\n- Water the plants.\n- Exercise.\n- Go to the grocery store for bread and milk.') =>

	['To-do List:', '- Water the plants.', '- Exercise.', '- Go to the grocery store for bread and milk.']
code2graph 0.0.5
A package for creating directed graph from python files
Requires Python: >=3.6

# Code2graph
This repo contains a project for creating a directed graph from python files in a specific destination. The code2graph generates a dot files that can be visualized by Graphviz (or any other application). If you want code2graph also can generate an svg/png file but if your host machine doesn't have enough memory it will face problems to visualize huge projects. 

Each node in the graph is a function in the python files and it points to all other functions/libraries that have been used in that function. 

## NOTE:
This project has been tested only on Linux and not on Windows or Mac.

# Installation
This program has been published as a [pip package](https://pypi.org/project/code2graph/) and can be installed via below command:
```bash
pip install code2graph
```

# Usage
```bash
$ code2graph.py -h
Usage:
    test.py PATH [ --svg] [ --png] [--scope=<SCP>]
    test.py [ -h | --help ]
    test.py -v

Arguments:
    PATH                The path to directory that you want to generate its graph. This can be the root of a project and code2graph will recursively finds all the python files there or just any directory containing python files. Note: the path must end with "/" for example:("/home/guest/workspace/")

Options:
    -h --help           Show this screen
    --svg               Generates an svg file in addition to the dot files
    --png               Generates a png file in addition to the dot files
    --scope=<SCP>       Defines the scope of the generating graph:
                        file --> graph (dot file + svg/png) will be created only for each python file and will be saved with the same name and at the same path of the file
                        project --> graph (dot file + svg/png) will be created only for the whole project (PATH) and single graphs will not be created for each python file
                        all --> both will be generated [default: all]
    -v                  Version

# Example usage:
$ code2graph.py /home/user/workspace/code2graph/sample_graph/ --png --scope all
```
The above example usage will generate one dot file and one png file for each python file in the `sample_graph` directory and in addition to that it will also generate one dot file and one png file for all the python files in that directroy which you can see here as an example:
![c2g-project](c2g-project.png)