Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ffc4f45
Bump to version 3.12.2.
msitt Mar 5, 2019
211d77a
Bump to v3.13.0
msitt Apr 16, 2019
fa41c64
Bump to v3.13.1.
msitt Jul 11, 2019
8242b2e
Bump to v3.14.0
msitt May 25, 2020
5ac3d27
Bump to v3.15.2
msitt Dec 9, 2020
f2da1b3
Bump to v3.16.1
msitt Jan 31, 2021
357dd45
Bump to v3.16.2
msitt Jul 27, 2021
eb49361
Bump to v3.16.5
msitt Jul 27, 2021
bebcf43
Bump to v3.17.1
msitt Dec 13, 2021
516f966
Bump to v3.18.0
msitt Apr 22, 2022
631e13d
Bump to v3.18.2
msitt Aug 10, 2022
b5b65ed
Bump to v3.18.3
msitt Aug 10, 2022
5933c56
Bump to v3.19.1
msitt Dec 6, 2022
015faff
Bump to v3.19.3
msitt Feb 8, 2023
ec021c4
Bump to v3.20.1
msitt Jul 19, 2023
d6c43b9
v3.21.0
msitt Jun 27, 2024
9070af6
v3.23.0
msitt Jun 27, 2024
b1e0c03
v3.23.1
msitt Jun 27, 2024
c200da6
v3.24.2
msitt Jun 27, 2024
1b36884
v3.24.4
msitt Jun 27, 2024
f026588
v3.24.6
msitt Jan 23, 2025
f37f0fb
v3.24.10
msitt Jan 23, 2025
1abccf9
v3.24.11
msitt Jan 23, 2025
b8b51f4
add github action to auto update
msitt Mar 24, 2025
67b18b5
v3.25.1
invalid-email-address Mar 25, 2025
f7191a2
v3.25.2.3
invalid-email-address Mar 25, 2025
8ceb166
v3.25.3
invalid-email-address Apr 9, 2025
edbe8bf
v3.25.4.1
invalid-email-address May 14, 2025
cbe95b8
v3.25.5.1
invalid-email-address Jun 12, 2025
bc9ad92
v3.25.7.1
invalid-email-address Jul 25, 2025
5b24299
v3.25.8.1
invalid-email-address Sep 24, 2025
b19b5c5
v3.25.9.1
invalid-email-address Oct 15, 2025
0bf7db1
v3.25.10.1
invalid-email-address Nov 14, 2025
8a72102
v3.25.11.1
invalid-email-address Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions .github/workflows/mirror_bbg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Update repo

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
check-blpapi:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get latest version from GitHub releases
id: latest_version
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
LATEST_TAG=$(gh release list --limit 1 --json tagName --jq '.[0].tagName' || echo "")
if [ -z "$LATEST_TAG" ]; then
LATEST_TAG="v0.0.0"
fi
echo "LATEST_TAG=${LATEST_TAG}" >> $GITHUB_ENV
echo "Latest version: $LATEST_TAG"

- name: Fetch versions from Bloomberg
id: fetch_versions
run: |
AVAILABLE_VERSIONS=$(curl -s https://blpapi.bloomberg.com/repository/releases/python/simple/blpapi/ | \
grep -oP '(?<=blpapi-)[0-9]+\.[0-9]+\.[0-9]+(?:\.[0-9]+)?(?=\.tar\.gz)' | sort -V | uniq)

echo "Available versions:"
echo "$AVAILABLE_VERSIONS"

echo "AVAILABLE_VERSIONS<<EOF" >> $GITHUB_ENV
echo "$AVAILABLE_VERSIONS" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV

- name: Process new versions
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
LAST_VERSION=${LATEST_TAG#v}
echo "Last version: $LAST_VERSION"

while read -r NEW_VERSION; do
if [ "$(printf "%s\n%s" "$LAST_VERSION" "$NEW_VERSION" | sort -V | tail -n1)" != "$LAST_VERSION" ]; then
echo "Processing version $NEW_VERSION..."

# Download and extract the source archive
FILE_NAME="blpapi-${NEW_VERSION}.tar.gz"
URL="https://blpapi.bloomberg.com/repository/releases/python/${FILE_NAME}"
echo "Downloading $URL..."
curl -fsSL "$URL" -o "$FILE_NAME"
tar -xzf "$FILE_NAME" --strip-components=1
rm "$FILE_NAME"

# Commit changes
git config user.name "github-actions"
git config user.email "github-actions@github.com"
git add .
git commit -m "v${NEW_VERSION}"
git tag "v${NEW_VERSION}"
git push --atomic origin master "v${NEW_VERSION}"

# Create a GitHub release
echo "Creating new release v${NEW_VERSION}"
gh release create "v${NEW_VERSION}" --title "v${NEW_VERSION}"

LAST_VERSION=$NEW_VERSION
fi
done <<< "$(echo "$AVAILABLE_VERSIONS")"
23 changes: 23 additions & 0 deletions License.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
All files Copyright 2012 Bloomberg Finance L.P.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this proprietary software and associated documentation files (the "Software"),
to use, publish, or distribute copies of the Software, and to permit persons to
whom the Software is furnished to do so.

Any other use, including modifying, adapting, reverse engineering, decompiling,
or disassembling, is not permitted.

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



7 changes: 7 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include README.md changelog.txt License.txt
exclude pyproject.toml

recursive-include examples *.py README.md diagram.png
recursive-exclude examples/demoapps-internal *

prune cpp-licenses
234 changes: 0 additions & 234 deletions NOTES

This file was deleted.

18 changes: 12 additions & 6 deletions PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
Metadata-Version: 1.1
Metadata-Version: 2.4
Name: blpapi
Version: 3.9.2
Summary: Python SDK for Bloomberg BLPAPI (<=3.9)
Version: 3.25.11.1
Summary: Python SDK for Bloomberg BLPAPI
Home-page: http://www.bloomberglabs.com/api/
Author: Bloomberg L.P.
Author-email: open-tech@bloomberg.net
License: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: License :: Other/Proprietary License
Classifier: Topic :: Office/Business :: Financial
Requires-Python: >=3.8
License-File: License.txt
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary
Loading