semvec/pypi-packages huggingface dataset:
combogen 0.1.1
Prefix or Suffix file name with combination
Keywords: python,combination,files,unique,random filename generator,unique prefix suffix


# combogen

  

## Combination generator for filename, either prefix or suffix

  

This function takes 7 arguments:

`generate_combination(nums, fixed_string="", location="middle", isUpper=True, isLower=True, digits=True, specialChar=True)`



  

>  Generates random combination of characters based upon arguments and return fixed_string with combination

Parameters:
---------- 
- nums: int

    Length of random combination

- fixed_string (Optional): str

    default: ""
    
    String in which random combination will be included
    
- location (Optional): str

    default: "start"

    values: "start", "middle", "end"

    Location of fixed string in the combination

- isUpper (Optional): bool

    default: True
    
    Uppercase characters included in the combination

- isLower (Optional): bool

    default: True

    Lowercase characters included in the combination

- digits (Optional): bool

    default: True

    Digits included in the combination

- specialChar (Optional): bool

   default: False

   Special Characters included in the combination


Returns:
---------- 
- str: fixed_string with random combination as per location 

```
    print(generate_combination(4, fixed_string="ABC", location="start"))
        Output: ABCt857
    
    print(generate_combination(4, fixed_string="ABC", location="middle"))
        Output: t8ABC57
    
    print(generate_combination(4, fixed_string="ABC", location="end"))
        Output: t857ABC
```

--
fe507 0.5.2a0
FE507 is a simple yet very powerful, 'batteries included' intuitive package for data analysing.
Requires Python: >=3.8

# FE507

FE507 is a simple yet very powerful, 'batteries included' intuitive package for data analysing.

## How to use?

1. import the `settings` model to configure the `data_dir` where all of your data is located. (Notice: FE507 expects all
   your data to be in `csv` format.)
   ```python
   from fe507 import settings
   settings.data_dir = "./data/"  # you csv files is stored in the directory named `data` in your current directory
   ```
2. Import base classes from the package
   ```python
   from fe507 import Data, DataSource, RateOfReturnType, TimeFrameType
  ```
3. Enjoy.
# fe507

  ```

## Basic Structures

![image-20230109214822500](https://raw.githubusercontent.com/azataiot/images/master/2023/01/upgit_20230109_1673290215.png)

![image-20230109214829790](https://raw.githubusercontent.com/azataiot/images/master/2023/01/upgit_20230109_1673290221.png)

![image-20230109214836543](https://raw.githubusercontent.com/azataiot/images/master/2023/01/upgit_20230109_1673290230.png)

## Examples:

```python
import plotly.express as px
import matplotlib.pyplot as plt

sp500 = Data(DataSource.SP500)
bist100 = Data(DataSource.BIST100)
bistall = Data(DataSource.BISTALL)
gold = Data(DataSource.GOLD)
btceth = Data(DataSource.BTCETH)
exchange_rates = Data(DataSource.EXCHANGE_RATES)

year_range = YearRange(from_year=2015, to_year=2022)

sp = Collection(sp500.data, name="S&P500", currency=USD).get_range(year_range.from_year,
                                                                   year_range.to_year).get(on="Index")
b1 = CurrencyAwareCollection(bist100, exchange_rates, name="BIST100", currency=TRY).get_range(year_range.from_year,
                                                                                              year_range.to_year).get(
    on="IndexUSD")
ba = CurrencyAwareCollection(bistall, exchange_rates, name="BISTALL", currency=TRY).get_range(year_range.from_year,
                                                                                              year_range.to_year).get(
    on="IndexUSD")
gd = Collection(gold.data, name="Gold", currency=USD).get_range(year_range.from_year,
                                                                year_range.to_year).get(on='Price ($/t oz)')
btc = Collection(btceth.data, name="Bitcoin", currency=USD).get_range(year_range.from_year,
                                                                      year_range.to_year).get(on='Bitcoin')

g = CollectionGroup([sp, b1, ba, gd, btc])

ror_sp_w = sp.frequency(WEEK).ror()
ror_b1_w = b1.frequency(WEEK).ror()
ror_ba_w = ba.frequency(WEEK).ror()
ror_gd_w = gd.frequency(WEEK).ror()
ror_btc_w = btc.frequency(WEEK).ror()

g_ror_d = CollectionGroup([ror_sp_w, ror_b1_w, ror_ba_w, ror_gd_w, ror_btc_w])
```
PyTextWriter 0.2
Python text engine which prints text to the console complete with animations, colors, and ASCII art!
Requires Python: >=3.6

Python text engine which prints text to the console complete with animations, colors, and ASCII art!

# Installation
``pip import pytextwriter``

# Dependencies and Requirements
PyTextWriter relies on a [Art](https://github.com/sepandhaghighi/art) which is automatically handled. This does mean that any functions that relie on Art might not function as intended due to compatability issues. The required version of Python is 3.6 and newer.

# Contribute
To contribute to the project, please visit the [GITHUB](https://github.com/Ollielab/PyTextWriter/tree/main)