rochi88 / bdshare Goto Github PK
View Code? Open in Web Editor NEWA utility for crawling historical and Real-time Quotes data from Dhaka Stock Exchange (DSE)
License: MIT License
A utility for crawling historical and Real-time Quotes data from Dhaka Stock Exchange (DSE)
License: MIT License
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
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}")
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'
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.