s6r-hubspot
Installation
pip install s6r-hubspot
Usage
from s6r_hubspot import HubspotConnection
hubspot = HubspotConnection('your_access_token')
owners = hubspot.get_owners()
Unit tests
To run unit_test file, you need to set up a token of an empty hubspot base in an environnement variable name HUBSPOT_TOKEN:
export HUBSPOT_TOKEN='your_token'
You can find a test token in Bitwarden : "s6r-hubspot Test Instance"
Tests in Odoo
To test locally the library in Odoo, generate the .whl:
python -m build --wheel
in Dockerfile_test :
COPY docker/s6r_hubspot-1.1.0-py3-none-any.whl /tmp/s6r_hubspot-1.1.0-py3-none-any.whl
RUN pip3 install /tmp/s6r_hubspot-1.1.0-py3-none-any.whl
Rebuild the image:
docker compose build
License
This project is licensed under the GNU Lesser General Public License (LGPL) Version 3.
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
- GitHub Repository: ScalizerOrg/s6r-hubspot
Contributors
Maintainer
This software is maintained by Scalizer.
Metadata
Release files for s6r-hubspot 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| s6r_hubspot-1.1.3.tar.gz | 22.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| s6r_hubspot-1.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.3 kB
Release files / s6r_hubspot-1.1.3.tar.gz
| Download URL | s6r_hubspot-1.1.3.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f99e94c9758b110f020904df46a9b4d35c9afeef82164510c28cb6bdd5e84efc
|
|
BLAKE2b-256 checksum How to use checksums |
66d54dd02408e9e4b0a34d9a19394e3c079411bcf6e3cc4ce2eb4ebb4fbc1cb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Release files / s6r_hubspot-1.1.3-py3-none-any.whl
| Download URL | s6r_hubspot-1.1.3-py3-none-any.whl |
|---|---|
| Size | 23.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
086657b6f8133b2c358d5d26c72fe468dd5cddbcc79aa0b7c8789019fb1a7ed7
|
|
BLAKE2b-256 checksum How to use checksums |
ddbc80329a91a7a89c145f2560fa99b799788b95fade407915c6efee01f40eed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|