semvec/pypi-packages huggingface dataset:
bidamic-challenge 1.0.1
A python package for calculating ROAS
License: MIT

# <font color=darkgreen>BIDAMIC READ ME CODING CHALLENGE</color>

There are several methods that can be used in the bidamic.py file. These include:

- get_processed_df
- show_arr
- show_data
- get_columns
- save_csv_file
- search_multi_word_term
- search_one_word_term

### Steps on how to use Bidamic python package
1. Ensure you have the coding_challenge_data.csv file
2. Put the string path of the coding_challenge_data.csv file, into Bidamic(file_path), and create an instance.
3. Instance, b = Bidamic(file_path)
4. Using search_one_word_term method. This allows only 1 word used to search for in the .csv file.
5. Say you type in "spiderman", then a .csv file is generated with a timestamp as its file name, and stored in:

 =====> processed/currency/search_terms/timestamp

6. The search_multi_word_term allows for multiple words, e.g. "spiderman suit". This will generate a .csv file with the ROAS calculated only for rows where both "spiderman" and "suit" were contained in the search term column of the coding_challenge_data.csv file.


### Dependencies
- NumPy
- Pandas
- OS






### Recommended packages to use with Bidamic.py

- Matplotlib for data visualization
- Reportlab to generate PDF reports
- Flask for creating an interactive web site
- Flask-SQLAlchemy to store the data in a database as opposed to a csv file.


```python

```
nepse-api 1.1.12
This is a API wrapper for NEPSE API.
License: MIT
Requires Python: >=3.7,<4.0

# NEPSE API Wrapper

This python module fetches the data from [Nepali Stock Site](https://newweb.nepalstock.com/) and provides them in a pythonic
and usable way.


## About

This is a API wrapper for NEPSE API. This project was inspired from [PyPi Nepse](https://github.com/pyFrappe/nepse). 

## Documentation

There is a detailed guide in my documentation page for getting started and installing.
[Documentation](https://nepse-api.readthedocs.io/)

## How to use?

You can use this by package from [Nepse API PyPi](https://pypi.org/project/nepse-api/)
```sh
pip install nepse-api
```

## Why use this?

How is this better than [PyPi Nepse](https://github.com/pyFrappe/nepse)?
- It is asynchronous.
- Data can be taken as attributes rather than from dict.
- Data is fetched from the API rather than scraping the site.
- Data is cached 

## APIs used

The APIs that I used to create this API wrapper is:
- https://newweb.nepalstock.com/api/

## How to use?

```py
import asyncio
import httpx
from nepse import Client


async def main():
    company_Symbol = input('Input Company Symbol (Uppercase): ')

    # Doing this is optional you can directly
    # Initialize using `client = Client()` as well
    async with httpx.AsyncClient() as async_client:
        # Initializes the client
        client = Client(httpx_client=async_client)

        # Gets the data
        data = await client.security_client.get_company(symbol=f"{company_Symbol}")

        # Prints the highest price for that company today
        print(f'High Price of {company_Symbol}: ', data.high_price)
        print(f'Low price of {company_Symbol}: ', data.low_price)
        print(f'Open Price of {company_Symbol}: ', data.open_price)

# Run the function
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```

## Why are the attributes so in-costistent?

The attribues are in-consistent because the attributes are set according to the response set by the API. 
I tried changing it up but that would be distruptive because the comability with the API would be broken. 

## Want To Contribute?

You can send a pull request or open an issue to contribute.
Check out [Code Of Conduct](CODE_OF_CONDUCT.md) before contributing.