Code Monkey home page Code Monkey logo

bdshare's Introduction

Gmail LinkedIn Connect Quora Follow

Hi there ๐Ÿ‘‹

Top Langs Github Stats

bdshare's People

Contributors

rochi88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bdshare's Issues

Unable to import

Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

ร— python setup.py egg_info did not run successfully.
โ”‚ exit code: 1
โ•ฐโ”€> [6 lines of output]
Traceback (most recent call last):
File "", line 36, in
File "", line 34, in
File "/tmp/pip-install-9acher1p/bdshare_548cd89fc4094f6b8529e85e116222a6/setup.py", line 8, in
with open('CHANGELOG.md') as history_file:
FileNotFoundError: [Errno 2] No such file or directory: 'CHANGELOG.md'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

ร— Encountered error while generating package metadata.

pe funtion not working

pe funtion not working

from bdshare import get_latest_pe
import pandas as pd

def test_get_latest_pe():
try:
# Fetch the latest P/E data
pe_data = get_latest_pe()

    if pe_data is None:
        print("No data received from get_latest_pe()")
        return
    
    # Display the fetched data
    print("Latest P/E Data:")
    print(pe_data)
    
    # Optionally, save the data to a CSV file
    df = pd.DataFrame(pe_data)
    df.to_csv("latest_pe_data.csv", index=False)
    print("Data saved to latest_pe_data.csv")
    
except Exception as e:
    print(f"An unexpected error occurred: {e}")

Run the test

test_get_latest_pe()
used this code to test on google colab
shows error msg An unexpected error occurred: 'NoneType' object has no attribute 'find_all'

Unable to install bdshare using pip

I receive this error in my terminal when I input the command to install:

mehedino@Mehedis-MacBook-Air ~ % pip install bdshare
Collecting bdshare
Using cached bdshare-0.3.1.tar.gz (9.5 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

ร— python setup.py egg_info did not run successfully.
โ”‚ exit code: 1
โ•ฐโ”€> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/private/var/folders/xm/8ry6wwvs46j571rz9wjfrmyh0000gn/T/pip-install-w8uyijj8/bdshare_d15ac9ca74284ed092dc03a6ce97d804/setup.py", line 8, in
with open('CHANGELOG.md') as history_file:
FileNotFoundError: [Errno 2] No such file or directory: 'CHANGELOG.md'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

ร— Encountered error while generating package metadata.
โ•ฐโ”€> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.