GET_jakdojade
Jakdojade URL generator
Based on jakdojade documentation
Usage
import datetime
from get_jakdojade import generate
print(generate(
city='warszawa',
from_name='Your home',
from_coordinate_latitude='52.275222',
from_coordinate_longitude='20.914578',
to_name='My shop',
to_coordinate_latitude='52.211184',
to_coordinate_longitude='20.984775',
date_time=datetime.datetime(2021, 12, 28, 9, 00),
is_arrival=True,
))
You can use date_time exchangeable with date and time parameters for convenience.
Search now
To search now you need to provide:
from_coordinate_latitudefrom_coordinate_longitudeto_coordinate_latitudeto_coordinate_latitudedate_timeor (dateandtime)prepare_search=Falsethis is default
When searching now, user will be directed to result page instead of search form.
Places name
Field from_name and to_name can be anything you want if coordinates provided.
For example: dating app can use:
from_name=You and to_name=Date in cinema and point current user location and cinema nearby.
Error handling
By default, url will be generated even if some parameters are missing. If you want to not generate URL when
configuration are insufficient (for example: you want search now but, you do not provide date_time), you can pass
strict=True then InsufficientParameters will be raised.
Release
- Change version in setup.py to
x.y.z.dev0(or leave if minor version bump) and ensure changelog is up to date. (Nothing changed yet.is not ok, CI will fail) - Tag head of master branch with
x.y.zwithout.dev0
Important: release ALWAYS is from master branch! So keep master untouched when you want to release.
Metadata
Release files for get-jakdojade 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| get_jakdojade-0.0.2.tar.gz | 4.9 kB | Without provenance | Details for get_jakdojade-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| get_jakdojade-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for get_jakdojade-0.0.2-py3-none-any.whl |
Total release size: 9.8 kB
Release files / get_jakdojade-0.0.2.tar.gz
| Download URL | get_jakdojade-0.0.2.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eafbb29ccdc6ed15bbf46615b5ef8f36862524f37c8745f0752ff3cae2f0adad
|
|
BLAKE2b-256 checksum How to use checksums |
74dcef56f3ea2fc653240902d9dd9a13d0dca277e53641abb5cbb3749e2d101a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Release files / get_jakdojade-0.0.2-py3-none-any.whl
| Download URL | get_jakdojade-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7fd617c7332f68e841985fcc49794b7482f21a8f35a337893e49ce52d5b9aad
|
|
BLAKE2b-256 checksum How to use checksums |
967db932b77f53a7c284430d48594cb8792653fe920d11fd527fc8ed35b14bce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Security for get-jakdojade 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.